Part Number: TMS570LC4357
Hello Team,
We are using TMS570LC4357 evaluation board in which we are testing SCI3.
We have configured it correctly as per datasheet and have enabled loopback mode.
It is working fine as expected when kept breakpoint after initialization.
Observation: Code flow is as follows:
InitSci(),
TransmitByte(),
ReceiveByte().
Since it is loopback mode, we are monitoring registers RD and TD for result verification.
If we put breakpoint at TransmitByte(), than we resume the execution, than all bytes will transfer smoothly and we are able to see it on RD register as well.
But if we remove breakpoint from TransmitByte() line and run the code directly from main().
In this case TD register is populating data, but RD register is not receiving any byte and it keeps on waiting for RX RDY flag to set.
Note, Flag register = 0x00000900.
We tried keeping some delay also in between InitSci() and TransmitByte() apis, but the observed behavior was same.
We suspect that after sciInit() api the controller is not getting enough time/cycles to make rx ready for reception.
Can anyone help me here in resolving this issue.
