Trouble with GatewayW5100



  • Just updated to v2.0 and uploaded the GatewayW5100 example to a Nano with W5100 Ethernet board that I had been using with v1.5. I did un-comment the line "#define MY_W5100_SPI_EN 4 " so it would use Soft SPI. In the serial monitor, I get this:

    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;!TSM:RADIO:FAIL
    0;255;3;0;9;!TSM:FAILURE
    0;255;3;0;9;TSM:PDT
    

    I doubt it's a radio failure because it was receiving messages just fine before I uploaded the new gateway sketch. Any ideas?


  • Hero Member

    I didn't need to un-comment that line . I am using a W5100 shield. The only change I made to the sketch was to add my Ip adress. I think you may be stopping software spi by un-commenting that line.



  • @Boots33 - You'd the Man Boots!!! That was it. Commented that line out, and it's working! After inspecting the code again, I noticed the "!" (NOT) defined for "MY_W5100_SPI_EN" which indeed must have stopped Soft SPI. Thanks again!


Log in to reply
 

Suggested Topics

  • 3
  • 2
  • 3
  • 4
  • 2
  • 15

0
Online

11.2k
Users

11.1k
Topics

112.5k
Posts