Replies: 4 comments 3 replies
-
Not true, unless your code / hardware is buggy. SPI can be used for single-master (ESP32) and multiple-slaves (W5500, etc.) You can isolate and eliminate the culprit(s) by removing them one-by-one One example is the bad/buggy SD-card hardware design which doesn't tri-state the SPI MISO even when CS/SS not selected.
Just careful test and select the correct hardware / libraries Post the question on Arduino Forum to get advice and help from many experts there. Certainly with all the info about hardware / libraries / your code. |
Beta Was this translation helpful? Give feedback.
-
Hi @khoih-prog I just shifted to
|
Beta Was this translation helpful? Give feedback.
-
You have to try by using baby-steps to isolate the problems, especially when having complex issues Try a single library first (without other SPI hardware) to be sure your W5500 is OK (hardware, wiring, etc.)
Remember to use Another point is you can move the W5500 or other hardware's SPI to another SPI bus to avoid conflict. I'm sorry that's all the time I can spend here. I suggest you post for help on Arduino Forum, etc. |
Beta Was this translation helpful? Give feedback.
-
Hi @khoih-prog Could you please post an example for the W5500 async web server where W5500 and any other SPI device are connected on the same SPI bus? |
Beta Was this translation helpful? Give feedback.
-
Thank @khoih-prog for this wonderful library. I am trying to integrate multiple spi sensors such as RC522, LCD. with FullyFeatured_ESP32_W5500 example but the esp is consistently rebooting, I guess due to when W5500 slave is being selected at that time other spi is also in use. Is there any way to use spi slaves and w5500 together?
Beta Was this translation helpful? Give feedback.
All reactions