Hi
I am meeting an issue about SCI_B of TMS320F28066.
I use the TX interrupt(not FIFO interrupt) for data sending, and RX interrupt for data receiving.
Below is the initiation of SCI_B and ISR for TX interrupt, the baud rate is 2400bps.
In the ISR function, the sSciTxISR(1) executes writing to the TX buffer and wait for Tx buffer is empty for re-entering ISR for next data byte writing to TX buffer.
The TX interrupt ISR can’t occasionally be executed for data sending.
Right now we can see the issue when Tx and Rx lines are shorted, if we try to short Tx line with Rx line when data is sending, we may see the issue under ~10 time this operations.
from the snapshot of register value show, the RXRDY and TXEMPTY bits are both set to 1, so we can know the Tx buffer is empty now, and it should set the Tx interrupt.
But the real case is that the Tx ISR can’t be served, so there is no data sending.
If we write any data to Tx buffer when the issue happens in the debug GUI, then we can see the SCI_B can work again.
Can you help analyze what is the possible cause for this issue, and explain why SCI_B Tx interrupt ISR can’t be served.
Thanks