Hello,
I am having a problem with SCI RX in UART mode using microcontroller TMS570LS20216 embedded in the TMS570LS20216SUSB USB stick.
When receiving a byte on the RX line, I see that the flag RX RDY in the SCIFLR register is never set ant the receive data register RD remains always empty.
I have followed indications in the post by Vitalij called "SCI" does not receive data in UART mode" but without success.
The only difference between my project and the suggested 2287.SCI1 project is that I am using SCI2 instead of SCI1. In particular, I have checked that my SCI initialization and the one contained in 2287.SCI1are the same.
Maybe, do I have to change something in the interrupt vector table? I think I don't have to.
I have noted that the flag IDLE in the SCIFLR register gets high after the SCI configuration. Is that correct?
I have found that forcing a read to RD register calling the function sciReceive(UART, 1, &RX_data) as suggested in the abovementioned post resets the IDLE.
But after I try to send data with hyperterminal and still I cannot received any data.
Thanks in advance for your help,
Regards,
Elena B