Good morning,
I want to perform an external interrupt (that could be a handled by microcontroller output) to my P2041 RBD board but I can't find any information about how to do that.
I supposed that I have to use the GPIO header (J7) to enter an interrupt signal, but I don't know how to use it.
Do you have any information or an example of how to do an external interrupt using gpio in P2041 board?
Thank you very much in advance for your help.
Pablo Ramos
This RDB board doesn't provide external connections for interrupts. Most P2041 IRQs and GPIOs are allocated for different functions on the board.
For example, IRQ4 and IRQ5 are routed to PCIe slot1/2 connectors.
J7 GPIO expansion header is for PCA9672 I/O expansion via I2C bus.
The PCA9672 does provide interrupt capability. The interrupt is generated at any rising or falling edge of the port inputs. Though, the interrupt request is removed when data is read or written by the I2C master. Consequently, the speed of interaction is limitted by the I2C.
Thank you very much for your answer.
So, if I can not use external interrupts, I wonder if you could help
me in another topic. I'm trying to perform decrementer interrupt over
P2041RDB but there is not enough information on how to program it.
Do you have any C or assembly code for performing decrementer interrup.
Thanks in advance.
Best regards,
Pablo
Quoting LPP <admin@freescale-phx.hosted.jivesoftware.com>:
LPP
replied to the discussion
"External Interrupt for P2041"
To view the discussion, visit:
https://community.freescale.com/message/383191?et=watches.email.thread#383191
>
I found your Service Request on this topic. Hope, the answer is satisfactory.