MORE SPEED PROGTIMERS

Share code examples with other users

MORE SPEED PROGTIMERS

Postby padik » Thu Feb 14, 2013 8:14 pm

I saw example PROGTIMERS. It would be possible to set the timer on us.
For some applications it is necessary to count mkratšími times than msec.
Power to the PIC24H Nevertheless, it must suffice.

thank you
padik
 
Posts: 24
Joined: Thu Feb 14, 2013 8:03 pm

Re: MORE SPEED PROGTIMERS

Postby David John Barker » Sat Feb 16, 2013 9:07 am

Interrupt driven timers based on uS intervals are perfectly possible, but would obviously be more demanding on the system than say ms. However, coded correctly, you shouldn't have too much difficulty implementing such a module. You could also increase the speed of the MCU from 32 MHz to a higher value using clock. For example,

Code: Select all
clock = 80 ' 80 MHz internal clock (40 MIPS)
...main program start
User avatar
David John Barker
 
Posts: 491
Joined: Thu Nov 08, 2012 12:21 pm

Re: MORE SPEED PROGTIMERS

Postby padik » Sun Feb 17, 2013 12:40 am

Hi david,

Could you publication some example or finished in the Timers module for Us?

thank you
padik
 
Posts: 24
Joined: Thu Feb 14, 2013 8:03 pm


Return to Code Examples

Who is online

Users browsing this forum: No registered users and 1 guest

cron

x