Can the STM32H7 transmit/receive data over SPI and UART while in sleep mode?
I'm fairly new to low-power and sleep-mode applications of STM32H7 microcontrollers. I've been trying to read through the documentation, but I'm having trouble getting a whole picture idea of how this works, and connecting all the information from the RCC, peripheral, CPU, etc. sections.
Are the following two abilities possible? Are there any gotchas I should look out for? Do I have to select the right peripheral, like only SPI4 and SPI5 can do it? Any high level help would be very helpful!
- Can the STM32H7 do something like reading/writing as an SPI master and saving the data to memory though DMA in sleep mode? I want to read an ADC where the MCU is the master, without having the MCU running full blast the whole time.
- Same question about UART. Can it look for a certain type of packet in sleep mode, and then transmit a packet of data during sleep mode? The MCU will periodically be requested for data over UART, and then required to send a packet. Same as with the ADC, I don't want the MCU to have to be running full blast the whole time.
