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.
Did you ever resolve this problem. I have a similar issue where a UART interrupt occurs but, ulStatus = ROM_UARTIntStatus(UART1_BASE, true); returns 0. To me it seems like this function should never return 0. Can anyone offer some insight into what may be occurring?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Glenn Graf:
I'm also having a similar thing occur and I'm trying to track down the cause. Did either of you resolve this?
In reply to Bodey Baker:
It seems like your post went missing. Anyway, I'm only using the one interrupt handler for the one peripheral and I am checking the right peripheral in the interrupt handler. But I'm seeing this for SSI(0) not UART, I just thought it could be the same root cause so I posted here. I might open up a new topic. Cheers.
I removed my post because I didn't realize at first that this was probably really about a uDMA issue or the interaction between uDMA and the peripherals and their interrupts. I have not used uDMA on any of my projects, so removed my post so as not to clutter the discussion.
In reply to slandrum:
Ah. Well thanks anyway.
For anyone else who is seeing this, it seemed that my problem was as follows:
//Have data to send
//Data finishes sending
//Interrupt fires but status is zero
It seems like the event trigger was firing, then I'd disable that event but the peripheral still had interrupts enabled so it would fire. I tried clearing the interrupts, but with the SSI peripheral, it looks like some sources can't be cleared. Instead, since I really didn't need interrupts on that peripheral I just called IntDisable() after PeripheralIntDisable() and my phantom interrupts disappeared.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.