Timer implementation in stm32f205vet6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-27 02:48 AM
I am using stm32F205vet6 , I want to use multiple timers and work, But if I use multiple timers the code will be huge as every timer need internalization is there any alternative I can use timers with minimal code
I have also tried the hw_rtc.c file and timerServer.c file implementation ,In that scenario stm32f205vet6 has no sub seconds option I have hw_rtc.c file with subseconds so I cant able to use that method
Please help me solve this issue.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-27 03:10 AM
That to will cause my code huge and also I am limited to only 14 timers in that if I need any other timers what can I do
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-27 02:59 AM
Hello @AKHIL6
I suggest you to configure your timers using CubeMX and before generating your project go to: project manager -> code generator and in generated files option, check the option: general peripheral initialization as a pair of ' c/.h' files per peripheral. The. Generate your project. The main.c file will juste include your own code and it will call other files (gpio.h, tim.h,...) where the initialization of each peripheral is stocked (in a couple of .c,.h files).
Best regards.
II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-27 03:10 AM
That to will cause my code huge and also I am limited to only 14 timers in that if I need any other timers what can I do
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-27 03:12 AM
Is there any other alternatives to this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-27 03:20 AM
any alternative method via rtc??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-27 03:57 AM
Sorry, but I have no idea.
Best regards.
II