cancel
Showing results for 
Search instead for 
Did you mean: 

adc error handler

Srinath_03
Associate II

hi

im using stm32g474vet6

timer1 is trigger mode ,timer3 slavemode, both timer1 and 3 operate at 5khz

timer1 will trigger timer3 and timer3 will trigger adc at every 5khz ,

im using adc in multimode dma ,

now the problem is when initally i start these configurations working fine , i have some protection for some calculation signals, when the protection occurs , i will start my sequence again , in that when again initializing these things adc1 init function is going to error handler.

 

i have tried with and without deinit of the peripherals which i used , but when again starting the sequence adc is going to error handler , 

what could be the reason 

 

1 REPLY 1
SofLit
ST Employee

@Srinath_03 wrote:

adc1 init function is going to error handler.


What adc1 init function returned as error? this is where you need to start. Then from the init HAL locate where it returned that error. Use breakpoints mainly on return "error" in "adc init function".

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.