Skip to main content
Ranjeet Singh
Senior
September 4, 2023
Solved

ADC error

  • September 4, 2023
  • 3 replies
  • 2312 views

RanjeetSingh_0-1693807534405.png

when i generate the adc based code then it show the error without doing anything in the main  code

This topic has been closed for replies.
Best answer by Ranjeet Singh

reason is this that there is no driver of adc ,so copy from another folder and paste in this code,so now working

3 replies

Issamos
Lead III
September 4, 2023

Hello @Ranjeet Singh 

Can you add the code you are using, your firmware version and your CubeIDE and CubeMX version to make it easier to find the problem.

Best regards.

II

Ranjeet Singh
Senior
September 4, 2023

code is bydefault generated 

Issamos
Lead III
September 4, 2023

I suggest you change the directory file and regenerate the code.

Best regards.

II

Ranjeet Singh
Ranjeet SinghAuthorBest answer
Senior
September 4, 2023

reason is this that there is no driver of adc ,so copy from another folder and paste in this code,so now working

Issamos
Lead III
September 4, 2023

If your question is answered please check the solution as best answer to be diffused to everyone.

Best regards.

II

Ranjeet Singh
Senior
September 4, 2023

i have another problem ,live debugging not work, it say target not found