Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
Need assistance for Ethernet interface
-
Hi,
I try to build a NTP server, and the SPRESENSE board looks to be the best source for precise timing by using a GNSS signal as time source.
The problem for me is that I´m not able to connect a Ethernet interface to the board.
Available is a IC wich is widely used with Arduino, the W5500. A library is available.
I wrote in the Stackoverflow forum, but there is no hint yet.
Stackoverflow topicthanks
Daniel -
Hi Daniel,
Unfortunately, but I don't have the W5500. Did you try to compare SPI signals? I mean to compare the communications of Arduino Uno with W5500 to Spresense with W5500.
Best regards,
Kamil -
Hi Kamil,
Thank you for the reply.
I first had to get a scope, wich happens to appear today. Hope to manage to make some measurements the next days.
Have you tried another Ethernet IF with the SPRESENSE?cheers
Daniel -
Hi
When you finish making measurements, please share them with me. Unfortunately, I did not have the opportunity to use any Ethernet shield with the Spresense, but I ordered one. When I receive this I will try to solve this problem.
Best regards,
Kamil -
Hi Kamil,
I´m such a fool
The problem wich bothered me the last weeks was that little jumper on the Board: I/O level. SHOULD be 3.3V. WAS 5V.
I´ve got some measurements, but the thing with the jumper was more a hunch wich got me the last day, as i was thinking about all the Ethernet-Boards laying around here: they all have a 3.3V regulator. Makes totaly sense NOW but as the Arduino has no problems and the W5500 is 5V tolerant I spend no thought of this on the SPRESENSE.
A difference I noticed is the level of MOSI: it is low in normal condition where it is high on the Arduino.
If you are interested in the measurements, tell me, I think I will redo some if needed...thanks for your time
Daniel -
Hi Daniel,
I have a solution for you. First of all, use the Ethernet library from my fork (https://github.com/kamtom480/Ethernet). Secondly, you need to connect some pins on the Ethernet shield. Connect pins 11 (MOSI), 12(MISO), 13(SCK) located on the ICSP Header with pins 11, 12, 13 located on the Digital Header (11 -> 11, 12 -> 12, 13 -> 13). Now you should be able to use Ethernet with Spresense board. If something does not work or is unclear then let me know.
Best regards,
Kamil -
Hi Kamil,
thank you very much for the work with the Lib. I´ll try it out if there is time. At the moment I´m working on another project.
Best regards,
Daniel