AJay Jadhav

S12X:PIT timeout calculation

Discussion created by AJay Jadhav on Dec 20, 2007
Latest reply on Dec 21, 2007 by Khanindra Deka
Hi,
 
As per S12X datasheet, for PIT channels,  time-out period = (PITMTLD + 1) * (PITLD + 1) / fBUS.

For fBUS=2MHz, if PITMTLD =0 and PITLD =0, expected timeout period is 0.5 microseconds.if PITMTLD =0 and PITLD =1, expected timeout period is 1 microseconds.

It is not clear how will PITCNT will count down for PITMTLD =0 and PITLD =0 values, how does count down differ when PITMTLD =0 and PITLD =1?

Regards,

 Ajay

 

 

 

Outcomes