Hello NXP community,
I am trying to connect a i.MX RT685 board (master) with a Seeedstudio Ethernet Shield (slave) for Arduino: https://wiki.seeedstudio.com/W5500_Ethernet_Shield_v1.0/#hardware-overview using SPI.
I used the driver examples from SDK_2_12_0_EVK-MIMXRT685 (particularly "evkmimxrt685_cmsis_spi_dma_b2b_transfer_master" and "evkmimxrt685_cmsis_spi_int_b2b_transfer_master") as a reference and the ioLibrary from Wiznet: https://github.com/Wiznet/ioLibrary_Driver Nevertheless i can't even initialize W5500 chip on the Ethernet Shield! I've tried changing the clock polarity and phase on the master. Also without success.
I'm afraid there is a problem with pin configuration within board/pin_mux.c. It works fine with board 2 board configuration but it's not suitable for Arduino shield.
Any help would be very appreciated.
Hi @9159506 ,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
From my experience, I'd like to check the hardware connection at first, besides the SPI connection, also needs to check the power supply and GND pins, moreover, please confirm the voltage of the SPI interface whether is compatible.
Lastly, you should use the logic analyzer to observe the RT685 whether sends the right signals to the slave device.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hello @jeremyzhou ,
Thank you very much for reply. I'll try to start with less complicated configuration for SPI.