I'm porting the WINC1500 driver to our architecture, but I'm facing some problems I can't figure out.).
We are using a a ATWINC1500-MR210PB module, and we started from the Atmel driver (we ported the nm_bsp_xxx.c and nm_bus_wrapper_xxx.c source files).
The SPI is working as expected (i.e., I can read the firmware revision register without problems), but the IRQn signal is always high, so the irq handler function is never called.
It doesn't look like hardware problem (the IRQ line has a weak pullup), but I can't find any documentation on how to port the driver and how communication actually should work (should the WINC1500 assert the IRQn signal? when?).
Any suggestion? Is there a complete porting guide?