hai, In stm32F103,How can we calculate prescaler and time period. say for example i need 5 ms delay.so need procedure for it. how to selct prescaler ?
TIM_TimeBaseStructure.TIM_Prescaler = 5; TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_Up; TIM_TimeBaseStructure.TIM_Period = 0x3FFF; TIM_TimeBaseStructure.TIM_ClockDivision = 0x0; TIM_TimeBaseStructure.TIM_RepetitionCounter = 0x0;
Thanks in advance Nirmala
For STM32 documentation & resources, see the STM32 page on the ST website:
www.st.com/.../1169.jsp
In particular, you need the RM008 Reference Manual:
www.st.com/.../app