Posted on November 24, 2014 at 17:27
Hi,
I have this timer
void InitializeTimer(void)
{
TIM_TimeBaseInitTypeDef timerInitStructure;
NVIC_InitTypeDef NVIC_InitStructure;
RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2, ENABLE);
timerInitS...
Posted on November 20, 2014 at 12:07
Hi,
I'm a noob but I need to convert two analog signals with a command timer.
I have found a code from [DEAD LINK /public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=/public/STe2ec...
Posted on November 14, 2014 at 15:10
Hi,
I have this code, copied from anothers 3d in this forum, for a multi channel ADC:
#include <
stdio.h
>
#include <
stdlib.h
>
#include <
string.h
>
#include ''stm32f4xx.h''
//*******************...
Posted on October 21, 2014 at 16:40
Hi,
I was looking for an example about ADC with 2 input pin and I have found this code, from another old thread in this forum:
#include <
stdio.h
>
#include <
stdlib.h
>
#include <
string.h
>
#inclu...
Posted on November 25, 2014 at 11:44
ok thank.
I have a new simple timer
void INTTIM_Config(void)
{
TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure;
RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM3, ENABLE);
TIM_TimeBaseStructure.TIM_Period =...
Posted on November 15, 2014 at 13:11
ok, but 492 cycles, what is? 492 cycles/s?
so, with the code
/* ADC1 regular channel configuration ******************************/
ADC_RegularChannelConfig(ADC1, ADC_Channel_3, 1, ADC_SampleTim...
Posted on October 24, 2014 at 12:56ok thanks; to resolve this errors? .\output\controllo_mot.axf: Error: L6218E: Undefined symbol DMA_Cmd (referred from adc.o). .\output\controllo_mot.axf: Error: L6218E: Undefined symbol DMA_DeInit (referred from ad...