Skip to main content
Visitor II
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

    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'

    Visitor II
    August 12, 2022

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

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

    Graduate II
    August 13, 2022

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