Tool/software: Code Composer Studio
I have an undefined interrupt triggering the Default_Handler, but I cannot find any documentation on which bit is which in ICPR0.
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.
Tool/software: Code Composer Studio
I have an undefined interrupt triggering the Default_Handler, but I cannot find any documentation on which bit is which in ICPR0.
Steven,
The definition of the ICPR0/1 registers can be found in the MSP432 Technical Reference manual, section 2.4.3.7
The individual bit descriptions can be found in Table 6-39 of the MSP432P401R datasheet.
The ICPR0 (NVIC Clear PENDing) register covers interrupts 0-31
The ICPR` register covers interrups 31-63.
-Bob L.
Did you look at Table 6-39 (Referenced in the 2nd sentence)? This is the list of NVIC interrupts. ICPR0 has interrupts 0-31. The table gives the names & source for each of those interrupts/bits.
-Bob L.
Steven,
I believe the answer you're looking for is in the 2nd sentence of my original post , which mentions Table 6-39 of the MSP432P401 datasheet. Each CLRPEND bit in the ICPR0 register corresponds to an interrupt in the NVIC. Can you confirm that you are reading the datasheet and not the Technical reference manual. (I only include the link for that for completeness sake- the answer to your question is in the datasheet)
-Bob L.
**Attention** This is a public forum