Which exact MSP430 MCU are you using? If it is the MSP430G2553, it only has one serial UART. You should consider other MSP430 with 2 UART ports instead.
Additionally, the MSP430 runs at 3.3 V, not 5 V. You may need logic level converters to connect the serial device.
I have MSP430 launchpad and want to get data from sensor via UART. anybody can give me example code or the code where I can do modification via Energia.
below is sensor I working with
Thanks in advance
Hi guys !
I cannot upload the sketch.
An error is shown, see log attached. Although I switch the user interface to English, it is still in system language (here German).
The message ("Die Syntax ...") says: bad filename syntax.
Same thing had been asked here: https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/735035?MSP-EXP430FR5739-MSP-EXP430FR5739-error-uploading-sketch
But the answer has never been verified by the original poster. I have installed these drivers 2 times. The error persists even after system reboot.
Thanks for any help. Cheers, Joerg
Sketch uses 778 bytes (37%) of program storage space. Maximum is 2048 bytes.
Global variables use 20 bytes (7%) of dynamic memory, leaving 236 bytes for local variables. Maximum is 256 bytes.
MSPDebug version 0.24 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2016 Daniel Beer <email@example.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
----------------- NOTE ------------------
Modified version of mspdebug for Energia
Do not use standalone
Chip info database from MSP430.dll v184.108.40.206 Copyright (C) 2013 TI, Inc.
Using new (SLAC460L+) API
Found FET: HID0062:COM5
Firmware version is 20409001
MSP430_VCC: 3000 mV
Device: F20x2_G2x2x_G2x3x (id = 0x0035)
2 breakpoints available
Chip ID data:
prog: 'C:\Users\MYNAME\AppData\Local\Temp\arduino_build_465010/blink.ino.hex': Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch.
An error occurred while uploading the sketch
As a form of documenting... I just added another new MCU to Energia and -in short- had to do the following to get it working:
In Energia 1.8.7E21:
Copy from a close family member the following files and replace the model name with the new model name in the directory-/filename and file content:
Add the new model to the following files:
Of course, check for differences between the two family members (e.g. missing or added peripherals, memory sizes) and edit the copied files accordingly.
> This is why I said it is odd, but I have never tried it myself with devices that are so closely related. I don't know if it actually was programmed with the wrong device specified, but I can see no reason there would be damage IF it was programmed this way <
Agreed. Like you, I've never tried with such closely related devices.