cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F745VE ADC trigger and UART DMA normal mode problems

Oleksandr Yaremchuk
Associate II
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)

{

}

1 ACCEPTED SOLUTION

Accepted Solutions
Oleksandr Yaremchuk
Associate II
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

View solution in original post

1 REPLY 1
Oleksandr Yaremchuk
Associate II
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