Available RAM of Guition JC8048W550N board with ESP32S3 FH16R8 seems to be very low #410
Replies: 4 comments 1 reply
-
Short correction: RGBBus frequency has to be 16MHz. With 12MHz only a white screen is shown. |
Beta Was this translation helpful? Give feedback.
-
it is short the memory because the instructions that drive the display need to be placed into SPIRAM in order for the display to be able to run at the 16mHz. Some RGB displays will not operate at a lower frequency that the 16mHz and in order to get the increase in speed to achieve that instructions need to be moved from flash to SPIRAM where they are able to be executed at twice the speed. This would not need to be done if the MCU that was used had octal flash. It is the way it has to be to get things to work properly. You can try turning the option off that does this by adding |
Beta Was this translation helpful? Give feedback.
-
the soft reset crash is something I am working on fixing. It has to deal with the MicroPython GC and LVGL objects not being garbage collected when |
Beta Was this translation helpful? Give feedback.
-
Thanks for the clarification. I tried with lower frequencies but no success. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
First I would like to thank you for this incredible piece of work! It helped me to create an image for my JC8048W550N board without touch panel.
Build was very smooth, but after I flashed and started the device, I discovered that compared to a standard MicroPython image which supports PSRAM I am short of about 2.6MB RAM.
Are these memory chunks pre allocated for the lvgl drivers and therefore not available or am I missing a specific build configuration?
I would be very glad to get a hint about this topic.
I used the toml approach to create the image and after some small adjustments in the template in display_configs for this board I was able to compile and build the image with:
with the following toml file:
After flashing my board with the new image I started the board in Thommy and within my boot script looked at the provided memory and got the following output:
So SPIRAM is supported but compared to the 8.3MB I have available within the standard MicroPython image with octal PSRAM I am short of 2.6MB RAM.
I tested the lvgl support with the following very simple program:
It worked out of the box, but I also noted that the program crashes after a soft reset of the device. No problems after hard reset of the board.
By the way the section [indev.firmware_config.fw_config] had to be changed from the definitions provided in the template to make the build process working. This incompatible section in the toml templates could also be found in 'ESP32-S3-Touch-LCD-4.3.toml', 'CYD-8048S070C.toml', 'CYD-8048S043C.toml', 'CYD-3248S035C.toml' and 'CYD-2432S032C.toml'.
Chad to change
to
After this small modifications everything worked very smoothly.
Again many thanks for this great piece of work.
Beta Was this translation helpful? Give feedback.
All reactions