LVGL version
v8.4.0
Platform
VSCode, PlatformIO, ESP32S3, Arduino Framework.
What happened?
The hardware is Waveshare ESP32-S3-Touch-LCD-4.3. The screen doesn't have its own screen buffer, so it needs to be constantly fed with data from the MCU.
Currently, I constantly encounter this error during BLE pairing:
"Cache disabled but cached memory region accessed"
The crash happens right after the user enters the correct BLE passkey. I believe it happens because when a matched passkey is received, the MCU will store the LTK and other parameters in NVS, and during this NVS write, it's likely that the DMA callback trigger and try to access SRAM to send data to the LCD. I tried all sorts of solutions, but I can't solve this bug yet. I can't use PSRAM buffering because of its unstable bandwidth (jittering because the bus is shared between reading from and writing to PSRAM). I have to stay with bounce buffe on SRAM but I want to overcome this crash. Please help. Thank you
How to reproduce?
No response
LVGL version
v8.4.0
Platform
VSCode, PlatformIO, ESP32S3, Arduino Framework.
What happened?
The hardware is Waveshare ESP32-S3-Touch-LCD-4.3. The screen doesn't have its own screen buffer, so it needs to be constantly fed with data from the MCU.
Currently, I constantly encounter this error during BLE pairing:
"Cache disabled but cached memory region accessed"
The crash happens right after the user enters the correct BLE passkey. I believe it happens because when a matched passkey is received, the MCU will store the LTK and other parameters in NVS, and during this NVS write, it's likely that the DMA callback trigger and try to access SRAM to send data to the LCD. I tried all sorts of solutions, but I can't solve this bug yet. I can't use PSRAM buffering because of its unstable bandwidth (jittering because the bus is shared between reading from and writing to PSRAM). I have to stay with bounce buffe on SRAM but I want to overcome this crash. Please help. Thank you
How to reproduce?
No response