Skip to main content
Oleksandr Yaremchuk
Associate
July 18, 2017
Solved

STM32F745VE ADC trigger and UART DMA normal mode problems

  • July 18, 2017
  • 1 reply
  • 640 views
Posted on July 18, 2017 at 16:21

Hi, I'm working with STM32F745VE 

I have problem with ADC trigger and UART DMA normal mode.

1. I try trigger adc1 by timer2 update event, but it work only with 

timer8 update

2. static void UART_DMATransmitCplt(DMA_HandleTypeDef *hdma) doesn't call HAL_UART_TxCpltCallback(huart) in

/* DMA Normal mode*/

if((hdma->Instance->CR & DMA_SxCR_CIRC) == 0U)

{

}

    This topic has been closed for replies.
    Best answer by Oleksandr Yaremchuk
    Posted on November 08, 2017 at 17:52

    STM32F74xxx STM32F75xxx Errata sheet

    Workarounds

    • For TIM1 and TIM8 TRGO or TRGO 2 events: select the trigger detection on both the rising and falling edges. The EXTEN[1:0] or JEXTEN[1:0] bits must be set to 0x11 in the ADC_CR2 register.

    • For TIM2/TIM4/TIM5/TIM6/ TRGO or TGRO2 events: enable the DAC peripheral clock in the RCC_APB1ENR register

    1 reply

    Oleksandr Yaremchuk
    Oleksandr YaremchukAuthorBest answer
    Associate
    November 8, 2017
    Posted on November 08, 2017 at 17:52

    STM32F74xxx STM32F75xxx Errata sheet

    Workarounds

    • For TIM1 and TIM8 TRGO or TRGO 2 events: select the trigger detection on both the rising and falling edges. The EXTEN[1:0] or JEXTEN[1:0] bits must be set to 0x11 in the ADC_CR2 register.

    • For TIM2/TIM4/TIM5/TIM6/ TRGO or TGRO2 events: enable the DAC peripheral clock in the RCC_APB1ENR register