2008-01-17 04:58 AM
Config Wizard for STM32_Init.c has fault
2011-05-17 03:21 AM
Hi STOne-32,
I´am using KEIL uVision. I tried to get the Timer1 running. After spending lots of time to understand the configuration, I used the ConfigWizard to configure it as: Internal Clock UpCounter. However I was not able to modify the Prescaler as well as the Auto-Reload register. (In TIM1 Detailed settings) I readback from these registers gave me the numbers 7199 for Prescaler and 9999 for the Auto-Reload. I never typed in these values!! When analyzing the STM32_Init.c Source-Code I found out that the Prescaler and Auto-Relaod Values from TIM1-4 are all set by the values of TIM4 !! My STM32_Init.c is Version: V1.10 by Keil Do you know if there is an Update available? Thanks Andi2011-05-17 03:21 AM
Hi Andi,
Are you using this same file as the one attached from Blinky example ? I did not catch your point well :o Thx to point me out what is going wrong. STOne-322011-05-17 03:21 AM
Hi STOne32,
yes I used this STM32_init.c what you sent to me. It is of Version 1.10. Meanwhile I got an update from Keil, Version 1.20. In Version 1.20 the bug is fixed and it offers more configurations like Alternative IO-Mapping. Happy that it works know! Andy2011-05-17 03:21 AM
Thank you , I will do the same :)