Browse
STMicroelectronics Community
FAQs
Sign In
Product forums
STM32 MCUs
STM32 MCUs Products
STM32 MCUs Boards and hardware tools
STM32 MCUs Software development tools
STM32 MCUs Embedded software
STM32 MCUs TouchGFX and GUI
STM32 MCUs Motor control
STM32 MCUs Security
STM32 MCUs Wireless
STM32 MPUs
STM32 MPUs Products
STM32 MPUs Boards and hardware tools
STM32 MPUs Embedded software and solutions
STM32 MPUs Software development tools
MEMS and sensors
MEMS (sensors)
Imaging (sensors)
Automotive and Transportation
Automotive MCUs
AutoDevKit Ecosystem
GNSS positioning
Edge AI
Analog and audio
Interface and connectivity ICs
Power management
ST25 NFC/RFID tags and readers
STM8 MCUs
Other: hardware
Other: software
Knowledge base
STM32 MCUs
STM32 MPUs
MEMS and sensors
Analog and audio
EMI filtering and signal conditioning
Interface and connectivity ICs
Power management
Quality & reliability
Academy
About
Community guidelines
Feedback forum
Community blog
Developer news
Rabra.1
Associate II
since
2020-11-27
2023-06-14
User statistics
5
Posts
0
Solutions
0
Kudos given
0
Kudos received
STMicroelectronics Community
About Rabra.1
Options
Report User
User Activity
Posts
Replies
I'm working on stm32 U5 on an UART with DMA. It's good if the DMA is in normal mode, but when I want to activate the circular mode on RX dma size, my CPU enters in hard fault .
2021-10-08
i see in stm32u5xx_hal_dma.c that only normal mode ofr dma is compliant. How can I manage the ciricular mode ?
I curently work on bootloader for stm32 via uart link and manage to update the bootloader, if i use a character by character method via uart+interuption on TX side.But if I work with DMA to send characters the bootloader doesn't recognize command ?
2020-11-27
Re: I'm working on stm32 U5 on an UART with DMA. It's good if the DMA is in normal mode, but when I want to activate the circular mode on RX dma size, my CPU enters in hard fault .
2021-10-08
thx , i will try this evening
Re: I'm working on stm32 U5 on an UART with DMA. It's good if the DMA is in normal mode, but when I want to activate the circular mode on RX dma size, my CPU enters in hard fault .
2021-10-08
yes , i can use it, just to create and understand the strcuture
Re: I'm working on stm32 U5 on an UART with DMA. It's good if the DMA is in normal mode, but when I want to activate the circular mode on RX dma size, my CPU enters in hard fault .
2021-10-08
HAL_StatusTypeDef ResultHal = HAL_OK; pDMAHandle->Instance = pDMAChannel; pDMAHandle->Init.Request = DMARequest; pDMAHandle->Init.Direction = DMADirection; if (pDMAHandle->Init.Direction == DMA_PERIPH_TO_MEMORY) { pDMAHandle->Init.SrcInc = DMA_...