cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to read ADC on a STM32F302

ebommer
Associate II
Posted on September 25, 2014 at 20:04

 

 

The original post was too long to process during our migration. Please click on the attachment to read the original post.
1 REPLY 1
Posted on October 02, 2014 at 10:19

Hi ebommer,

I'm not sure I fully understand your problem, many confusing items in your post:

  • You're describing issue with ADC2 whereas in the code you use ADC1
  • The PA3(ADC1_IN4) is not set, and you're talking about 3 channels whereas in the code you use 7 channels.
Please go through the sample codes first, understand them and their concepts thoroughly and only then move forward.

PS: To have more insight into ADC applications please check the following example: STM32Cube_FW_F3_V1.0.0\Projects\YourBoard\Examples\ADC

PS: Download

http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/LN1897/PF260613?icmp=pf260613_pron_nb_jun2014&sc=stm32cubef3-pr#

Regards,

Heisenberg.