I know how to transmit and receive using UART, but is there a way to test a simple send/receive app while only having openMSP430?

  • 1
    \$\begingroup\$ Perhaps a loopback, but who will it inform you of the result? Consider getting yourself some sort of USB-UART adapter for your development PC... \$\endgroup\$ – Chris Stratton Sep 25 at 23:47

You can do a simple "loopback" test - connect your Tx output to your RX input - if all is well, you can talk to yourself.


The loopback test only shows that your transmit/receive routines are working. As @BeB00 comments, this does not test the baud rate settings, as most UARTs use the same clock for both transmit and receive.

| improve this answer | |
  • 5
    \$\begingroup\$ one (small) problem with this is that if your clock is misconfigured then you will be able to talk to yourself, but when you try to talk to something else, it wont work \$\endgroup\$ – BeB00 Sep 26 at 0:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.