Hi there,
I'm using the STM32F7xxx device with Embedded Wizard 8.3, and our underlying frame data is confgured as RGB565
The STMicro AppNote AN4861 for LTDC specifies that the line data size must be a multiple of 64 bytes, to allow the LTDC peripheral to execute burst reads. If it is not, then LTDC underrun errors arise.
Example: One of our displays has width 720px, which is 720*2 bytes = 1440 bytes. Which is not a multiple of 64 bytes, and LTDC underrun errors arise.
Another of our displays has width 800px, which is 1600 bytes. This is a multiple of 64 bytes, and everything is fine.
In order to rectify this, we chose the option to add dummy bytes at the end of each line. The LTDC width remains set at 720 bytes, and we specify the pitch at 736 px. As long as each line has 32 bytes (16 px) of dummy data at the end of it, we see that everything is perfect.
The big question is. Does the Embedded Wizard app support the ability to stuff padding bytes at the end of each line of the frame buffer?
* If yes, super, can you please tell me how?
* If no, we will have to change our Embedded Wizard application screen width from 720 -> 736, and apply offsets for all of our controls, and also offset touch information too, which will be very complicated.
Kind Regards,
Rob Shand