Wifi use on STWIN.box
Hello everyone,
I'm trying to use the Wifi module MXCHIP EMW3080 from the STWBXCS1 so I want to start from this example on a B-U585I-IOT2A since these boards share the same µC and Wifi module.
I think I just need to change the use of SPI2 for wifi control in the original project, to SPI1 on my board.
I have changed yet :
- Calling Wifi_handle_SPI hspi1 instead of hspi2
- The pins for MISO, MOSI, CS, CK, Chip_en, Flow and Notify
For the clock of the SPI I chose PCLK2 with a prescaler of 8.
It is still not working as expected because it waits indefinitely for the Flow signal to be raised by the Wifi module.
Did I forget something ? or is the principle of trying to adapt a code made for another board simply wrong?
Thans for your help!
