07-16-2022, 02:24 AM
I am digging a bit more. I think the CM4 is perhaps running at a core frequency of 500MHz
See what https://github.com/MilhouseVH/bcmstat tells you about the frequencies. Oh, I see that your pasted output above shows it at 500000000Hz with "SPI CDIV: 6, SPI max frequency: 83333333hz" That's likely too fast.
Anyway, I think the Pi CM3 runs at 400MHz.
fbcp-ili9341 uses a scaler to run the SPI communication off that clock. We would now be running the SPI at 1.25x speed if we don't recompile with a different scaler.
Read about tuning performance at https://github.com/juj/fbcp-ili9341/blob...erformance
You will likely want to change the SPI CDIV scaler to maybe 8. That might still be fast enough and not overdrive the SPI.
See what https://github.com/MilhouseVH/bcmstat tells you about the frequencies. Oh, I see that your pasted output above shows it at 500000000Hz with "SPI CDIV: 6, SPI max frequency: 83333333hz" That's likely too fast.
Anyway, I think the Pi CM3 runs at 400MHz.
fbcp-ili9341 uses a scaler to run the SPI communication off that clock. We would now be running the SPI at 1.25x speed if we don't recompile with a different scaler.
Read about tuning performance at https://github.com/juj/fbcp-ili9341/blob...erformance
You will likely want to change the SPI CDIV scaler to maybe 8. That might still be fast enough and not overdrive the SPI.
Card Fighters' Clash 2 English Translation ( http://cfc2english.blogspot.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )
Neo Geo Pocket Flash Cart and Linker Project ( http://www.flashmasta.com/ )
Avatar art thanks to Trev-Mun ( http://trevmun.deviantart.com/ )