Skip to main content
Associate
Question

BUG FOUND IN LTDC 18bits mode in STMCubeMX 6.15.0

Hello ST team,

I would like to report a pin mapping issue in STM32CubeMX when configuring the LTDC peripheral in RGB666 (18-bit) mode, especially on STM32H750 (and other STM32H7 devices).

Problem description

When selecting RGB666 (18 bits) as the LTDC color format, CubeMX automatically assigns 7 bits to the Red channel instead of 6.

Example of generated mapping:

 

RED: R1–R7 ← 7 bits 
GREEN: G2–G7
BLUE: B2–B7

 

This results in a RGB766 (19-bit) configuration, which is invalid for the LTDC hardware.
The correct mapping for RGB666 should be:

 

RED: R2–R7 :white_heavy_check_mark:
GREEN: G2–G7 :white_heavy_check_mark:
BLUE: B2–B7 :white_heavy_check_mark:

    This topic has been closed for replies.

    2 replies

    Issamos
    Super User

    Hello @deived10 

    This has been already reported internally by an ST expert (according to this post). The problem should be solved on the future.

    Best Regards.

    II

    deived10Author
    Associate

     

    Hello, @Issamos . Thank you so much. 

     

    Best Regards,