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

MSP430F5529: MSP430: Error connecting to the target: Unknown device

$
0
0

Part Number: MSP430F5529

I am trying to load firmware to a custom board with MSP430F5529 via a MSP-FET Flash Emulation Tool. My circuit design was based off SLAU278AE Fig. 2-1 and the example designs at the end of the document. Board power comes from an external USB connection, which distributes 5V to the internal 3.3V LDO in the MSP430F5529. I have tested the power distribution and it works correctly.

When I attempt to load the code, first the code builds, then I get a status bar telling me that the debugger is being configured and finally I get the error "Error connecting to the target: Unknown device" with "TI MSP430 USB1/MSP430" along the window bar. 

Going over the design again I found an error connecting pin 4 of the JTAG header to 5V rather than 3.3V. I ripped up the traces, wired a fix and tested. I haven't been able to discover anything else. 

Schematic and Layout (GND and PWR planes not shown): https://imgur.com/a/NWxBnNw

OS: Windows 10

CCS: 9.1.0


MSP-EXP430G2: High Sleep Current at Cold Temperatures

$
0
0

Part Number: MSP-EXP430G2

We are using an MSP430G2333 in our design. We have had issues with high sleep current at cold temperatures (minimum of -30 deg.C). Through further testing, we found that the source of all of this excess current at cold temperatures is the MSP430G2333 (DVCC pin). The following is a plot showing an example of this high sleep current that we see in our board. The current was measured at the power source in this test.

 

 

To determine which part of our design could be causing this high sleep current, we decided to run a series of tests. The first test was to narrow out the possibility of the problem being in the MSP430 device itself. We programmed an MSP430G2 LaunchPad (MSP430G2553) with example code from CCS (msp430g2xx3_lpm3_vlo.c), disconnected LED1, and ran a test measuring the overall current at cold temperatures, down to -30 deg.C. We found that this test also resulted in high sleep current. The following is a plot of the results of this test.

 

 

Why are we seeing this increase of sleep current as temperature decreases? 

MSP430F5328: NC Pins

$
0
0

Part Number: MSP430F5328

Hi,

Should the NC pins of the MSp430F5328 be left floating or should they be grounded?

Thanks

MSP432P401V: Compiler error "Error[Li005] no definition for "__error__".

$
0
0

Part Number: MSP432P401V

Apparent Bug with ti\simplelink_msp432p4_sdk_3_20_00_06\source\ti\devices\msp432p4xx\driverlib\cs.c. When I include cs.c in my project to access a function that is not in the ROM Library, cs.c includes debug.h, which refers to __error__, which results in compiler error "Error[Li005] no definition for "__error__".    If I include the driverlib library via Linker/Extra Options/Use command line option "$SIMPLELINK_MSP432_SDK_INSTALL_DIR$/source/ti/devices/msp432p4xx/driverlib/iar/msp432p4xx_driverlib.a", the error does not occur. Also, is there a missing semi-colon at line 419?

MSP-EXP430F5529LP: Available interrupt pins

$
0
0

Part Number: MSP-EXP430F5529LP

I am trying to us an interrupt routine and it appears that all of the ports are not available as interrupts.  Is there a list of ports that can be used as interrupts?

MSP430F249: I2C Not functioning as expected

$
0
0

Part Number: MSP430F249

I am trying to set up I2C communications with a touch screen controller. I am using the routines from TI for this chip. I have attached my code and the I2C driver code I got from TI as well as screen shots of an o-scope attached to I2C bus clk and data pins. I am trying to send to I2C address 0x4A but the waveforms appear to be addressed to 0x95. I am also trying to send two bytes of data but it appears that only one byte is sent. Any suggestions on what is wrong?(Please visit the site to view this file)

MSP430FG4618: Pin compatible replacement with larger flash

$
0
0

Part Number: MSP430FG4618

Hi,

I've inherited a project using the MSP430FG4618. The program running on this chip leaves the chip with almost no space. (116K Flash)

Is anyone able to recommend me a replacement for this chip with these requirements:

  • Same pin count and pin functions
  • 128K Flash+
  • 8K+ RAM

Thanks.

MSP430F2132: Absolute accuracy of internal temp sensor over temp range

$
0
0

Part Number: MSP430F2132

Customer needs absolute accuracy with the internal temp sensor of MSP430F2132T.

The in the User’s Guide, section 24.2.2.1 described calibration is using two points with a tolerance of ±2°C.

Considering the MSP430 calibration values (table 24-4) can he assume that over the full temp range -40°C - +105°C the tolerance is ±2°C or can it be higher?

Regards, Bernd


MSP430F249: Typo in the TB24 erratum description?

$
0
0

Part Number: MSP430F249

Hello,

The device errata list (slaz184n) says for the TB24 erratum description: "However, if the Timer A is stopped at TBR = TBCCR0".

I assume this is a typo and that it should say "if the Timer_B". Could you please confirm? Thank you.


Best regards,
François.

MSP-EXP430FR5969: PCF8574a

$
0
0

Part Number: MSP-EXP430FR5969

hi, please provide me the library file for PCF8574a to support energia,

I2C is working fine but the command for the PCF8574 is not working fine, so please give me the library file for PCF8574a

thanks 

MSP430G2553: msp430g3553

CCS/MSP430FR5994: I2C Configuration Code Framework: Go from evaluation board and software to a Standalone Platform -MSP430FR5994 LaunchPad- for I2C TI device configuration, test and production deployment.

$
0
0

Part Number: MSP430FR5994

Tool/software: Code Composer Studio

Hello,

I am trying to go from evaluation board and software to a standalone platform framework, such as the MSP430FR5994 LaunchPad . We have many MSP430 Launchpad!

We are trying to use the MSP430FR5994 LaunchPad as a standalone  I2C host for Audio Products configuration.

I am trying to find I2C Configuration Code to configure TI device under configuration, PCM1863QDBTRQ1, must be I2C controllable for example.

Can you provide the I2C configuration code for:

1. GPIO_I2C (I2C OVER GPIO PINS) and

2. USCI_I2C (I2C USING THE USCG PERIPHERAL).

The REFERENCE ARTICLE: Using the MSP430 Launchpad as a Standalone I2C Host for Audio Products. SLAA605-OCTOBER 2013-REVISED OCTOBER 2013 refers to a software project but the downloaded URL is not working to retrieve the Main.c and I2C.h file.

Device under test (DUT) and configuration is as follows:

MSP430FR5994 I2C <> Device I2C PCM1863QDBTRQ1

Thank You.

Neil Henry

IRAD LLC

MSP430F5529: MSP430F5229, LMX2595

$
0
0

Part Number: MSP430F5529

Respected sir, 

   I am working on LMX2595 and MSP430F5529 to generate 17GHz frequency synthesizer. Now in order to attain this I need to program the micro controller with the values which I get from TICS PRO software. I need to operate the controller in master mode and transfer the data serially to the slave device LMX2595 using SPI protocol. I have came to know that MSP430F5529 has 79x magic constants. Now in order to make use of LMX2595 device as per specific application I need to alter those constants. 

1) How to access those 79x magic constants and alter them by programming?

2) I am not able to find the registers with this memory format as 1-bit R?W, 7-bit Address, 16-bit data in MSP430F5529

3 once the data is transferred to the slave device is it mandatory for the slave device to acknowledge back to the master as the slave device(LMX2595) don't have any MOSI pin.

4) In the programming below control registers of channel 0 has been used, Can I access 79x magic constants and alter the values

Operating MSP430F5529 in Master mode to transfer data 

#include <msp430.h> // header file for msp430 devices
void IOInitiate(void);
void SPI_master_Initiate(void);
void SPI_Tx(char ByteData);
void main(void)
{
WDTCTL=WDTPW+WDTHOLD; // Stop watchdog timer
IOInitiate(); // input output initialization
SPI_master_Initiate(); //master initialization
__bis_SR_register(GIE); // enable interrupts
//return
char sent_to= 'a';

while(1)
{
SPI_Tx(sent_to); // continues sending data

}
}
void IOInitiate(void)
{
P2DIR |= BIT7; // Set P1.0 to output direction for LED
P2OUT &= ~BIT7; //LOW as default
P3SEL |= BIT0+BIT1+BIT2; // P3.0 UCA0SIMO // P3.1 UCA0SOMI // p3.2 clk
P2SEL |= BIT7; // CS
}
void SPI_master_Initiate(void)
{
UCB0CTL1 |= UCSWRST; // **Put state machine in reset**
UCB0CTL0 |= UCMST+UCSYNC+UCCKPL; //8-bit SPI master Clock polarity high, MSB
UCB0CTL0 |= UCMODE_2; // 4 pin communication
UCB0CTL1 |= UCSSEL_2; // SMCLK // clock selection

UCB0BR0 = 0x00; // SMCLK speed divide by 1 /*******If UCBRx = 0, fBitClock = fBRCLK****/
UCB0BR1 = 0;
UCA0MCTL = 0; // No modulation
UCB0CTL1 &= ~UCSWRST; // **Initialize USCI state machine**
UCB0IE |= UCTXIE; // receving interrupt enable
}
void SPI_Tx(char ByteData)
{
P2OUT &= ~BIT7; // active low for start communication

UCB0TXBUF = ByteData; // Transmit first character

//if (UCB0TXBUF!=ByteData)

while (!(UCB0IFG&UCTXIFG)) ; //hold until transmit finish

P2OUT |= BIT7; // active High for end communication

}

I am a newbie and running out of time. Any help will be greatly appreciated. 

Thanks in Advance.

MSP430FR2433: Request for review of DCO unstable oscillated in cold environment

$
0
0

Part Number: MSP430FR2433

Hi community member,

<Phenomenon occurrence>
Since I want to set DCO frequencyto 4.9152MHz, DCORSEL is set to 2.
But there are chips that DCO in MSP430FR2433 oscillates unstable when it is reset in cold environment.

Rently, chips that cause this symptom have appeared again.
3 out of 140 chips were confirmed.

There are variations each chips in the temperature at which the phenomenon occurs.

Device A: Around -30 degrees
Device B: Around -35 degrees
Device C: Around -38 degrees

When each chip is lowered to the respective temperature, the phenomenon occurance rate is 100%.
The phenomenon has also occurred on LaunchPad(MSP-EXP430FR2433).
The sample software that confirmed this phenomenon is below.
Based on "cs_ex1_DCO1MHzSWTrim.c" of MSP430Ware, it is changed so that DCO = 4.9152MHz.
Even if DCOFTRIM looped from 0 to 7 in the "privateCSComputeDCOFTrim()", the DCO tap does not become an appropriate value, and the DCO does not oscillate stably.

<Datasheet>
Looking at the datasheet (figure 5-5), we think that DCORSEL = 2 is suitable to set DCO = 4.9152MHz.
Furthermore, the temperature range in figure 5-5 is written as TA = -40 °C to 85 °C.

The previous comment says “the DCO is out of range under the given temperature.”.
But I think that it is correct to set DCORSEL = 2 to oscillate DCO = 4.9152MHz in the whole temperature range.

Do you think this is a chip defect?
Please let me know the views of TI members?

If this problem isn't solved, our work cannot progressing next step on project.(Please visit the site to view this file)

Best regards.
Cruijff

MSP430F5508: BSL Scripter [ERROR_MESSAGE]Data is not completely transmitted! on Sandy Bridge Core i7

$
0
0

Part Number: MSP430F5508

I cannot seem to program the MSP430F5508 using BSL-scripter when connecting it to an older PC with Sandy Bridge chipset. It works to flash the RAM BSL but after that it does not accept the program file. When trying the same on a newer computer with Skylake Core i7 it works every time. I have tried putting a USB-hub in the signal path (as suggested here: https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/570008) but I get the same error. Usage is in a production environment that has older PCs, need to work with those as well. Problem is the same when using USB3.0 port or USB2.0 port.

(Please visit the site to view this file)(Please visit the site to view this file)


CCS/MSP432E401Y: Can not programm CCS CODE after LM FLASH with TI_TXT over USB DFU

$
0
0

Part Number: MSP432E401Y

Tool/software: Code Composer Studio

Hi everyone.

I was trying to use the ROM Bootloader using the BOOTCFG register to configure a GPIO for RESET condition. This apparently worked and still works, as i still get the USB DFU device in the LM Flash Programmer.

But somehow something went wrong, whenever I want to programm/debug my launchpad with ICDI I need to reconnect to the probe and i am in the default IR handler and when I reset i start in Assembler at:

010016b0:   F24E0000            movw       r0, #0xe000

Even with the standard blinky code.

Has anyone an idea what happened here? Has this something to do with the Program Address Offset? Did I use a wrong hex format?

Hoping for positive feedback.

Regards Dennis

MSP430FR2633: Captivate Design Center generated project

$
0
0

Part Number: MSP430FR2633

Captivate team,

I designed (mostly copied!) a 16 button mutual capacitance board (4 x 4) based on the 64 button TIDA ref design.  I had the PCB made and am now testing. When I generate my 16 button project with the Captivate Design Center and load it on the EVM (connected to 16 button board), I see no signal on the TX pins when probing with a scope. I also see no signal on the RX pins.

When I load the EVM with the 64 button project, I see an oscillating digital signal on the TX pins.

I assume there must be something I am doing differently in my Captivate Design Center project, but I can’t find the difference. I compared the captivate_config files and the captivate_app files. The only differences I can find are in captivate_config. Should I be looking at some other files in the project?

Any other suggestions?

Thanks,
Darren

CCS/MSP432E401Y: Ehernet Bootloader in MSP432E401Y

MSP430FR2433: FRAM-CTPL resources

$
0
0

Part Number: MSP430FR2433

MSP-EXP430FR6989 on TIDM-FRAM-CTPL is a superset device to show this functionality.

What is in general the demand on resources(CPU performance, FRAM, RAM etc) to implement CTPL(Compute Through Power Loss) on top of an application?

Goal is to find the smallest FRAM device running customer application with CTPL. Today he uses F2132.

Regards, Bernd

MSP-FET: MSP-fet is not recognize as a com port but as HID ; VID 2047 and PID 0204

$
0
0

Part Number: MSP-FET

Good morning, 

I looked in the forum but could get an answer. 

I ordered 3 new MSP FET (the black ones) and connected them. They are recognize as a com port, everything is fine. 

I tried to use them thru MSP430 flasher; They rebooted and now, they do not show as a com port but as an HID with VID 2047 and PID 0204.

Same issue with all 3 new programmers. 

Please help. 

Thank you

Viewing all 22197 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>