Posted on March 11, 2016 at 21:02
Hello! I need an advice. My stm32f103cb chip has ADC with 0.39 us per point conversion rate on one channel. But datasheet says its max rate is 1 Msps (1us). I checked sampling rate with external oscillograph (1 ...
Posted on March 13, 2016 at 11:45Hi!How you change capacitors on PCB? Solder tip or hot air? Maybe the initial PCB has something that dissapears (violates) after heat treatement?
Posted on March 13, 2016 at 11:26
These usb functions are come with CDC USB example for stm32f1xx perif lib. And they all must be enabled. If anyone of them to comment then ADC DMA transfer will be ''Normal''.
Set_System() only setups usb dis...
Posted on March 12, 2016 at 18:39
Thanks clive to reply!
Here is my test with toggle pin after cyclic DMA transfer of 1000 bytes fron ADC
The time of one transfer if about 400 us so 1 sampling is 400 us / 1000 = 0.4 us. The cod...
Posted on March 12, 2016 at 11:08
Hi!
I am not experienced with HAL but with my eamples you can adapting it to your code.
First code is ON-OFF Led every 1 second. You change it to 2 ms. Next code is ADC settings for 2 channels samp...
Posted on March 12, 2016 at 10:34
Uploaded some photos to my previous post.
A little comments. I started TIM3 timer inside code to generate square pulses with 5 us width:
....
pwm.TIM_Prescaler = 36 - 1;
pwm.TIM_Period = 19;
....
pwmO...