Search found 6 matches

by raulvalencia
Tue Jan 10, 2017 10:36 pm
Forum: STM32 Support
Topic: How I could set freq of timer 3 to 102.4Hz
Replies: 3
Views: 2820

Re: How I could set freq of timer 3 to 102.4Hz

Hi,
Thanks for answering me.
I've another question : to check this frequency I'd like to use an IO in output mode, to see this "clk = 102.4 Hz" with my oscilloscope, and in this way, I'll be sure that I am using the good one...
Is that possible?
Anyone has a code example?

Thanks,

Raul
by raulvalencia
Sat Jan 07, 2017 4:16 pm
Forum: STM32 Support
Topic: How I could set freq of timer 3 to 102.4Hz
Replies: 3
Views: 2820

How I could set freq of timer 3 to 102.4Hz

Happy new year 2017 everyone,

I'm working on a stm32f401re nucleo board and I would like to configure the timer 3 to trigger my adc (trgo) with a frequency of 102.4 Hz, currently modifying pll and prescaler I have a freq of 102.5 Hz (why this frequency ?) in addition it is not stable .

I changed ...
by raulvalencia
Mon Jul 18, 2016 10:09 am
Forum: STM32 Support
Topic: IO behavior after reset
Replies: 2
Views: 2180

IO behavior after reset

Hi everybody,

I'm working with nucleo STM32F401 board and ChibiOS 16.1.4

I have a problem with the IO's behavior when I start my board or after a reset my IO's output is 1 logic during 210ms (pulse) and I need that it stays in 0 logic but I do not know to do it... a pull down does not works.

in ...
by raulvalencia
Fri Jun 10, 2016 3:53 am
Forum: STM32 Support
Topic: STM32F401: ADC Config,How I get a sampling freq ~100Hz)
Replies: 4
Views: 4603

Re: STM32F401: ADC Config,How I get a sampling freq ~100Hz)

Thanks!

your website is very interesting...

I'm going to see your demos...

Raul
by raulvalencia
Thu Jun 09, 2016 9:21 am
Forum: STM32 Support
Topic: STM32F401: ADC Config,How I get a sampling freq ~100Hz)
Replies: 4
Views: 4603

Re: STM32F401: ADC Config,How I get a sampling freq ~100Hz)

Thanks a lot,

I'm going to try that...



Raul
by raulvalencia
Thu Jun 09, 2016 5:42 am
Forum: STM32 Support
Topic: STM32F401: ADC Config,How I get a sampling freq ~100Hz)
Replies: 4
Views: 4603

STM32F401: ADC Config,How I get a sampling freq ~100Hz)

Hi everyone,

I'm working with nucleo STM32F401 board and ChibiOS 16.1.3

My question is : how do I configure my ADCConversionGroup to have in channel 0 a sampling frequency = ~100 HZ, I read that we have to set the ADC_SMPR2 register but we have only 3 bits, I mean 8 choices...

Maybe if I use the ...