Tool/software:
Hi,
I would like to know of possible causes for the transmitter holding register empty interrupts no longer being received after a certain time from starting the app ?!
Essentially, I have configured the UART on the C5517, the isrAddr.tbeiAddr to point to my interrupt service routine in which I post a semaphore when I require to know the state of the UART transmit register FIFO - that is to know when it is empty. The reason for this is to test if the UART Tx FIFO is empty so that I may proceed and execute some specific code just after this event ...
The testing thus far shows these interrupts occurring as expected once the main() is started, however I'm noticing that not too far in the code, about 20 seconds in or so, for whatever reason, these interrupts are no longer received.
This makes me wonder why this is the case and how to resolve it ? It would be useful to know for what reasons this might occur, and if there is some other means to observe when & why these interrupts stop being posted ?
For instance are there other conditions that need to be satisfied, other than the FIFO going empty, and if these conditions for some reason are not being met any longer due to some other register settings being overwritten or some flags not being cleared etc, as it might possibly happen ?
Essentially how may I view/test for conditions that correctly post this interrupt, compared to when it is no longer posted (for whatever reason), so that I may prevent the halting of these interrupts during program execution ? For the intended code to execute correctly the FIFO empty interrupt needs to be serviced consistently.
Any thoughts or suggestions how to go about this or why it might occur after some elapsed time ?
Cheers, MM