Skip to main content
Visitor II
November 14, 2022
Question

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?

  • November 14, 2022
  • 2 replies
  • 839 views

 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])? 

    This topic has been closed for replies.

    2 replies

    Graduate
    November 15, 2022

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

    Technical Moderator
    November 15, 2022

    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