cancel
Showing results for 
Search instead for 
Did you mean: 

Typo inside the STM32F429 datasheet?

Mon2
Senior III

Hi. Believe to have found a typo inside the STM32F429 datasheet (document DocID024030 Rev 10). Studying the use of the STM32F429NI DISC1 Kit and the use of the onboard TFT display. The source code is noting that the CPU is configured into AF14 (alternate function 14) which sounds correct. Yet the RGB pins are not correctly mapped under AF14 inside the datasheet.

Specifically, Table 12 is showing that:

PB0 = LCD_R3 (if using AF9) but should be PB0 = LCD_R3 (if using AF14)

PB1 = LCD_R6 (if using AF9) but should be PB1 = LCD_R6 (if using AF14)

0690X000006ClJ3QAK.png

The IAR source code mapping looks to be correct as it is working:

0690X000006ClJ8QAK.png

and same typo in the STM32F750x8 datasheet?

0690X000006ClKfQAK.png

Please correct if my error.

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hello @Mon2​ ,

The datasheet seems correct, and the code in the cube mentioned AF9 for PB0 (LCD_R3) and PB1 (LCD_R6)

 /* GPIOB configuration */  
 GPIO_InitStructure.Pin = GPIO_PIN_0 | GPIO_PIN_1;
 GPIO_InitStructure.Alternate= GPIO_AF9_LTDC;
 HAL_GPIO_Init(GPIOB, &GPIO_InitStructure);

Kind Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

4 REPLIES 4
Uwe Bonnes
Principal II

Cube also maps uses AF == 0 for LCD_R3/PBO and LCD_R6/PB1

Which Cube? Where?

Imen.D
ST Employee

Hello @Mon2​ ,

The datasheet seems correct, and the code in the cube mentioned AF9 for PB0 (LCD_R3) and PB1 (LCD_R6)

 /* GPIOB configuration */  
 GPIO_InitStructure.Pin = GPIO_PIN_0 | GPIO_PIN_1;
 GPIO_InitStructure.Alternate= GPIO_AF9_LTDC;
 HAL_GPIO_Init(GPIOB, &GPIO_InitStructure);

Kind Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Mon2
Senior III

Thank you all for the replies. Further down the same TouchGFX generated init code, see that PB0 / PB1 are being applied with AF9 which makes sense.

Did not know till now that some pins could be mapped with AFx while others as AFy. Nice.

0690X000006ClXeQAK.png