We have developed a custom board around Adafruit Feather M4 express. Custom board has SAMD51 microcontroller and Ublox Wifi NINA W152 module. I have been trying to use Wifi and WifiNINA libraries to get Wifi module working. But somehow i cannot connect the module to the WiFi.
I've been wondering how SAMD51 and Wifi nina module are communicating with each other? What exact pins are required according to the WIFININA libraries? Would Wifi module be needed both SPI and UART connections with MCU to get connected to the WiFi?
I've uploaded the image of the pin config of Wifi module with SAMD51 MCU. I believe pinout is correct.
Also, I've made changes few changes to variant.c and variant.h files.
Can anyone please help me out here? I'd appreciate all the help I could get.