cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F303 setup ADC with all 4 ADCx.

EmbeddedErik
Associate II

Hello! I have a need to use ADC1, ADC2, ADC3 and ADC4 all at the same time, and preferably DMA on all of them too. I have not coded this yet, but I am mostly wondering if there are any pitfalls or things i should think about when doing this, so they get configured properly? It is a STM32F303VB chip that I will use, which should have all the channels I have need of. I am also using the Standard Peripheral Library for this, and feel I have a good idea how to configure 1 ADC, but few of the examples use more than ADC1 at the same time.

Best regards!

1 REPLY 1

I don't think there are any general pitfalls, if you know the basics (e.g. you need to have stable VREF) and once you've read DS/RM/ES thoroughly enough (perhaps. note that there are differences between the various "memory size" variants of 'F303, some surprising, something to be borne in mind should you need to migrate for whatever reason).

I can imagine quite a couple of application-specific ones though. But, IMO there's no better way to find out then by trying, maybe using a suitable Nucleo/Disco for experiments.

I don't think SPL or any other "library" is particularly helpful with this or any other not-that-usual application, but maybe that's just me.

JW