Skip to content

Conversation

@fleibede
Copy link

@fleibede fleibede commented Jul 26, 2024

RegConfigSettings() also does SPI.begin() and SPI.end(), which seems to make the code stop since there was two SPI.begin() wihtout an SPI.end() in between. Moving SpiEnd() to before RegConfigSettings() matches the Spi.begin() from SpiStart() and solves the issue.

Using Arduino 2.3.2 and esp32 arduino core 3.0.3

RegConfigSettings() also does SPI.begin() and SPI.end(), which seems to make the code stop since there was two SPI.begin() wihtout an SPI.end() in between.
Moving SpiEnd() to before RegConfigSettings() matches the Spi.begin() from SpiStart() and solves the issue.
@fleibede
Copy link
Author

Should solve this issue: #160

@fleibede fleibede force-pushed the fix-init-for-esp32 branch from 373f5ad to 9b15376 Compare August 1, 2024 23:26
@EmileSpecialProducts
Copy link

Thanks, this solved my problem ( C3 ), It was working on Ardiuno 2.0.9, But hang on 2.0.17 and up.
So between 2.0.9 and 2.0.17 something changed that makes it hang.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants