Stop mode in STM32G0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-09 3:34 AM
Dear All,
I'm using stm32G0 MCU for battery operated application and I2C, UART and RTC and GPIO are using
I want know What should be peripheral state before going to STOP mode mean "should be deinit before going to stop mode or leave it as it is and reint all peripheral after wakeup".
Solved! Go to Solution.
- Labels:
-
STM32CubeExpansion
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-09 5:04 AM
Mr chau.2 I don't understand, but before turning off the MCU, do you want to check the status of the peripherals in the MCU and then turn it off?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-09 5:04 AM
Mr chau.2 I don't understand, but before turning off the MCU, do you want to check the status of the peripherals in the MCU and then turn it off?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-09 5:07 AM
No,
I want to know how to turn off the peripherals before going to stop mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-09 5:50 AM - edited ‎2023-11-09 5:53 AM
DeInit the uart pins with this command
example:
HAL_UART_DeInit(&huart1);
... Other turn off commands
