WiFi RS21 stopped working

@ RoSchmi -

  1. I don’t know how to factory reset this module. I am not sure it is possible… GHI guys please clarify this question

  2. I didn’t find WiFiRS9110 driver sources. I found only WIFIRS21 sources: https://bitbucket.org/ghi_elect/gadgeteer/src/588fefcbc0165bcd861943d176a5ce8d0c7f1ac6/Modules/GHIElectronics/WiFiRS21/WiFiRS21_43/WiFiRS21_43.cs?at=master

  3. Here is a chip datasheet, RS21 based on this chip:
    Silicon Labs

I found a reset and timing sequence on 18 page. In paragraph B it says that timing for hardreset should be 1 msec on Reset_n pin. In our case Reset pin sits on PA7 on the X1 socket.

If we set 1 msec timing to PA7 during the boot operation it must occur the hard reset? Correct me if i am wrong please. And how to set timing?

  1. Here is software reference manual for RS21 chip, and there is AT comands explanation and so on: http://www.reyax.com/Module/WiFi/RS/RS9110-N-11-22_24_28_Software_PRM_v4.15.pdf

Is it possible to RMA?

Just tried your code on my Raptor, worked as well.
So the WiFi module or the Mainboard or the cable or something else trivial must be out of order.
Are you able to initialize another SPI Module (e.g. ENC28 ) on this socket?

@ Alex Bilityuk - As RoSchmi, can you try any other SPI module? Have you tried other sockets? Can you switch to a smaller cable and different mainboard?

To verify, if you run the exact code from https://www.ghielectronics.com/docs/30/networking#3121 – no UpdateFirmware call, only updating the pins for the WiFiRS9110 constructor, the debugger does not get past the constructor line?

It seems like the problem is in WIFI RS21 module, i tried all available SPI sockets on Raptor, the result is the same. Also tried different cables.
Unfortunately i am not able to initialize another SPI module. I am 99% sure the problem is a WIFI RS21.

@ Alex Bilityuk - No DisplayN18, Rotary H1, Flash, or PulseCount modules? Were you able to run the code? We just want to be sure its a bad module before we look into an RMA.

@ Alex Bilityuk -
only an idea! Did you have a look on the soldering joints of the module? Esp. is R1 regulary populated?

  1. I can’t try any other modules (i don’t have any other SPI modules)
  2. I don’t have a different mainboard for this purpose. I have Cerbuino bee? but it is not compatble.
  3. I tried sockets: X1,X3,X11 with three different brand new cables, also of smaller size.
  4. i copied the code you provided, changed only pins. the debugger does not get past the constructor line.
  5. I were able to run the code, two or three times since the first initialization of the module and Raptor mainboard. But after two - three days of work it start to behave like that. Only one time i could make it to update firmware, but no more.

[quote=“RoSchmi”]
@ Alex Bilityuk -
only an idea! Did you have a look on the soldering joints of the module? Esp. is R1 regulary populated?
.[/quote]

  1. I checked the soldering joints. Its ok! R1 is regulary populated.

Conclusion;

I don’t know what is the matter, but choice are: broken module or mainboard SPI bus.

Is there any decisions concerning the RMA?

@ Alex Bilityuk - You can go ahead and contact us for an RMA. support@ ghi…

Ok John! Thank you! I really hope the problem in WIFI RS21 not in Raptor mainboard…