cancel
Showing results for 
Search instead for 
Did you mean: 

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.

User1655833706281357277
Associate III

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.

1 ACCEPTED SOLUTION

Accepted Solutions
User1655833706281357277
Associate III

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

View solution in original post

1 REPLY 1
User1655833706281357277
Associate III

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