Slice Timers for MCF5485

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Slice Timers for MCF5485

1,386件の閲覧回数
preetuabraham
Contributor III

Hi,

I have a MCF5485 processor with a CLKIN of 28.6363 Mhz,how to select the terminal count for SLT0 and SLT1.

SLT1 is used for task scheduler for 5 ms and I used a terminal count value of 0x0008BD00.

Slice Timer 0 is used as the watchdog interrupt procedure.How to set the terminal count value for SLT0

0 件の賞賛
返信
1 返信

1,228件の閲覧回数
miduo
NXP Employee
NXP Employee

Hi,

Slice timers works with XLB bus frequency.
Time-out period the formula for determining right value of Terminal Count Reister is
time-out = TC /100 MHZ (provided that XLB = 100 MHZ).
(TC is value of SLT terminal count register)
So TC = 100 MHZ * time-out ;
TC = 500 (0x1f4) ( for example to get 5ms)

0 件の賞賛
返信