Single Conversion Mode for Multi-channel Reading
I m using an STM32 Nucleo F334R8 (for the first time) to control an Inverter. i m having problmes with the ADC channels reading. I have 6 ADC1 channel and 2 ADC2 channels. these channels are going to serve the following purposes:
1. All the channels have to be read, and printed using USART2, when a usart interrupt accurs. The reading should be timed by tim6, and the values of all the channels should be stored in array, the printing happens for 40 times and stops, so i can get a good sample of the read data.
2. the 2 adc2 channels and 1 of adc 1 channels have to be continuously read when a PWM of 40Khz is generated using tim1, in order to be used in PLL controls and other PI controls.
is what i m trying to do feasable? if yes should use DMA?
