cancel
Showing results for 
Search instead for 
Did you mean: 

I have a question about the STM32G031. I want to confirm that the 28 pin package can be programmed using pins 18 and 19 with uart?

ECruz.2
Associate

 according to the datasheet, I understand that PA11 and PA12 are mapped by default, which don't have USART TX/RX function, it should be changed to PA9 and PA10.

AN2606 says that P9 and P10 can be used

Does it mean that the bootloader automatically switches to that function?, or the UFQFN28 packages cannot be programmed by pins 18 and 19 (PA9/PA10 [PA11/PA12])? 

2 REPLIES 2
gbm
Lead III

Read The Fine STM32 Manual - application note AN2606 in this case.

KDJEM.1
ST Employee

Hello @Edson Cruz González​,

If you refer to AN2606 and precisely STM32G03xxx/ STM32G04xxx devices bootloader Section, you can conclude on UFQFN28 packages USART1 PA9/PA10 IOs are remapped on PA11/PA12.

Also, you can activate the USART2 bootloader with PA2/PA3 pins.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.