Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 230870

Forum Post: RE: Problems comunication beetwen Msp430g2553 and PC using Uart

$
0
0

This is modified sample msp430g2xx3_uscia0_uart_01_9600.c, right?

Then first thing you do: compile sample without any single source code line changed - does it work? If not then you most probably have baud rate mismatch - like lost DCO constants. There's cure but you shall find - you need it or not.

[edit] If you lost DCO constants then your program will loop on this line:

    while(1);                               // do not load, trap CPU!!

[/edit]

If original sample works, then you shall find why your code does not. It's just step by step modify/compile/test work you shall do :)


Viewing all articles
Browse latest Browse all 230870

Latest Images

Trending Articles



Latest Images

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