2023-09-08 10:56 AM
Hello everyone, I have a big problem with the hardware. I designed the hardware before dealing with the Cubemx. Starting from a circuit that worked, I mistakenly thought that giving the system RGB666 from RGB888 meant giving bits 0 to 6 R0...R6, G0..G6, B0..B6. I then connected the two bits of the display R0, R1, G0, G1, B0 B1 to ground, as shown in the figure. But I have the problem that everything is wrong.Is it possible to remap LTDC so I can see everything properly?
Thanks for your help.
Solved! Go to Solution.
2023-09-10 05:59 AM
Ok very strange, this depend from order in touchgfx add screen, as you can see, if I change the order, it appair or not..
2023-09-10 06:19 AM
I dont see way. I work with touchgfx more as 5 years from ver 4.10 and every release have own "buggs"...
Too you dont write how you correct palete array. You can see this in target generated c files. L8 is indexed RGB888 format.
2023-09-10 06:41 AM
I'v no corrected array, this is result by default. I found the problem for text scretch and was in RAM buffer config. Do you mean LCD8bpp_CLUT? thanks for your intrest.
2023-09-10 07:20 AM
When you dont correct CLUT then colors isnt OK for your hw..., but usable
2023-09-10 07:46 AM
I can do this later, now I have time to fix the HW and also run a demo! Thanks for your help, you saved my life. I am a senior engineer for power systems, inverter and motor control, if you need help all you have to do is ask! THANK YOU!