STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

stm32f103 adc connected to potentiometer

Posted on May 10, 2013 at 09:00i have connected a potentiometer(via stm32f103 3.3 v) to stm32f103 adc channel 1 (ADC1_IN1), with continuous mode, sampling 1.5. i am getting the values in DR register, and want to change the values during run time by ...

aman by Associate II
  • 9 replies
  • 0 kudos

ADC via dma and USART

Posted on February 13, 2013 at 10:52 Hello, i am having trouble writing code on STM32F4Discovery. my goal is to get values from ADC in continuous mode and send them to USART/UART (with DMA or without)using interrupts. so i wrote a code made out ...

ADC Discovery Help!

Posted on May 07, 2013 at 21:15Hi guys, im trying to use the ADC on my board, but i have a problem,  after  enable the ADC (ADON=1 ),i have to put ADONS=1 to start the convertion,and i dont know how!?,i was reading the datasheet and tu put ADONS=1 i...

kotoel26 by Associate II
  • 5 replies
  • 0 kudos

Measuring a sinewave

Posted on May 03, 2013 at 11:19Hello everyone, I am trying to measure a sinusoid signal via ADC. I used timer's trigger to obtain different samples. But i don't know how i can synchronize the trigger's time with the frecuency of the signal, to obtai...

montoya by Associate
  • 2 replies
  • 0 kudos

stm32f4 adc problem

Posted on April 21, 2013 at 14:58I would like to use stm32f4 to measure a battery voltage, like AA1.5v I connect the postive line to PC5 and gnd line to GND.I reference the example code on the Internet. But the code is stop at the while of adc flag....

ctc.ctc by Associate II
  • 2 replies
  • 0 kudos

ADC with DMA in FreeRTOS

Posted on April 14, 2013 at 17:31 Dear all: I have been using the STM32F4 Discovery for few weeks by exploring examples related to DMA and ADC (e.g.,ADC_Interleaved_DMAmode2,TripleADC_Interleaved_DMAmode2, etc). I tried to use these co...

mstsai by Associate II
  • 1 replies
  • 0 kudos

STM32F4 ADC polled

Posted on December 12, 2012 at 15:06 I am trying to use the STM32F4 ADC1 in a simple polled loop. HCLK is 168MHz. My code calls RCC_Configuration_Adc1, GPIO_Configuration_Adc1, ADC_DeInit and ADC1_Configuration then goes to the main loop...

John F. by Senior
  • 9 replies
  • 0 kudos

Missing ADC Codes on STM32F1 / ADC3

Posted on April 04, 2013 at 17:37Hi all,      When I supply 2 of my ADC inputs with 3V ramp/triangle/sine waves, it seems that values from 1024 - 1048 are reporting as 1023.  There is another smaller ''dead band'' from 1087 up to 1092.  Everything e...

diydsp by Associate
  • 1 replies
  • 0 kudos

Maximum ADC clock frequency?

Posted on March 28, 2013 at 12:18Hi! I have a question regarding the maximum clock frequency for the ADC. The data sheet on STM32F407 gives maximum clock frequency for ADC as 36 MHz (Doc ID 022152, Rev 3, page 124) for power supply of 3.6 V. Howev...

dusan2 by Associate III
  • 4 replies
  • 0 kudos

ADC channel match

Posted on March 11, 2013 at 14:13Hi We figured out some ADC channel miss match on STM32F100C8 device, which we couldn't explane. We use the following test setup: - ADC1_IN0 (PA0) to ADC1_IN3 (PA3) are used. - Regular group scan mode with DMA is used...

loeffel2 by Associate II
  • 1 replies
  • 0 kudos