Jump to content
nissa

Backchannel UART on MSP-EXP430FR2355

Recommended Posts

Hello,

I'm trying to set up the backchannel UART on the MSP430FR2355 launchpad so that it echoes back the characters I send it. I believe I've configured the UART on the msp430 correctly for 4800 baud. Please see the attached main.c.main.c.4800

When I try to send characters after opening a UART connection, I just see question marks. I'm stumped.

I'm using mspgcc, mspdebug, and linux for what it's worth.

 

Share this post


Link to post
Share on other sites

This line in your code for sure gives an issue. If this already solve the problem - i have not tested

  // Initialize UART and set RX interrupt enable
  UCA1CTLW0 &= UCSWRST;

This will clear all bits except UCSWRST.


You would like to clear the UCSWRST bit but then you need to write

  UCA1CTLW0 &= ~UCSWRST;

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...