| Author | beginning argument ( Replies received: 3 ) |
| hervett |
Posted 14-11-2008 at 15:52   |

Registered on : 01-18-2009
Messages : 42
OFF-Line
|
Hello everybody !!On my program I want to have a signal of 400 Khz with my timer2 in PWM mode and have the RTC for the clock, on. RTC work without the Timer2, Timer2 work without RTC, but when I try to have them at the same time it doesn't work and the systick too. I try all the possibilities of the priority. I tried to do like the demo program of the STM32F10B because there is RTC, systick and TimeR2 together. I tried on TIMER3, the same. And today, still doesn't work. I think I have try everything...Maybe someone had the same problem.... .......
I will accept help from anybody.
Thanks a lot !
|
|
|
Profile
Quote
|
| franco.bassi |
Posted 16-11-2008 at 09:42   |

Registered on : 08-08-2009
Messages : 5
OFF-Line
|
Hy Hervett,
I using STM32F103RE with ST320F10x-E Eval board, RTC and Timer1 togher without problems:
-Timer 1 from HSE 8Mhz-> 48MHz with pwm function at 20KHz frequency
-RTC from LSE 32KHz for wakeup during stop mode
The systick is set at 32ms.
by
|
|
|
Profile
Quote
|
| franco.bassi |
Posted 16-11-2008 at 09:42   |

Registered on : 08-08-2009
Messages : 5
OFF-Line
|
Hy Hervett,
I using STM32F103RE with ST320F10x-E Eval board, RTC and Timer1 togher without problems:
-Timer 1 from HSE 8Mhz-> 48MHz with pwm function at 20KHz frequency
-RTC from LSE 32KHz for wakeup during stop mode
The systick is set at 32ms.
by
|
|
|
Profile
Quote
|
| hervett |
Posted 19-11-2008 at 08:46   |

Registered on : 01-18-2009
Messages : 42
OFF-Line
|
It's OK now, My program work with my TIMER2 in PWM, my RTC and the Systick, but still don't work wth my Timer2in Output compare toggle mode. So I will keep the PWM for my 400 kHz.
I havn't do something special, it is just the difference between PWM ans Output compare toggle mode.
Bye
|
|
|
Profile
Quote
|