Setting appcore to 128 MHz before SPI init

So, we have an application running on a nRF5340, using an LCD connected to SPIM4. The project uses Zephyr + LVGL.

We want to speed up communication to the LCD. At boot time, the app core runs at 64 MHz, causing SPIM4 to run at 16 MHz. I can set it to 128 MHz in main(), but at that point SPIM4 already is initialized by Zephyr. I checked using a test app and nrfx and setting the core speed to 128 MHz indeed speeds up SPIM4 to 32 MHz.

Is there a way to set te app cpu to 128 MHz before main() starts?

Parents Reply Children
Related