2013-02-14 11:14 PM
Hi,
I am new to this STM32F30x series microcontrollers. For my application i am using the channels ADC12_IN6 and ADC12_IN7 in Interrupt mode. (Without DMA).These GPIO's are configured as a input pins(PC0 & PC1) and ADC channels are conconnected with 3v and 2v (input volatge). After issuing the ADCstart of conversion , waiting for the ADC interrupt. I am getting the Interrupt and i am reading the DR register for ADC converted value for ADC 1. Every time i read the ADC DR register, i am getting only the 3v value. How do i get the ADC12_IN7 channel value? For getting the ADC12_IN7 value, which register i have to read? Please advise me on this. Regards, Murthy2013-02-15 03:10 AM
Haven't spent much time with the F3's, can you read multiple channels without using DMA?
What if you read them individually and get the expected values?2013-02-15 09:37 AM
Four registers are available for 4 injected channels, and can be read after conversion of injected channels is complete. There is also a pacing mechanism that supports reading the DR register during multiple regular channels conversion, which I may investigate just for the exercise.
Since few are familiar with the F3, perhaps posting the code would result in more comprehensive help. Cheers, Hal