nissa 0 Posted July 3, 2020 Share Posted July 3, 2020 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. Quote Link to post Share on other sites
StefanSch 10 Posted July 6, 2020 Share Posted July 6, 2020 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; Quote Link to post Share on other sites
nissa 0 Posted August 15, 2020 Author Share Posted August 15, 2020 Thanks for catching that. I wasn't able to get the backchannel UART working, but when I switched to using an external level shifter, it worked. 🤷♀️ I think I remember reading somewhere that the backchannel UART doesn't work outside of CCS, but I can't seem to find that thread. Anyway, using extra hardware works. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.