Skip to main content
cfilipescu
Senior
July 19, 2022
Question

HAL_UARTEx_ReceiveToIdle_DMA support on STM32MP15 products

  • July 19, 2022
  • 4 replies
  • 2167 views

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

This topic has been closed for replies.

4 replies

PatrickF
Technical Moderator
July 21, 2022

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 'Best Answer' on the reply which solved your issue or answered your question.Tip of the day: Try Sidekick STM32 AI agent
cfilipescu
Senior
August 12, 2022

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

Piranha
Principal III
August 12, 2022

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...

Tesla DeLorean
Guru
August 13, 2022

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 VenmoUp vote any posts that you find helpful, it shows what's working..