2020-03-10 03:36 AM
I have a working F429 CubeIDE project that I want to switch from 16BPP to 8BPP, I changed:
static LCD16bpp display;
to
static LCD8bpp_ARGB2222 display;
and when I run the application I fall into Hard Fault when the application calls HAL::initialize().
Any idea what could be wrong?
Thanks
2020-03-11 06:10 AM
I do not think that changing only this line of code will make the application running.
Do you use assets in your project ? If yes, are they in the ARGB2222 format ? What display and display interface do you use ? Are you sure they can both support ARGB2222 ? Did you make sure that your hardware is correctly configured for ARGB2222 ?
Please check all these information and provide more details on your setup.
/Alexandre
2020-03-11 06:37 AM
Hello Alexander and thank you for getting back to me.
This single line that I put here is not the only change, I just mention it here to try and clarify the issue.
I did changes on both the Designer project and on the LTDC definition under the CubeMX (Reflected in MX_LTDC_Init, basically using L8 with lookup color table)
Also, I'm currently trying this with no assets, only draw boxes.
I'll further explore this issue to see if I defined something wrong.
Thanks,
Eyal