Hi, I'm working with a LAUNCHXL-F28379D C2000 Microcontroller for a group project and want to work with UART for interfacing between things like an RFID module and Bluetooth. We tried running the given 'sci_echoback_cpu01' example project to see how UART communication might work with our microcontroller, but we cannot get it to function properly at all.
The program is supposed to have the microcontroller communicate back and forth with a PC by sending text and echoing back user-entered text (using either Hyperterminal or a Putty terminal), but even after verifying the correct settings (bits per second, proper GPIO ports, etc.), the program will not execute properly. In our case, the code will always stop at this condition and never continue:
while(SciaRegs.SCIFFRX.bit.RXFFST == 0) { } // wait for empty state
The program is also supposed to output some text with the 'scia_msg()' function, but it never outputs anything to the terminal, even if it changes various register values. At best, we can get the microcontroller to send some junk characters to the terminal when connected to a PC, but this 'sci_echoback_cpu01' never works correctly at all.
I hope there is enough information for someone to help us (we are not that experienced with this microcontroller or UART in general, and prior forum posts about similar topics have not been that helpful), so any help is greatly appreciated, whether it's getting this function to work, or some other way we can easily experiment with UART and our Launchpad microcontroller. Thank you in advance for the replies.