Quantcast
Channel: MSP430 Technical Forums
Viewing all articles
Browse latest Browse all 2077

Rpi + 2452 UART communication problems

$
0
0

Hi,

 

I use an MSP430G2452 to drive a LCD 16x2. Every thing work fine during the test, using the UART communication from the LaunchPad or from a USB serial communication cable using CoolTerm.

 

Put the 2452 on a bread board test it with USB serial cable, everthing work. But when I connect to the Raspberry TX UART pin, the Communication seems to fail.

If I connect the Raspberry TX with the USB cable i get the right string). But when i use for exemple : "sc;" > /dev/ttyAMA0 ; to clear the screen nothing append.

With the C++ software which normally display informations, the screen cleans but nothing is displayer....

 

---- EDIT ---

 

My commands are strings: "<2 char command><value>; if I had a semi column at the start it's working. I thing that i got some characters are transmitted between my commands. With C++ I use  '\n' to flush the strings.

"sudo echo ";sc;" > /dev/ttyAMA0 ;" does work

"sudo echo "sc;" > /dev/ttyAMA0 ;" does not...


Viewing all articles
Browse latest Browse all 2077

Trending Articles