CMU flag

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CMU flag

267 Views
mehmetkaradag
Contributor III

Hi NXP engineers,

I'm using mpc5777c.

jumping to FCCU ISR when SDADC clock is damaged. Interrupt source is CMU. But I cannot clear the FHHI flag. That's why i'm receiveing interrupt continously.

below code is in FCCU interrupt.

what could be the error?

mehmetkaradag_0-1684942189456.png

thanks for helps.

 

 

 

0 Kudos
1 Reply

248 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Well,not sure what is your issue but I see 2 scenarios:

1. you are not writing 1 to clear the flag. w1c =  write 1 to clear

petervlna_0-1684989703284.png

2. your clock is not correct and as soon as you clear CMU flag, it is set back immediately.

Best regards,

Peter

 

0 Kudos