16a - 23-Mar-11-4:19 PM Main Timer System, RTI, TOI 68HC12...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
23-Mar-11—4:19 PM Main Timer System, RTI, TOI 68HC12 1 University of Florida, EEL 4744 – File 16a © Drs. Schwartz & Arroyo EEL 4744 EEL 4744 Menu • Main Timer System • Real-Time Interrupt (RTI) > RTI Hardware Look into my . .. > Internal Registers for RTI – RTICTL, RTIFLG • RTI Programming Examples > Using RTI interrupt > Using RTIF and polling • Free-running Counter and See examples on web-site: S&HE (Ch 10), 1 University of Florida, EEL 4744 – File 16a © Drs. Schwartz & Arroyo Timer Overflow (TOF) > Internal Registers for TOF – TCNT, TSCR , TMSK2, TFLG2 > Example using TOF M68HC12B/D.pdf (Sec 10,12), RTIa*.asm, RTIb.asm, CoPrRTI.asm, TimeOver.asm, TimeOver_debug.asm EEL 4744 EEL 4744 68HC12 Clock Generation Module (CGM) Block Diagram Tech: Fig 10-1 2 University of Florida, EEL 4744 – File 16a © Drs. Schwartz & Arroyo • P-Clock and E-clock are at same frequency, but 90° out of phase • T-Clock and E-clock are at same frequency (when not in wait mode)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
23-Mar-11—4:19 PM Main Timer System, RTI, TOI 68HC12 2 University of Florida, EEL 4744 – File 16a © Drs. Schwartz & Arroyo EEL 4744 EEL 4744 RTI (Real-Time Interrupt) Hardware P-Clock (same freq Programmable RTI Interrupt Line RTIFLG RTIF Flag RTICTL RTR2:0 3 University of Florida, EEL 4744 – File 16a © Drs. Schwartz & Arroyo (same freq as E-clock) 8192 Counter S&HE: Fig 10.7 RTII Interrupt Enable EEL 4744 EEL 4744 68HC12 Clock Chain for SCI, BDLC, RTI & COP Tech: Fig 10-10 RTI 4 University of Florida, EEL 4744 – File 16a © Drs. Schwartz & Arroyo
Background image of page 2
23-Mar-11—4:19 PM Main Timer System, RTI, TOI 68HC12 3 University of Florida, EEL 4744 – File 16a © Drs. Schwartz & Arroyo EEL 4744 EEL 4744 RTI (Real-Time Interrupt) Rate Control Tech: Table 10.3 • RTR bits in register RTICTL >Our E-clock is 2 MHz 5 University of Florida, EEL 4744 – File 16a © Drs. Schwartz & Arroyo 0 EEL 4744 EEL 4744 RTI (Real-Time Interrupt) Rate Control Divide E2 M H • RTR bits in register Divide E = 2MHz RTR2:0 E by Timeout Period 000 OFF OFF 001 2^13 4.096ms 010 2^14 8.192ms 011 2^15 16.384ms 6 University of Florida, EEL 4744 – File 16a © Drs. Schwartz & Arroyo 100 2^16 32.768ms 101 2^17 65.536ms 110 2^18 131.072ms 111 2^19 262.144ms
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
23-Mar-11—4:19 PM Main Timer System, RTI, TOI 68HC12 4 University of Florida, EEL 4744 – File 16a © Drs. Schwartz & Arroyo
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 07/11/2011.

Page1 / 11

16a - 23-Mar-11-4:19 PM Main Timer System, RTI, TOI 68HC12...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online