Hello team,
Is nINT pin the default pin for interrupt signal?
What are the use case for GPIO1 and GPIO2? Are they used for some specific interrupts?
Best Regards,
Kei Kuwahara
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello team,
Is nINT pin the default pin for interrupt signal?
What are the use case for GPIO1 and GPIO2? Are they used for some specific interrupts?
Best Regards,
Kei Kuwahara
Hi Kei,
Yes, the nINT pin will indicate the status of any unmasked interrupt in the device's interrupt registers. The GPO pins can be mapped to specific interrupts so that the MCU will be able to recognize high priority events without needing a SPI read to determine which interrupt is set. For example when the device receives a new interrupt on the MCAN_INT 0 field to indicate a message has been received (this would be very common during active communication), the nINT pin will assert low to indicate the new interrupt. Typically, the MCU would then need to read the interrupt status register to determine the source of the interrupt before in could read to new data from the RX FIFO or buffer. If the GPO2 pin is configured to indicate this interrupt however, the MCU could recognize the interrupt source from the pin state without needing to read the interrupt status registers and may instead immediately start to read data from the new message. If the nINT pin asserts while the GPO2 signal stays high, the MCU will know some other interrupt has occurred and that it needs to read the interrupt status register in order to determine the source.
The available configurations for the GPO pins can be seen in the Modes of Operation and Pin Configuration Registers (address = h0800).
Let me know if you have any more questions.
Regards,
Eric Schott