Skip to main content
Danodino
Associate
February 10, 2024
Question

How may external signals am I able to read with a STM32F469I-DISCO using ADC?

  • February 10, 2024
  • 3 replies
  • 1706 views

Hello!
I'm starting a project where I need to read several external analog signals simultaneously. The reference manual of the STM32F469I-DISCO states that its ADC has up to 16 channels to measure analog signals. However, upon reviewing the schematic of the board, I realized that there aren't enough physical connectors for the ADC channels (or at least that's what I found—I'm still a beginner). Is there any way to solve this problem, such as using an external module or board?

I appreciate your responses and assistance very much.

 
 
 

3 replies

STTwo-32
Technical Moderator
February 10, 2024

Hello @Danodino and welcome to the ST Community :smiling_face_with_smiling_eyes:.

the STM32F469I-DISCO is based on the STM32F469NIH6 MCU wish (according to the DS11189) give you the opportunity to use 24 ADC channel on the same time:

STTwo32_0-1707551933006.png

If you are looking for more ADC channels, you can even look for another MCU that support more channels (ST-MCU-FINDER-PC may help you). Or you can use an external ADC to SPI converter that add some ADC channels throw SPI interface.

Best Regards.

STTwo-32

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.
Andrew Neil
Super User
February 10, 2024

@Danodino wrote:

The reference manual of the STM32F469I-DISCO states that its ADC has up to 16 channels to measure analog signals.


You mean the User Manual, UM1932?

https://www.st.com/resource/en/user_manual/um1932-discovery-kit-with-stm32f469ni-mcu-stmicroelectronics.pdf

I don't see "16 channels" mentioned in there?

 


@Danodino wrote:

However, upon reviewing the schematic of the board, I realized that there aren't enough physical connectors for the ADC channels


That's the trouble with a development board like that - which has a loads of accessories bolted on:

AndrewNeil_2-1707558218058.png

AndrewNeil_3-1707558334140.png

All of those things use up processor pins - meaning they're not free for you to use for other things.

If you want maximum unobstructed access to as many of the chip's pins as possible, you want a dev board with as few "extras" as possible.

So you'd be better looking at a Nucleo board - they are pretty minimalistic in terms of the "extras":

https://www.st.com/en/evaluation-tools/stm32-nucleo-boards.html

 

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
AScha.3
Super User
February 10, 2024

Hi,

STM32F469I-DISCO has some ADC inputs on connectors, you can use:

AScha3_0-1707566145291.pngAScha3_1-1707566186221.pngAScha3_2-1707566234582.png

So you have : 6 x adc in on CN8 , some (4x) on CN5+7 :  PA1/2/6/7 , (2x) on CN12 : PA5 , PC1 ; 12x i found.

maybe more, just look in ds pinouts for all pins on the headers.

How many you need ? + you have all the opamps+circuit to bring clean 0...3v3 signals to the inputs ?

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
Danodino
DanodinoAuthor
Associate
February 12, 2024

Hello again,

Thank you very much for replying, @AScha.3. :)

Being optimistic, I need to read 12 signals (I'm developing a system for electrocardiography recording), but I can reduce it to only 6 signals if necessary.

I found the ones you mentioned on CN8 and CN12, but I don't know how you identified the 4x from CN5 and CN7; there is no label related to ADC channels (it would be awesome if there are actually 12 available channels). Could you explain how you figured them out?

 


@AScha.3 wrote:
How many you need ? + you have all the opamps+circuit to bring clean 0...3v3 signals to the inputs ?

My analog circuit is supplied with a symmetric source of ±12V. My outputs are supposed to be in the -1.5V to 1.5V range, but there isn't any extra circuit that ensures my output won't be greater than 3.3V and less than 0V. Now, I realize that I have to add that to my PCB and make the pertinent modifications (thank you for that).


 

AScha.3
Super User
February 12, 2024

Hi,

Let your book of wisdom be the manual .

Here it is the ds and the rm , about 1800 pages, and the board circuit diagram .

In circuit diagram you see, what pins you could use to connect , 

and in ds look in pin definitions, whats on these pins: looking for ADC inputs you see, they are on some group of pins:

AScha3_0-1707723135750.png

AScha3_1-1707723178433.png

AScha3_2-1707723313283.png

So  PA1/2/6/7 can be switched to adc inputs ...

Now : what you should do , to go on ->

Use the comfort, the stm32CubeIDE or CubeMX offers you:

Start new stm32-project, select your 469-disco board and give a name and let it work some minutes...

then have a pinout picture, where you can see whats connected and change/set the analog inputs you want to the ADCs . Then generate code and you can start programming .

And if you have a problem...someone (me?) will show you how to do.

 

 

"If you feel a post has answered your question, please click ""Accept as Solution""."