Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all 22171 articles
Browse latest View live

MSP430F2618: Problem with DAC12_0DAT

$
0
0

Part Number:MSP430F2618

Hello

I am trying to replace the old MSP430F1611 with a MSP430F2618.

I am using ImageCraft IDE for ICC430 with NoICE430.

From the old code i was using seems everything to work as intended after small modifications but i can't get to work the DAC12_0DAT It's compyling but the level doesn't change.

I reduced my code to leave only the DAC12_0DAT part of it and it's still not working.

I am now trying to get this code to work :

#include <msp430x26x.h>									 // MSP430F155 Bibliothek

int main(void)
{  
  
  WDTCTL = WDTPW + WDTHOLD;                 			 // Watchdog ausschalten
  

  BCSCTL1 = CALBC1_16MHZ;
  DCOCTL = CALDCO_16MHZ;

  ADC12CTL0 = REF2_5V + REFON;           				 // Interne 2.5V Referenz ein
  DAC12_0CTL = DAC12IR + DAC12AMP_5 + DAC12ENC;			 // Interne Referenz Verstärkung = 1
  DAC12_0DAT = 1500;

  while(1)
  {   
	   	if(DAC12_0DAT>4000) 
		{
			DAC12_0DAT=0;
		}
		DAC12_0DAT=DAC12_0DAT+1;
  }
  return 0;
}

But the only thing i get is a 2,355 V output.

Thanks,

Simon


MSP432E401Y: Firmware Update through Ethernet

$
0
0

Part Number:MSP432E401Y

Hi 

I am working with MSP432E401Y for a project which should have the remote firmware update feature.

I have analyzed the bootloader examples in the SDK.

I want to test run them so that I can understand how the examples are working.

But as I ran the  boot_emac_flash_app_magicpacket_update_MSP_EXP432E401Y_nortos_ccs example, nothing happened, no play button appeared neither any message is displayed in tera term.

How should I run this example?

Linux/MSP430G2553: Connect MSP430G2553 to Jetson TX2 (ARM)

$
0
0

Part Number:MSP430G2553

Tool/software: Linux

Hi all

I am new to MSP430G2553. These days I am working on connecting MSP4302553 to Jetson TX2(ubuntu 16.04 ) with SPI interface. The MSP430G2553 is Slave and Jetson TX2 is master

Here is my question:

1. I tried to use 3-wire spi slave mode without SET, I am not sure whether my code is right for configuration of SPI. The master SPI of Jetson TX2 part is SPI MODE 0 which is CPOL=0, CPHA=0. I have tired the demo code " msp430g2xx3_usci_spi_standard_slave", and I did some change, here below will show details. Also I will put the linux code part.

2. Pls help me check if I use 3-wire SPI mode, whether the hardware connection is right(without Chip select):

Jetson TX2                                                           MSP430G2553

MOSI                                                               || P1.2 (UCA0SIMO)

MISO                                                               || P1.1 (UCA0SOMI)

SCLK                                                               || P1.4 (UCA0CLK)

3. The configuration of master SPI is 8bits,1MHz,mode_0, LSB first.  The configuration of Slave SPI is 3-pin, slave mode ,UCCKPH,UCMSB,UCSYNC. I am confused that whether the SYNC mode is  necessary.

4.Here below is MSP430G2553 code:

//******************************************************************************
// MSP430G2xx3 Demo - USCI_A0, SPI 3-Wire Slave multiple byte RX/TX
//
// Description: SPI master communicates to SPI slave sending and receiving
// 3 different messages of different length. SPI slave will enter LPM0
// while waiting for the messages to be sent/receiving using SPI interrupt.
// ACLK = NA, MCLK = SMCLK = DCO 16MHz.
//
//
// MSP430G2553
// -----------------
// /|\ | P2.2|<- Master's GPIO (Chip Select)
// | | |
// ---|RST RST |<- Master's GPIO (To reset slave)
// | |
// | P1.2|<- Data In (UCA0SIMO)
// | |
// | P1.1|-> Data Out (UCA0SOMI)
// | |
// | P1.4|<- Serial Clock In (UCA0CLK)
//
// Nima Eskandari
// Texas Instruments Inc.
// April 2017
// Built with CCS V7.0
//******************************************************************************

#include <msp430.h>
#include <stdint.h>

//******************************************************************************
// Example Commands ************************************************************
//******************************************************************************

#define DUMMY 0xFF


/* CMD_TYPE_X_SLAVE are example commands the master sends to the slave.
* The slave will send example SlaveTypeX buffers in response.
*
* CMD_TYPE_X_MASTER are example commands the master sends to the slave.
* The slave will initialize itself to receive MasterTypeX example buffers.
* */

#define DEV_ID 0x01
#define DEV_ACC 0x02
#define DEV_REALTIME 0x03

#define TYPE_0_LENGTH 1
#define TYPE_1_LENGTH 2
#define TYPE_2_LENGTH 6

#define MAX_BUFFER_SIZE 6

/* MasterTypeX are example buffers initialized in the master, they will be
* sent by the master to the slave.
* SlaveTypeX are example buffers initialized in the slave, they will be
* sent by the slave to the master.
* */


uint8_t SlaveType2 [6];
uint8_t SlaveType0 [1];

//******************************************************************************
// General SPI State Machine ***************************************************
//******************************************************************************

typedef enum SPI_ModeEnum{
SPI_TX_REG_ADDRESS_MODE,
SPI_RX_REG_ADDRESS_MODE,
SPI_TX_DATA_MODE,
SPI_RX_DATA_MODE,
SPI_TIMEOUT_MODE
} SPI_Mode;

/* Used to track the state of the software state machine*/
SPI_Mode SlaveMode = SPI_RX_REG_ADDRESS_MODE;

/* The Register Address/Command to use*/
uint8_t ReceiveRegAddr = 0;

/* ReceiveBuffer: Buffer used to receive data in the ISR
* RXByteCtr: Number of bytes left to receive
* ReceiveIndex: The index of the next byte to be received in ReceiveBuffer
* TransmitBuffer: Buffer used to transmit data in the ISR
* TXByteCtr: Number of bytes left to transfer
* TransmitIndex: The index of the next byte to be transmitted in TransmitBuffer
* */
uint8_t ReceiveBuffer[MAX_BUFFER_SIZE] = {0};
uint8_t RXByteCtr = 0;
uint8_t ReceiveIndex = 0;
uint8_t TransmitBuffer[MAX_BUFFER_SIZE] = {0};
uint8_t TXByteCtr = 0;
uint8_t TransmitIndex = 0;

/* Initialized the software state machine according to the received cmd
*
* cmd: The command/register address received
* */
void SPI_Slave_ProcessCMD(uint8_t cmd);

/* The transaction between the slave and master is completed. Uses cmd
* to do post transaction operations. (Place data from ReceiveBuffer
* to the corresponding buffer based in the last received cmd)
*
* cmd: The command/register address corresponding to the completed
* transaction
*/
void SPI_Slave_TransactionDone(uint8_t cmd);
void CopyArray(uint8_t *source, uint8_t *dest, uint8_t count);
void SendUCA0Data(uint8_t val);

void SendUCA0Data(uint8_t val)
{
while (!(IFG2 & UCA0TXIFG)); // USCI_A0 TX buffer ready?
UCA0TXBUF = val;
}

void SPI_Slave_ProcessCMD(uint8_t cmd)
{
ReceiveIndex = 0;
TransmitIndex = 0;
RXByteCtr = 0;
TXByteCtr = 0;

// tx2 上可以用到的cmd指令
switch (cmd)
{
case (DEV_ID): //Send slave device id (This device's id)
SlaveMode = SPI_TX_DATA_MODE;
TXByteCtr = 1;
//Fill out the TransmitBuffer
//CopyArray(SlaveType0, TransmitBuffer, 1);
TransmitBuffer[0] = 0xAD;
//Send First Byte
SendUCA0Data(TransmitBuffer[TransmitIndex++]);
//TXByteCtr--;
break;

case (DEV_ACC): //Send slave device acc value xyz 6-byte
SlaveMode = SPI_TX_DATA_MODE;
TXByteCtr = 6;
//Fill out the TransmitBuffer
CopyArray(SlaveType2, TransmitBuffer, 6);
//Send First Byte
SendUCA0Data(TransmitBuffer[TransmitIndex++]);
TXByteCtr--;
break;

case (DEV_REALTIME): //Send slave device real time clock
SlaveMode = SPI_TX_DATA_MODE;
TXByteCtr = 1;
//Fill out the TransmitBuffer
CopyArray(SlaveType0, TransmitBuffer, 1);
//Send First Byte
SendUCA0Data(TransmitBuffer[TransmitIndex++]);
TXByteCtr--;
break;

default:
__no_operation();
break;
}
}


void SPI_Slave_TransactionDone(uint8_t cmd)
{
switch (cmd)
{
case (DEV_ID): //Slave device id was sent(This device's id)
break;
case (DEV_ACC): //Slave device time was sent(This device's time)
break;
case (DEV_REALTIME): //Send slave device location (This device's location)
break;
default:
__no_operation();
break;
}
}

void CopyArray(uint8_t *source, uint8_t *dest, uint8_t count)
{
uint8_t copyIndex = 0;
for (copyIndex = 0; copyIndex < count; copyIndex++)
{
dest[copyIndex] = source[copyIndex];
}
}

//******************************************************************************
// Device Initialization *******************************************************
//******************************************************************************

void initClockTo1MHz()
{
if (CALBC1_1MHZ==0xFF) // If calibration constant erased
{
while(1); // do not load, trap CPU!!
}
DCOCTL = 0; // Select lowest DCOx and MODx settings
BCSCTL1 = CALBC1_1MHZ; // Set DCO
DCOCTL = CALDCO_1MHZ;
}

void initGPIO()
{
//SPI Pins
P1SEL = BIT1 + BIT2 + BIT4;
P1SEL2 = BIT1 + BIT2 + BIT4;
}

void initSPI()
{
UCA0CTL1 = UCSWRST; // **Put state machine in reset**
UCA0CTL0 |= UCMSB+UCCKPH+UCSYNC+UCMODE_2; // 4-pin, 8-bit SPI Slave,LSB
UCA0CTL1 &= ~UCSWRST; // **Initialize USCI state machine**
IE2 |= UCA0RXIE; // Enable USCI0 RX interrupt
IE2 |= UCB0TXIE;

}

//******************************************************************************
// Main ************************************************************************
// Enters LPM0 and waits for SPI interrupts. The data sent from the master is *
// then interpreted and the device will respond accordingly *
//******************************************************************************

int main(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer
while (!(P1IN & BIT4)); // If clock sig from mstr stays low,
// it is not yet in SPI mode
initClockTo1MHz();
initGPIO();
initSPI();

__bis_SR_register(LPM0_bits + GIE); // Enter LPM4, enable interrupts
__no_operation();
return 0;
}


//******************************************************************************
// SPI Interrupt ***************************************************************
//******************************************************************************

#if defined(__TI_COMPILER_VERSION__) || defined(__IAR_SYSTEMS_ICC__)
#pragma vector=USCIAB0RX_VECTOR
__interrupt void USCI0RX_ISR (void)
#elif defined(__GNUC__)
void __attribute__ ((interrupt(USCIAB0RX_VECTOR))) USCI0RX_ISR (void)
#else
#error Compiler not supported!
#endif
{
if (IFG2 & UCA0RXIFG)
{
unsigned char uca0_rx_val = UCA0RXBUF;

switch (SlaveMode)
{
case (SPI_RX_REG_ADDRESS_MODE): //INIT STATE MACHINE STATUS
ReceiveRegAddr = uca0_rx_val;
SPI_Slave_ProcessCMD(ReceiveRegAddr);
break;
case (SPI_RX_DATA_MODE):
ReceiveBuffer[ReceiveIndex++] = uca0_rx_val;
RXByteCtr--;
if (RXByteCtr == 0)
{
//Done Receiving MSG
SlaveMode = SPI_RX_REG_ADDRESS_MODE;
SPI_Slave_TransactionDone(ReceiveRegAddr);
}
break;
case (SPI_TX_DATA_MODE):
if (TXByteCtr > 0)
{
SendUCA0Data(TransmitBuffer[TransmitIndex++]);
TXByteCtr--;
}
if (TXByteCtr == 0)
{
//Done Transmitting MSG
SlaveMode = SPI_RX_REG_ADDRESS_MODE;
SPI_Slave_TransactionDone(ReceiveRegAddr);
}
break;
default:
__no_operation();
break;
}
}

}

5. Here below is Jetson TX2 code:

/*
* SPI testing utility (using spidev driver)
*
* Copyright (c) 2007 MontaVista Software, Inc.
* Copyright (c) 2007 Anton Vorontsov <avorontsov@ru.mvista.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License.
*
* Cross-compile with cross-gcc -I/path/to/cross-kernel/include
*/

#include <stdint.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/types.h>
#include <linux/spi/spidev.h>

#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))

static void pabort(const char *s)
{
perror(s);
abort(); // abort()是使异常程序终止,同时发送SIGABRT信号给调用进程
}

static const char *device = "/dev/spidev4.0";
static uint8_t mode;
static uint8_t bits = 8;
static uint32_t speed = 48000000;
static uint16_t delay;

static void transfer(int fd)
{
int ret;
uint8_t tx[] = {0x31, 0x32};
uint8_t rx[ARRAY_SIZE(tx)] = {0, }; //the comma here doesn't matter, tested by Tom Xue
struct spi_ioc_transfer tr = {
.tx_buf = (unsigned long)tx,
.rx_buf = (unsigned long)rx,
.len = ARRAY_SIZE(tx),
.delay_usecs = delay,
.speed_hz = speed,
.bits_per_word = bits, //important, bits = 8 means byte transfer is possible
};

ret = ioctl(fd, SPI_IOC_MESSAGE(1), &tr);
if (ret < 1)
pabort("can't send spi message\n");

printf("the received data is below:\n");
for (ret = 0; ret < ARRAY_SIZE(tx); ret++) { //print the received data, by Tom Xue
if (!(ret % 6))
puts("");
printf("%.2X ", rx[ret]);
}
puts("");
}

int main(int argc, char *argv[])
{
int ret = 0;
int fd;

fd = open(device, O_RDWR);
if (fd < 0)
pabort("can't open device\n");

/*
* spi mode
*/
ret = ioctl(fd, SPI_IOC_WR_MODE, &mode);
if (ret == -1)
pabort("can't set spi mode\n");

ret = ioctl(fd, SPI_IOC_RD_MODE, &mode);
if (ret == -1)
pabort("can't get spi mode\n");

/*
* bits per word
*/
ret = ioctl(fd, SPI_IOC_WR_BITS_PER_WORD, &bits);
if (ret == -1)
pabort("can't set bits per word\n");

ret = ioctl(fd, SPI_IOC_RD_BITS_PER_WORD, &bits);
if (ret == -1)
pabort("can't get bits per word\n");

/*
* max speed hz
*/
ret = ioctl(fd, SPI_IOC_WR_MAX_SPEED_HZ, &speed);
if (ret == -1)
pabort("can't set max speed hz\n");

ret = ioctl(fd, SPI_IOC_RD_MAX_SPEED_HZ, &speed);
if (ret == -1)
pabort("can't get max speed hz\n");

printf("open device: %s\n", device);
printf("set spi mode: %d\n", mode);
printf("set bits per word: %d\n", bits);
printf("set max speed: %d Hz (%d MHz)\n", speed, speed/1000000);

transfer(fd);

close(fd);

return ret;
}

Many thanks

Lee

 

MSP430F67641A: SD24_B: how much accuracy is proven when the readings are accumulated? (not single reading)

$
0
0

Part Number:MSP430F67641A

Hello,
Are there evidences which prove higher ENoB or effective bits by the MSP430 SD24_B and firmware post calculation?
We would be glad if there are proven cases which realized, like 18bit, 20, or more accuracy.

References:

MSP430F6721A: What is the highest noise free bits of MSP430F6721's 24 bit Delta-Sigma ADC SD24_B
https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/628442
   --- This thread shows 16.7bits.

MSP430F67641A: SD24_B accuracy translation to ENoB or Effective bits
https://e2e.ti.com/support/microcontrollers/msp430/f/166/p/807313/2988788#2988788
   --- My previous thread.

The SD24_B has a bit SD24SNGL.
I expected we can clear the bit for "continuous", accumulate many readings, and obtain a better ENoB,
like 20bits, although I could not find any articles which encourages such the accumulation.

RTOS/MSP432E401Y: mqtt client blocks http server

$
0
0

Part Number:MSP432E401Y

Tool/software: TI-RTOS

Hi all,

I want to run a http server in parallel to a mqtt client on the MSP432E401 using the simplelink sdk. I used these examples to combine into one project:

  • SimpleLink MSP432E4 SDK-SysConfig Preview-Network Services-httpserver
  • SimpleLink MSP432E4 SDK-SysConfig Preview-Network Services-mqttclient

Both threads start as planned, but the mqtt client now blocks the http server. No access to http is possible.

Doing a suspend in the debugger reveals that the MCU is locked in this loop (see yellow below) in mqtt_client_app.c in function "mainThread":

...

 while (1)
    {
        gResetApplication = false;
        topic[0] = SUBSCRIPTION_TOPIC0;
        topic[1] = SUBSCRIPTION_TOPIC1;
        gInitState = 0;
        /* Connect to AP                                                      */
        gApConnectionState = Mqtt_IF_Connect();
        gInitState |= MQTT_INIT_STATE;
        /* Run MQTT Main Thread (it will open the Client and Server)          */
        Mqtt_start();
        /* Wait for init to be completed!!!                                   */
        while (gInitState != 0)
        {
            Display_printf(display, 0, 0, ".");
            sleep(1);
        }
        Display_printf(display, 0, 0, ".");
        while (gResetApplication == false);
        Display_printf(display, 0, 0,
                "TO Complete - Closing all threads and resources");
        /* Stop the MQTT Process                                              */
        Mqtt_Stop();
        Display_printf(display, 0, 0, "reopen MQTT # %d  ", ++count);
    }

...

I changed the marked code to:

while (gResetApplication == false) {
     TaskSleep(50);
}

This seems to help, but is this intended? Is there a better way to do it? If TaskSleep is the way to go, is there a recommended value for the delay parameter?

Thanks & best regards,
Christian Seidel

TIDM-GBD-ROBUST: Is there any software with C code ?

$
0
0

Part Number:TIDM-GBD-ROBUST

Dear  all

      I want to use this reference degsin for my new project, could you share me software with C code ? I check the software, it is assembly language.

USB 3.0 Controller

$
0
0

Hello,

Does TI has incorporated USB 3.0 in any one of their microcontrollers?

Regards,

Anna

MSP430F2370: Programming custom board

$
0
0

Part Number:MSP430F2370

Hi,

I have a custom board based on MSP430F2370 and TRF7970. The design is based on TI's Ultra-Low Power Card Presence Detection & NFC/RFID Reader reference. Below is the diagram of my 6x2 JTAG on the board and want to know how can I program it ?

Also when I build the example code of NFC reader for MSP430F2370& TRF7970 I'm getting the below error.(I'm using the CCS 9.0.1)

"This project was created using a version of compiler that is not currently installed - 4.1.2 [MSP430]. See 'Help > Install New Software' and select 'Code Generation Tools Updates' to check if this compiler is available through a CCS update. Visit <a href="liveaction:OpenAppCenter">CCS App Center</a> to get the latest compiler support. Or <a href="software-dl.ti.com/.../a> and install the compiler, then register it with CCS through 'Preferences > CCS > Build > Compilers'. TRF7970A_Ultra_Low_Power_Card_Detection properties Problem"

Regards,

Madhusudhan


MSP432P401R: How to interface UART of MSP423 board with external bluetooth device

$
0
0

Part Number:MSP432P401R

Hi,

I am planning to use UART to flash the firmware to the BLE. Here I am using MSP423P401R board. I am using an MSP-FETFlash Emulation tool for debugging. Not the on board debugger. I have connected the SWD pins of Emulator to the SWD pins of MCU MSP432.  Now I connected the RXD and TXD pins of MCU to the BLE. These two pins and supply pins are sufficient to download the flash to the BLE?. 

From the SDK I have taken the UART example code. How can I sedn a .hex file via UART?. Should I include the BLE project in to the MSP432 environment?. Thank you.

MSP430 USB Driver

$
0
0

Hi,

I know this was asked before. The issue was resolved for a single user but no global resolution seems to be available...

I'm having difficulty downloading the USB Drivers for the MSP430. I get the following error,

"An error occurred while processing your request.

           Reference #50.3bff4f17.1560433146.9805802"

Any help would be much appreciated.

Regards,

Ronan.

MSP430F5510: USB CDC send data as soon as port has been opened on host

$
0
0

Part Number:MSP430F5510

Hallo everyone,

i am trying to accomplish the same as in the referred thread.

As soon as the host pc open the port to the MSP i want to send some data.

I can't get the code from to work. How to proceed?

In USBCdc.c i have this function.

void usbSetControlLineState (void)
{
	USBCDC_handleSetControlLineState((uint8_t)tSetupPacket.wIndex,
            (uint8_t)tSetupPacket.wValue);
    usbSendZeroLengthPacketOnIEP0();                                        //Send ZLP for status stage
}

so i have to set a variable depending of tSetupPacket.wValue & 0x01; in this function?

and call this function in the main usbSetControlLineState()?

after that i can send data in an if with the variable as condition?

Thank you in advance

MSP432P401R: How to solve "../msp432_startup_ccs.c", line 38: fatal error #1965: cannot open source file "driverlib.h"

$
0
0

Part Number:MSP432P401R

Hi,

I have downloaded a example project from internet. This is an MSP432P401R Launchpad printf code. When I run the project in CCS I see the  error like below.

"../msp432_startup_ccs.c", line 38: fatal error #1965: cannot open source file "driverlib.h"

Can you suggest me how to solve the issue. Thank you.

RTOS/MSP432E411Y: Misspelling Hwi_Handle causes invalid error message when building for TI RTOS

$
0
0

Part Number:MSP432E411Y

Tool/software: TI-RTOS

If you accidentally misspell Hwi_Handle as Hwi_handle, the error message says "ti_sysbios_hal_Hwi_handle" is undefined.  Incredibly confusing and doing a grep for the "undefined symbol" just leads you in circles. It appears both symbols have been deprecated.

Can you ask the SDK folks to take the following line out of all instances of Hwi.h (there are a lot of them):

#define Hwi_handle ti_sysbios_hal_Hwi_handle

Please note that this almost certainly affects *ALL* SDKs for all product lines that have TI RTOS.

Thanks.

MSP-EXP432P401R: Unable To Download HEX File due to FET Driver Missing

$
0
0

Part Number:MSP-EXP432P401R

Hi,

I have a HEX file that I need to download onto the MSP432 device using the MSP-EXP432P401R Development kit.

The kit is connected via the USB interface. Searching on the web, I get to understand that I will need to download the command line Flasher to download the Hex file.

While installing the MSP430 Flasher, it indicated it to me that I will need to download USB FET Drivers if not installed and the message has a link to download page.

When accessing that download page, I see no driver. Here is the link for the USB FET Drivers:

http://www.ti.com/tool/mspds#Low-Level_USB_CDC_or_VCP_Drivers

The get software buttons, are links to download progarm files not a driver.

Would you please help in getting this resolved?

Thank you in advance for your help and support.

Best regards,

Ziggy

RTOS: efs_createfile() function in Simplelink

$
0
0

Tool/software: TI-RTOS

Hello,

With TM4C I am using 

efs_createfile()

function to provide static resources for my webserver. Such as CSS, or JS files. What is the alternative in MSP432E Simplelink environment?

Or any examples that using the output of binsrc.exe tool?

Thank you for your reply,


MSP430FR5994: MSP430FR5994 Launchpad Layout appears inconsistent with Schematic

$
0
0

Part Number:MSP430FR5994

Hello All,

The Gerber Layout appear inconsistent with the schematic representation wrt to the Micro SDCard.

  1. The pdf schematic (2nd image below) shows that the P2.7_SD_Detect signal is attached to a "pin B" of the device. The layout gerbers show P7.2_SD_Detect  connected to pin 4. The datasheet for the SDCard (Molex) does not provide a circuit diagram for the 10 pin part so  I do not know what functions pin A and pin B provide.  Can anyone help here and explain this apparent inconsistency.  
  2. Pin A is grounded on the schematic. The Gerber files show a grounded landing pad next to the R7 resistor which connects to the SD socket. Is that pin A? 
  3. From the Gerbers, it appears that the case is not grounded. 
  4. And can anyone tell me why is there an opening in the Top Metal (green) under the SDCard socket?   

thank you for any help

jjim

CCS/MSP432E401Y: UART communication does not work when USB Serial is connected.

$
0
0

Part Number:MSP432E401Y

Tool/software: Code Composer Studio

Two communication ports of <MSP432E401Y MCU> are used.
1. USB: working with usb_dev_cdc_serial.c example
2. UART: working with usb_dev_cdc_serial.c example uart_echo.c example
UART operation before USB connection is normal.
But UART does not work when after USB is connected.
At this time, reinitialize UART,  it operates normally again.
Is it normal to reinitialize the UART?
What I want to know what the cause is.
Thank you for reading the poor translation ;).

MSP-EXP430G2ET: MSP430: Error initializing emulator: Could not set device Vcc

$
0
0

Part Number:MSP-EXP430G2ET

Hello,

Yesterday we have purchased MSP-EXP430G2ET develpoment board.

eZ-EFT debug Probe Rev 2.0 When connecting debugger to CC430F5137 controller using CC6 compiler.

It will shows error MSP430: Error initializing emulator: Could not set device Vcc 

EVM430-FR6043: Error message, configuration update failed.

$
0
0

Part Number:EVM430-FR6043

Hi,

I tried to use EVM430-FR6043 for Gas Flow. I only donwnloaded what was asked to set up. When I try to do the 'Request Update' with the exaple configuration, I get the error message 'Configuration update failed'.

What can I do?

MSP430F5329: Clock switching time by UCS fail‐safe operation

$
0
0

Part Number:MSP430F5329

Hi,

I have question about UCS fail-safe.
When the MCLK and ACLK source is sourced from XT1 and operating in LF mode, MCLK and ACLK is switched to REFO if an oscillator failure occurs.
How long does it take to switch to REFO after the XT1 supply stop?
Also, I think that the clock supplied to the CPU and peripheral modules is stopped during this period. Is my recognition correct?

Best Regards,
H.U

Viewing all 22171 articles
Browse latest View live