STM32 MCUs Products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Scanning multiple channels using polling on STM32f401Re

Dear ST community,I am using ADC to measure different voltages and I need a total of 15 channels and I need to measure ADC in a polling mechanism. When I useHAL_ADC_GetValue(&hadc1);It gives me value for only one ADC channel I am unable to receive va...

Maaz by Associate
  • 971 Views
  • 2 replies
  • 0 kudos

DMA UART transfer error "HAL_DMA_ERROR_TE"

Hi all,I'm trying to setup a DMA TX UART code using STM32H743VI MCU. The problem I'm facing right now is every time I call HAL_UART_Transmit_DMA function, I get a HAL_DMA_ERROR_TE in my DMA error call-back. The actual line of code is as follows:char ...

0693W00000D0jQQQAZ.png
Zahme.2 by Associate II
  • 4823 Views
  • 6 replies
  • 0 kudos

Resolved! How to use TIM2 ETR and TIM2 CH1 at the same time?

On F4 (and also other families) The TIM2_ETR and TIM2_CH1 are both on the same pins.The pins are PA0, PA5 and PA15.How can I configure the timer/gpio to get ETR on PA5 and CH1 on PA15 ?The alternate function numbers are the same for ETR and CH1...I n...