I'm porting U8G2 display library to ESP32 microcontroller (no suitable tag) with ESP-IDF (its official platform) as the platform, I2C protocol for now, using SSD1306 display for testing. After all improvements and optimisations FPS got stuck at 45. I tried:
- Changing bus clock (no difference on 800KHz and 1MHz)
- Disabling waiting for ACK (150+ FPS test do so, but no difference for me)
- Changing ESP32 processor frequency (160MHz and 240MHz give the same result)
- Commenting out all delay functions (they probably aren't called at all)
What is likely a critical link in chain here?