Skip to content

C1101 with ESP32 initialization fails with return code -2? #1209

Answered by jgromes
diff-arch asked this question in Q&A
Discussion options

You must be logged in to vote

You can start by enabling the debug mode, you will most likely see that the device isn't returning any data, pointing to an issue with the SPI. You should double-check the SPI pins; you haven't provided any pin numbers for newSPI.begin();, so I'm guessing it will use some defaults - are you sure they are the ones you expect?

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@diff-arch
Comment options

@diff-arch
Comment options

@diff-arch
Comment options

@diff-arch
Comment options

@jgromes
Comment options

Answer selected by diff-arch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants