Skip to main content
Associate II
May 1, 2024
Solved

Problem in ADC2 and ADC3

  • May 1, 2024
  • 2 replies
  • 2807 views

Hello,

I'm having trouble with ADC2 and ADC3 on my NUCLEO-L010RB board. I've utilized all 16 ADCs on the microcontroller, and the code is functioning correctly except for these two ADCs. I am using LPUART.

Minaihab_0-1714567082268.jpeg

In this image, I obtained a reading of 40 from all the sensors connected to ADCs, corresponding to the ASCII character "(". However, ADC2 and ADC3 consistently display the same value, even when I modify the input to any value other than 40. These two ADCs persist with this issue.

Minaihab_1-1714568157369.png

This is the configuration. 

 

This topic has been closed for replies.
Best answer by mƎALLEm

Hello,

You need to disconnect STLINK-VCP from your MCU by desoldering SB14 and SB13 and solder solder bridges SB62 and SB63:

SofLit_0-1715068574167.png

 

2 replies

mƎALLEm
Technical Moderator
May 1, 2024

Hello,

You need to provide your source code for that.

"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."
MinaihabAuthor
Associate II
May 3, 2024

i can't send the code but after conducting numerous tests, I've discovered that ADC inputs IN2 and IN3 behave as USART inputs, even when I select ADC mode as indicated above.

MinaihabAuthor
Associate II
May 3, 2024

Minaihab_0-1714778557615.png

How to Change the solder bridges SB62 and SB63 to allow the ADC in2 and in3 to work as ADCs?

MinaihabAuthor
Associate II
May 7, 2024

Thanks, I found the answer to my question, and I thought that the problem would be solved. I will ask again if there are any issues after desoldering SB14 and SB13 and soldering solder bridges SB62 and SB63.