This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TMS570LS3137: Settings in halcogen for UART communication

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN, , TMS570LS0432

Tool/software: TI C/C++ Compiler

Hi sir,

 We are trying to communicate with Bq76pl455 and TMs570ls3137 But, we are facing Issue of UART communication Not Happening.

 By debugging, I am getting Below Error where TXRDY is not getting "SET" after transmitting First Byte. I am attaching my Debug analysis Below.

NOTE: I am using "g_sciTransfer[1].mode== 0" Means i am using Polling Method.

What we observe is for the packet of length six, up to two length cycles it is giving the correct SCITD values and for that SCIFLR also set TXRDY flag. But after that it doesn’t set TXRDY flag so it got stuck and not transmitting any data further.

The settings should be done in the way that for every data transfer the TXRDY and TXEMPTY registers from SCI flag register should be set. But it is not happening. For this the proper setting of HALCOGEN  should be done. Like for SCI, VIM,SPI etc. and we are lagging in this part because we are doing it for first time.

please help in setting the proper configuration in HALCOGEN and also how to set  flags for that.

Thank you