-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
MCP23S17 too slow #4
Comments
Hi @robertspil, I am working with an ESP32 in micropython and it has a very slow screen update. How can I do to increase the speed? I have commented the function def delay_us( self ): |
Hi, |
Replaced the milli-second delay by micro-second delay. Will already be better waiting for advanced testing |
I can't see any changes in the ST7687 library. I already commented on the delays, and the screen refresh is still slow, any advice? |
How sorry, you did record it into the MCP23S17 issue |
Before and after each change of the pin_cs ( Chip Select pin ) there is a sleep_ms(1)
The SPI specifications for the MCP23S17 have some time delays for the CS signal, no more than 100 ns.
I use this code with a Raspberry Pico, WITHOUT any sleep, with a big performance increase .
Maybe a sleep of one microsecond may be safe for a very fast processor.
The text was updated successfully, but these errors were encountered: