2024-05-01 06:01 AM
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.
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.
This is the configuration.
Solved! Go to Solution.
2024-05-07 12:57 AM - edited 2024-05-07 01:05 AM
Hello,
You need to disconnect STLINK-VCP from your MCU by desoldering SB14 and SB13 and solder solder bridges SB62 and SB63:
2024-05-01 10:51 AM
Hello,
You need to provide your source code for that.
2024-05-03 03:10 PM
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.
2024-05-03 04:24 PM
How to Change the solder bridges SB62 and SB63 to allow the ADC in2 and in3 to work as ADCs?
2024-05-07 12:57 AM - edited 2024-05-07 01:05 AM
Hello,
You need to disconnect STLINK-VCP from your MCU by desoldering SB14 and SB13 and solder solder bridges SB62 and SB63:
2024-05-07 02:02 AM
Hello,
Thanks, I think it's my problem. But before doing that, I have a question: Can I run new code on the Nucleo board after desoldering SB14 and SB13?
2024-05-07 02:10 AM - edited 2024-05-07 02:10 AM
Didn't understand your question!
SB14 and SB13 are used to connect/disconnect STLINK-VCP from your UART.
2024-05-07 02:18 AM
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.