Hallo,does anybody have an Example(without HAL), how I can initialize an external Interrupt with STM32F103 Bluepill on PIN B1?At this moment I try with this[code]procedure Event(); iv IVT_INT_EXTI1; ics ICS_AUTO;beginGPIOC_ODR := not GPIOC_ODR; // To...
Posted on September 06, 2016 at 20:06Hallo,I use the Mikroe compiler and don't get the SDADC for work :(Is there a step by step manual, which values I have to use in which order?!Maybe1. enable SDADC2. Initlialice3. calibrateor maybe1.Init2. enable?...
Posted on May 25, 2015 at 20:51
Hallo,
I try to read the ADC but get allways 0 als result :-(
Does anybody have an Idea whats wrong?
GPIO_Clk_Enable(@GPIOA_BASE);
GPIO_Config(@GPIOA_BASE,_GPIO_PINMASK_All,_GPIO_CFG_MODE_ANALOG or _GPIO_...
Posted on October 30, 2014 at 11:17Hi,I try to use the ADC with ext ref but it doesn't work...I use ADC 1 from PA3.Are there any sample or does have anybody code example? #whiskey-tango-foxtrot
Posted on May 26, 2015 at 15:30
now it works :)
there was something, that should only use once..but I put it into the loop..
Only one is this
Procedure ADC_Init;
Begin
ADON_bit :=1; // ADC on/off
CONT_bit :=1; // use continius measur...
Posted on May 26, 2015 at 14:36
yes, I think with Xmega its much easier, because more hrlp from the community :(
Now I have this, but it run about 1 to 5 seconds then the ADC freeze...
And I can't see anything like I asked into the Ref...
Posted on May 26, 2015 at 12:09is there any Diagram where I can see, what and when I have to set for using Perepheri?!?Thinks like For using ADC you have set1.DMA ON2. ADC ON3.configureiece register X4.Write reggister y5. wait ms6. read something so...
Posted on May 26, 2015 at 07:40 I found this // RCC_APB2ENR:= //ADC CLK activate ADC1EN_bit :=1; // RCC_APB2LPENR := // it is allowed to write only the ADC_CKL bit= or have I write all bits(16?) And I found this, do I really need all?!? ...