Other Parts Discussed in Thread: HALCOGEN
Hi,
We want to use mibspi4 NENA pin as GIO.
And we need to generate interrupt on NENA pin.
Please suggest a solution how to configure NENA pin as GIO and interrupt?
Thanks,
Aditya
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 Aditya,
All of the SPI pins may be programmed via the SPIPCx control registers to be either functional or general purpose I/O pins.
1. SPIPC0 is to configure the SPI pins as functional pins or GIO pins
2. SPIPC1 is to configure the direction (input or output) as GIO pins
3. Other SPIPCx registers are used to control the data in and data out, pull type, etc.
The GIO APIs generated by HALCoGen can also be used for SPI pins (GIO mode).
Hello wang,
I have configured as ENA pin as GIO.
But now problem is I want to generate falling edge interrupt on ENA pin.
So how to configure it for falling edge interrupt?
Thanks
-Aditya