WiFi Assert Error Enable interrupt

We made an new board with a EMX and a ZG2100MC wifi module. We used the same SPI interface as on the EMX development board but different CS and INT signals.

Software related I can enable the wifi with the next code:
WiFi.Enable(SPI.SPI_module.SPI1, GHIElectronics.NETMF.Hardware.EMX.Pin.IO5, GHIElectronics.NETMF.Hardware.EMX.Pin.IO9);

But the wifi never comes up. We I debug the application I get the following error message:

Exception System.Exception - CLR_E_FAIL (4)


Microsoft.SPOT.Net.NetworkInformation.NetworkInterface::UpdateConfiguration [IP: 0000]

#### Microsoft.SPOT.Net.NetworkInformation.NetworkInterface::EnableDhcp [IP: 000f] ####

I also checked with MFDeploy a saw the following messages:

Initialize WiFi Module…
It should not take more than several seconds… make sure that MFW-WiFi Expansion in connected correctly
WiFi Assert
Error Enable interrupt.
Initialize WiFi Module…done
ip address from interface info:
mac address from interface info: 0.1a.f1.0.42.d

What did I do wrong?

Not all pins are interrupt capable. Did you check teat the pin you selected for interrupt is interrupt capable pin?

As Gus said in his posting IO9 is not interrupt capable. So you have to choose another one :wink: