Stm32f103c8t6 TIM1, where 1ms is mandatory. I need a Ticker of 0.01ms or 0.001ms, to be able to discount with the time of the routines to increment / show the time in a serial display / 32bits.
Bravos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-07-27 4:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-07-27 5:27 AM
Maybe that was a little to brief....
Please start with the serial display, does that have a chip ? 5450 type?
Do you want to increment/decrement a displayed timer ?
Do you need 1mS and 1uSec timers?
Do you want to diplay time ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-07-27 6:34 AM
Thanks for the answer...
the serial display is an old ucn5833a.
I want to increase or decrease time, I need precise timer.
If I have a 1us timer I easily transcode it into a 1ms timer, I think ...
While working only 0.1s.
To view final time or send by uart, here yes with the precision of 1ms, of type xx.xx.xx.xxx
Thank you one more time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-07-27 8:07 AM
You could look at DWT_CYCCNT it is 32-bit wide, and free runs at 32-bit, at 72 MHz that would wrap in about a minute.
There is also the SYSTICK counter, it is 24-bit and counts down.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-07-27 8:49 AM
"I need a Ticker of 0.01ms or 0.001ms"
if you meant that you wanted to have interrupts at 10us or 1us, you just need ST to make a MCU that runs at 100 or 1000x of their current offerings.
if you meant that you wanted to have a timer with 10us or 1us resolution, plenty of easy solutions.
