2023-02-02 09:07 AM
Using CubeMX to create a new project on the STM32L0X0 series. I need two UARTS, which this part offers. However, in CubeMX, when I try to enable the SWD, it creates a conflict is the SYS tab for "System Wake-Up 3". When I roll over this, it says it conflicts with "USART2: Asynchronous Mode" . I'm not sure what System Wake-Up 3 is; I don't see any reference to multiple instances of wake-ups in the reference manual. I also don't see a GPIO conflict; the SWD interface only uses PA13 and PA14 which nothing else needs. What am I missing?
Solved! Go to Solution.
2023-02-03 01:01 AM
Hi @Community member,
the conflict in the CubeMX is caused by placing USART2_TX signal on the same pin where SYS_WKUP3 is located. So you cannot enable it because the pin is already "occupied". If you don't need this wake-up pin (I suppose you only need SWD), you can ignore it, there is no conflict with SWD and nothing should be stopping you from generating the code.
BR,
Jaroslav
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.
2023-02-03 01:01 AM
Hi @Community member,
the conflict in the CubeMX is caused by placing USART2_TX signal on the same pin where SYS_WKUP3 is located. So you cannot enable it because the pin is already "occupied". If you don't need this wake-up pin (I suppose you only need SWD), you can ignore it, there is no conflict with SWD and nothing should be stopping you from generating the code.
BR,
Jaroslav
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.