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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-26 8:47 AM
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.
Solved! Go to Solution.
- Labels:
-
DMA
-
STM32L4 series
-
UART-USART
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-26 10:13 AM
Sorry, never mind. I missed the LL_AHB1_GRP1_EnableClockStopSleep() macros. That's apparently what I need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-10-26 10:13 AM
Sorry, never mind. I missed the LL_AHB1_GRP1_EnableClockStopSleep() macros. That's apparently what I need.
