Skip to main content
Ranjeet Singh
Senior
Sep 4, 2023 6:06 AM UTC
Solved

ADC error

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.
Ranjeet Singh
Ranjeet SinghBest answer
Senior
Sep 4, 2023 10:51 AM UTC

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

6 replies

Issamos
Super User
Sep 4, 2023 6:22 AM UTC

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
Sep 4, 2023 8:20 AM UTC

code is bydefault generated 

Issamos
Super User
Sep 4, 2023 10:17 AM UTC

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

Best regards.

II

Ranjeet Singh
Ranjeet SinghAuthorBest answer
Senior
Sep 4, 2023 10:51 AM UTC

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

Issamos
Super User
Sep 4, 2023 10:55 AM UTC

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

Best regards.

II

Ranjeet Singh
Senior
Sep 4, 2023 10:57 AM UTC

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