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.

66AK2G12: How to implement Bare Metal UART Interrupt

Part Number: 66AK2G12


Hi,

I am writing some fairly simple code running on the C66 core only and have hit a brick wall when trying to get interrupts in place. I am writing the code bare metal and not using an RTOS or SDK.

I can confirm that I have the UART Rx interrupt enabled and that the pending flags are set when a char is Rx'ed. I think I have the CIC set up, but cannot be 100% certain as the ref manual is not very clear how this section is meant to work. I feel that there is a section I am missing: I am trying to read up on the interrupts for the C66 core, but am not getting very far as all the manuals/datasheets/guides seems to reference each other without any of them actually explaining how the interrupts work!

Do you have a simple code example I could follow? 

Many thanks, Todd