Solved
LTDC: Non-editable Total Width and Total Height are short of 1 pixel?
- March 8, 2025
- 1 reply
- 487 views
Hi,
looking at the screenshot below of CubeMX in the LTDC, the total Width and total Height are non-editable (i.e. auto calculated) but they are one pixel less?
For example, for the attached display datasheet:
- Horizontal Sync Width (Editable) = 8 pixels
- Horizontal Back Porch (Editable) = 7 pixels
- Active width (Editable) = 800 pixels
- Horizontal Front Porch (Editable) = 6 pixels
So the total is 821 pixels instead of 820. But CubeMX displays 820 and it is not editable.
Did I miss something? Do I need to change some other setting?
Thank you :)


