I am using MPC5744 in my project, I have a query regarding CMU, I want to use clock monitoring interrupt with source ID 497 but in refrence manual it says reserved. Can i use this vector interrupt
I'm quite confused of your description. As 497 is ADC_ER interrupt.
CMU do not have direct interrupt rooting into INTC module. As you can see from 18.104.22.168 Interrupt vector assignments table in reference manual.
If there is CMU threshold violation it reports to FCCU. In FCCU you have to decide what action you will take:
3. reset (short/long)
Have a closer look at FCCU chapter to understand how micro behave when CMU thresholds are violated.
It was a typo error its actually 479
But answer is still the same.
okay. Then i want to understand why there is a Interrupt vector assignments with 479 and what does Reserved means?
Sorry, I do not understand you.
Reserved means that this vector is reserved and it is not used on this device as the INTC is common periphery for more MPC57xx.
We are using MPC5744 in our project. We got an MCAL software from NXP(MPC574XP_MCAL4_0_RTM_2_0_0)
We want to use the CMU module to monitor different clocks.
For instance: we are using CMU 01 to monitor system clock, for this we have defined the higher and lower threshold
We could also see for any violation in clock the interrupt bit is getting set.
Now we want to handle this interrupt. In Reference manual the vector assignment of CMU interrupt is given as reserved as shown:
If 479 is reserved then how we configure this ISR as per integration manual from NXP
When I am referencing this interrupt in my OS as per integration manual from NXP. There is an exception getting generated.
This doesn't make sense at all to me.
1. You cannot serve interrupt when you have clock violation as you don't know which clock is used for INTC module and also for ISR code execution. This is not safe at all.
2.Register CMU Interrupt Status Register should be called only status register. I have reported this to documentation team.
3. CMU module is not rooted into INTC module. So there is no point to even talk about Interrupt 479 in INTC.
4. CMU is rooted into FCCU. When threshold violation occurs you have to react on it in FCCU. With reset, interrupt, or so. This is the correct safe way.
5. I do not agree with AUTOSAR integration manual. I have reported it to AUTOSAR team.
Retrieving data ...