I have been trying to include the interrupt event signaling into my application but with no success so far. To test it I use the following code:
EHC_EVT_MASK(EVT_NWK_CHG);
clear_flags(); // clears all event flags
The SPI looks like that (from top SCLK, MOSI, MISO, CSN):
I mapped GIO1 to External Host Interface Interrupt and checked with a multimeter that my probe is connected to this pin.
The EHC_EVT_MASK has "1" as first parameter so expected that after clear_flags the level on the interrupt pin should be low but it stays high all the time.
Any hints ?
Regards,
Pawel