Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

timer prescaler calculation

Status
Not open for further replies.

embed_v

Junior Member level 1
Joined
Aug 10, 2010
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,432
hiiii

i want to calculate the prescaler value for the following

16-bit timers to generate a 1us tick and the controller is running at 50mhz.

i am using LM3S811 stellaris uc. in the datasheet it explain like this ...

but i dnt understand how the Mx time to be calculated....

All values assume a 50-MHz clock with Tc=20 ns (clock period).
Table 9-2. 16-Bit Timer With Prescaler Configurations
Prescale #Clock (T c) Max Time Units
00000000 1 1.3107 mS
00000001 2 2.6214 mS
00000010 3 3.9322 mS
------------ -- -- --
11111101 254 332.9229 mS
11111110 255 334.2336 mS
11111111 256 335.5443 mS

so plz guide to cal. the prescale values as per above mentioned

THNX
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top