MOD 54415 IRQ pins
Posted: Tue Nov 11, 2014 4:48 am
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
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