Hi all -
Does anyone know if all the IRQ pins on the MOD54415 are available? In the RunTime Library on page 141, under SetPinIrq, it lists 3 pins, IRQ1 (J2[43]), IRQ3 (J2[45]) and IRQ5 (J2[47]) and says that the function is only supported on the MOD5234, MOD5272, and MOD5282.
On the MOD54415, the IRQ pins are J2[26] (IRQ3), J2[43] (IRQ2), J2[45] (IRQ1), J2[47] (IRQ6) and J2[48] (IRQ7).
I've set them up in my software based on SetPinIrq() as described in my previous post (http://forum.embeddedethernet.com/viewt ... f=6&t=1980) but I just wanted to make sure that they were all available for use, and that the SetPinIrq() function will work with this chip, before using them. I couldn't find that info anywhere, and the RunTime library doesn't say.
Also, if I have an IRQ pin set to respond to a rising edge, and the rising edge event occurs, a.) does the pin stay set as a rising edge trigger, or do I have to reset it? and b.) if I want to set the same pin to trigger on a falling edge after the event, do I have to disable the pin first or can I just change direction with the SetPinIrq function?
Thanks All
MOD 54415 IRQ pins
Re: MOD 54415 IRQ pins
from my experience with MOD54415 the documentation is often not up to date, I suggest you check the source code of the library routines while referring to the freescale mcf54415 reference manual to see what they are actually doing.
I have successfully used j2[47] irq but not in edge triggered mode
I have successfully used j2[47] irq but not in edge triggered mode
-
- Posts: 192
- Joined: Mon Dec 17, 2012 6:24 am
Re: MOD 54415 IRQ pins
I did speak with NetBurner about this. They told me that IRQ7 is not masked, and would take some assembly code to implement it's edge triggering. That is the only way.