Skip to main content
Explorer
June 29, 2022
Solved

Does STM32G0x1 have a WKUP3 pin?

  • June 29, 2022
  • 2 replies
  • 815 views

Referring to RM0444 and DS12232 (referring to STM32G0x1 programming manual and data sheet).

In the Low Power section, the RM states that there are five wakeup pins:

0693W00000Nt4V0QAJ.jpgBut in the register section, there is clear mention of WKUP3 (EWUP3 bit in PWR->CR3, WP3 bit in PWR->CR4, WUF3 bit in PWR->SR1, and CWUF3 bit in PWR->SCR).

However, when I look at the CMSIS files (stm32g081xx.h), I see:

#define PWR_SCR_CWUF_Msk (0x3BUL << PWR_SCR_CWUF_Pos)

0x3B = 00111011 --> note, the third bit (CWUF3) is not included in the mask.

Are the register maps in RM0444 wrong for including bits for WKUP3, or is there some hidden use for WKUP3 I haven't found yet?

Edit: also, WKUP3 does not appear anywhere in DS12232 (Data Sheet for the STM32G071)

    This topic has been closed for replies.
    Best answer by KDJEM.1

    Hello @SHobb.1 ;

     

    The issue is fixed in RM0444 Rev6 .

     

    Thank you.

    Kaouthar

    2 replies

    Technical Moderator
    July 7, 2022

    Hi @SHobb.1​ ,

    I confirm this issue.

    The STM32G031, STM32G041, STM32G051, STM32G061, STM32G071 and STM32G081 have five wakeup pins (WKUPx, x=1,2,4,5,6).

    The STM32G0B1 and STM32G0C1 have six wakeup pins (WKUPx, x=1,2,3,4,5,6).

    I reported this issue internally.

    Internal ticket number: 131448 (This is an internal tracking number and is not accessible or usable by customers).

    Kaouthar

    KDJEM.1Answer
    Technical Moderator
    October 15, 2025

    Hello @SHobb.1 ;

     

    The issue is fixed in RM0444 Rev6 .

     

    Thank you.

    Kaouthar