Config Wizard for STM32_Init.c has fault
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2008-01-17 4:58 AM
Posted on January 17, 2008 at 13:58
Config Wizard for STM32_Init.c has fault
This discussion is locked. Please start a new topic to ask your question.
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:21 AM
Posted on May 17, 2011 at 12:21
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 AndiOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:21 AM
Posted on May 17, 2011 at 12:21
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-32Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:21 AM
Posted on May 17, 2011 at 12:21
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! AndyOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:21 AM
Posted on May 17, 2011 at 12:21
Thank you , I will do the same :)
