cancel
Showing results for 
Search instead for 
Did you mean: 

I was doing some work with ADC using DMA to store the data. So, I dosen't find a solution to configure my stm32G473 with timer . I watched with a scope the ADC input and i watched also the data stored in the buffer and there is no relation. Thank's

NToua.2461
Associate II
 
2 REPLIES 2
Igor Cesko
ST Employee

Hello NToua.2461 (Community Member),

If the DMA is working and DMA is transferring data to memory buffer then also the timer works - because ADC is triggered from timer. You can check the basic functionality by disabling the timer - then conversions should not be triggered and not transferred by DMA.

Please check the STM32CubeMX example - in the STM32G4 STM32Cube package is there example how to correctly set timer with ADC:

"\STM32Cube_FW_G4_V1.3.0\Projects\NUCLEO-G474RE\Examples_LL\ADC\ADC_GroupsRegularInjected_Init" 

Regards

Igor

NToua.2461
Associate II

THANK you for your help.