using SPI1 and SPI2 Simultaneous for w5500 and ILI9341
Re: using SPI1 and SPI2 Simultaneous for w5500 and ILI9341
Adafruit_ILI9341_STM is for roger core. Use official one from Adafruit
Re: using SPI1 and SPI2 Simultaneous for w5500 and ILI9341
there is also a problem with official libraries and official kernel, and it is not possible to use both at the same time. Try it yourself if possible.
Re: using SPI1 and SPI2 Simultaneous for w5500 and ILI9341
Which problem?
Re: using SPI1 and SPI2 Simultaneous for w5500 and ILI9341
ILI9341 is connected to SPI2 on the PCB board. With the official core, only the library "Adafruit_ILI9341_STM.h" was able to work with SPI2 and "Adafruit_ILI9341.h" can't work with SPI2. if you can use ILI9341 or W5500 with SPI2 ،Thank you very much to give an example.
Re: using SPI1 and SPI2 Simultaneous for w5500 and ILI9341
@aryan.ir For sure official core is able to work with 2 SPI instances in parallel.
And I am surprised that you cannot use SPI2 with "Adafruit_ILI9341.h"
Can you share the corresponding sketch?
And I am surprised that you cannot use SPI2 with "Adafruit_ILI9341.h"
Can you share the corresponding sketch?
-
- Posts: 102
- Joined: Thu Feb 27, 2020 7:54 am
- Location: Toronto
Re: using SPI1 and SPI2 Simultaneous for w5500 and ILI9341
You can try to use EthernetSPI2 library for W5500 at SPI2 and ILI9341 at SPI1.