Skip to main content
User1655833706281357277
Associate III
October 26, 2020
Solved

I have an product using a STM32l486. It uses USART1 with transmit and receive DMA to communicate over a serial port. Serial port packets are all the same length. My application works in run mode, but not in sleep mode.

  • October 26, 2020
  • 1 reply
  • 540 views

I can send and receive packets in run mode, but I never get a RX DMA interrupt when in sleep mode. I do not have any interrupts enabled in the USART hardware, and do have DMAR and DMAT enabled. Any ideas on what might be missing?

Thank you.

This topic has been closed for replies.
Best answer by User1655833706281357277

Sorry, never mind. I missed the LL_AHB1_GRP1_EnableClockStopSleep() macros. That's apparently what I need.

1 reply

User1655833706281357277
User1655833706281357277AuthorBest answer
Associate III
October 26, 2020

Sorry, never mind. I missed the LL_AHB1_GRP1_EnableClockStopSleep() macros. That's apparently what I need.