Skip to main content
Senior
March 8, 2025
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 :)

 

Ricko_0-1741474238541.png

 

Best answer by Ricko

The window at the bottom was hidden so I assumed there was no "tooltip" explanation. NowI see it at the bottom, it does say how it is calculated

 

Ricko_0-1741474804709.png

 

1 reply

RickoAuthorBest answer
Senior
March 8, 2025

The window at the bottom was hidden so I assumed there was no "tooltip" explanation. NowI see it at the bottom, it does say how it is calculated

 

Ricko_0-1741474804709.png