Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: Timer as counter...

2006-05-25 by Mukund Deshmukh

> 
> Why not use 32-bit counters? 
> 

The mind set was for C51 ;-)

> If you use a 5 kHz timer, you can easily count both phase changes, 
> with plenty of safety margin for a maximum 1 kHz signal.
> 
> Every 500 interrupts (i.e. 100 ms) the frequency of each channel is 
> then:
> 
> F = (c / 2 * 10) or F = c * 5
> 
> where F is frequency in Hz, c is count of phase changes in the last 
> 100 ms period.

Thanks Brendan,

Yes this should be OK.


Best Regards,

Mukund Deshmukh.
Beta Computronics Pvt Ltd
10/1, IT Park, Parsodi,
Nagpur-440022
Cell - 9422113746

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.