Hi,
now I need a GPIO pin for WL1271 interrupt function,could I use GPIO31? How to configure it for interrupt function? thanks a lot!
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.
Wei,
You cannot use GIO 31 for interrupt from WLAN module. In DM36x you can use only GIO-0 to GIO-16 for interrupts. If you are using EMAC for ethernet, then you'll be left with only GIO-0 for interrupt.
Hope this answers your query.
Hi All,
I have registered an interrupt for the GIO pin 0 with the irq number 44. When i try to run it i am getting an error as below
"No IRQF_TRIGGER set_type function for IRQ 44 (AINTC)"
The following is the part of the code :
status = request_irq(irq_num, &gpio_irq_handler,IRQF_TRIGGER_RISING, "gpio_test", NULL);
I have changed the values of the the trigger type referring to both interrupt.h as well as ioport.h but with no help.
Could anyone please suggest what could be the problem