Hi, we were trying to write a C application that reads data from SPI in interrupt mode. We couldn't find a proper example program in the NSPI documentation. Could you please point us to a sample application or complete program that uses IRQ to read from SPI?
NSPI Interrupt mode.
-
-
Hallo,
what do you mean exactly by "we were trying to write a C application that reads data from SPI in Interrupt mode"?
Registry value "DriverMethod"? That's just a registry entry.
Or do you wan't to read/write from/to SPI device after got an external IRQ?
This could not be handled by NSPI API. You should configure a DIO pin as IRQ for this purpose. Refer Device Driver Docu section Digital IO Driver and use DIO API.
Hope this helps.