AnsweredAssumed Answered

Yet another SPI SPWF04S problem

Question asked by Matti Sillanpää on Jun 14, 2017
Latest reply on Jun 22, 2017 by Mridupawan Das

Hi all.

 

 

I'm having trouble connecting to AP with SPI mode. I tried to same network with putty and USB-to-UART cable and it connected fine (I only did ping over the connection, so not much). However with SPI it connects and drops it right away and repeats it forever.

 

Initializing SPWF04SA Interface..
>> Configuration Failure no 2 <-----interesting, "RAM cannot be mounted"
<<WIND 7, status 0
10
<<WIND 1, status 0
170216-fd39c59-SPWF04S
<<WIND 13, status 0
SPWF04SA
<<WIND 65, status 0
1
<<WIND 0, status 0
<<WIND 3, status 0
20
<<WIND 32, status 3
>>AT
<<OK
>>AT
<<OK
>>AT
<<WIND 49, status 2
0
<<OK
>>AT
<<OK
>>AT
<<OK
<<WIND 32, status 3
wifi started and ready...
>>AT
<<corrupted OK packet!!
<<OK
End of Initialization..
>>connecting to AP... TPNY, xxxxxxxxxx, 2
>>AT
<<corrupted OK packet!!
<<OK
>>AT
<<OK
>>AT
<<OK
>>AT
<<OK
>>AT
<<OK
>>AT
<<OK
<<WIND 32, status 3
<<WIND 21, status 4
<<WIND 35, status 4
00
<<WIND 19, status 7
98:DE:D0:EA:4C:62
<<WIND 25, status 7
TPNY
<<WIND 41, status 7
2
<<WIND 21, status 4
<<WIND 35, status 4
00
<<WIND 21, status 4
<<WIND 35, status 4
00
<<WIND 19, status 7
98:DE:D0:EA:4C:62 (after this it loops back line <<WIND 25 status 7)

 

The RAM mount thing is a littlebit worrying.

 

Othervise it seems to connect-disconnect-connect forever.

 

My setup is STM32F469NI, 1Mhz (currently) SPI and X-Nucleo-IDW04A1 board.

Outcomes