I'm working on ADC (12 bit) in NUCLEO-L4P5ZG board. In that the ADC value is correctly showing Upto ADC_IN_10 channel, afterwards it is showing random values for channel 11-15 what might be the reason?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-02-27 10:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-02-28 1:11 AM
Hello @pvall.1,
What values/ ranges are you getting?
Could you provide more details about the context, which ADC, ADC clock, using DMA?
You may also need to check if the ADC channels 11-15 are enabled in the code and properly configured
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-02-28 1:46 AM
Hi Sarra.S,
We are using 12 bit ADC with 3.3v Reference voltage, so the values are in range of 0 to 4095.
Settings of ADC are as follows
ADC mode:Single -ended
Prescalar :Asynchronous clock mode divided by 4.
Yes,ADC channels 11-15 are enabled properly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-02-28 1:51 AM
Hello again @pvall.1
Make sure that the ADC clock is running at the correct frequency
Also, are you using your own design ?
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-02-28 1:54 AM
It is running at correct frequency as we are getting values for remaining channels,I'm not understanding why is it not working for remaining channels.
Yes,I'm using own design.
