cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_UARTEx_ReceiveToIdle_DMA support on STM32MP15 products

cfilipescu
Senior

Is HAL_UARTEx_ReceiveToIdle_DMA supported on STM32MP15 products? If so is there an example for using it?

4 REPLIES 4
PatrickF
ST Employee

Hi @cfilipescu​ ,

The CubeMP1 HAL does not contain HAL_UARTEx_ReceiveToIdle functions, but you could easily reuse them from CubeH7 which share almost same UART/USART HW.

See also this H7 post which also link to an interesting page: https://github.com/MaJerle/stm32-usart-uart-dma-rx-tx#idle-line-or-receiver-timeout-events

Regards,

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
cfilipescu
Senior

Not a concrete example so I can't select it as best answer.

Piranha
Chief II

https://community.st.com/s/question/0D53W00001RiIo1SAF/stm32f407-haluartexreceivetoidle-function-missing

And also see this link to understand how ridiculous and incompetent the HAL API design is...

I'd imagine anything you engineer will be better than anything in, or missing, from the deeper HAL implementation.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..