Skip to content

Seeed XIAO RP2040 & ILI9341 Touch not working #2909

Answered by dslocum
dslocum asked this question in Q&A - Touch
Discussion options

You must be logged in to vote

-- SOLVED --
It took me a while to grok how the setup files work (I new to this), but it's fixed.

I never #defined the MISO pin - hence no input from the XPT2046 touch chip.

I added a new file to the User_Setups folder "Setup63_RP2040_ILI9341_TOUCH_SPI.h", and set "User_Setup.h" to point to this file. This is for a Seeed Xiao RP2040 module.

Here's what I used in the Setup63 file:
// For RP2040 - use pin numbers in the form PIN_Dx where Dx is the RP2040 pin designation
#define TFT_MISO D9
#define TFT_MOSI D10
#define TFT_SCLK D8
#define TFT_CS D7 // Chip select control pin
#define TFT_DC D6 // Data Command control pin
#define TFT_RST D5 // Reset pin (could connect to RST pin
#define TOUCH_…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dslocum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant