Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPI clock frequency switching #3479

Open
focussing opened this issue Sep 10, 2024 · 0 comments
Open

SPI clock frequency switching #3479

focussing opened this issue Sep 10, 2024 · 0 comments

Comments

@focussing
Copy link

Hello!

Our board consists of a 480x320 TFT / RP2040 combination.
The TFT SPI clock rate in my situation is 24MHz (via User_Setup.h) but I use an ADC running on max 1MHz so I use SPI.beginTransaction(SPISettings(1000000, MSBFIRST, SPI_MODE0)) every time I do an AD-conversion.
That works fine but after the ADC cycle, I refresh the TFT window and see that the TFT SPI clock rate has become 8MHz.
How can I get that back to 24MHz?

I hope you can help.

Best regards,
Raymond

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

No branches or pull requests

1 participant