Today, I tried using INT6, on P21, which is also an input tied to a square wave signal.
Same problem : INT6 IRQ is running once (when I change the ELVR register), an never after I clear EIRR bit 6.
I read P21 every ms, and I can see it toggle, but EIRR bit 6 remains equal to 0.
I also tried changing ELVR1.LA6 and LB6 values :
- LB6+LA6 = '00' (detect L) : the ISR runs constantly, even while P21 is High !!!
- LB6+LA6 = '01' (detect H) : the ISR never runs
- LB6+LA6 = '10' (detect rising edge) : the ISR never runs
- LB6+LA6 = '11' (detect falling edge) : the ISR never runs
I think there's something fundamentally wrong with the external interrupt config, but I can't figure out what it is.
Thanks for your help,
Thanks for your response, but according to your application note, the MB9BF218S micro does not support Interrupt factor vector relocate function. This is confirmed by "FM3 Peripheral Manual, Doc. No. 002-05586 Rev. *C", the MB9BF218S micro is a TYPE2, and as such, does not support Interrupt factor vector relocate function.
In addition, I have mentionned that the ISR is running once, the first time I change the ELVR.LA&B bits to detect rising edges, and not anymore after I clear the interrupt flag. I think it indicates that the problem is not an interrupt routing problem, but an external interrupt detection problem.
Is someone from Cypress going to seriously look at my issue ?
My project is on hold for A WHOLE WEEK now because of this interrupt problem, and the only support I got is an application note that is not applicable to the microcontroller I mentioned in the post title.
Is this the right place to get suppport ?
Is this the support we get when using Cypress microcontrollers ?
I need help right away.
Please let me know how I can get efficient support from someone experienced in the MB9B210T Series.
No need to answer anymore.
We're changing the micro for a Renesas.