HAL_PWREx_EnterSHUTDOWNMode not working due USART_DMAREQUESTS_SW_WA being set on stm32u5xx
On stm32u5xx HAL_PWREx_EnterSHUTDOWNMode will not work when a DMA is still active.
The fun part is, that after a uart dma transmit, the DMA transmit enable flag is not cleared due the undocumented define USART_DMAREQUESTS_SW_WA.
- What's the reason behind USART_DMAREQUESTS_SW_WA?
- Is their a way to unset USART_DMAREQUESTS_SW_WA through CubeMX?
