English
Language : 

MCF5272CVM66 Datasheet, PDF (306/544 Pages) Freescale Semiconductor, Inc – MCF5272 ColdFire® Integrated Microprocessor
Physical Layer Interface Controller (PLIC)
Note that only the active, that is enabled, B- and D-channel receive and transmit registers need to be read
and written. B and D channels which are not active need not have their receive and transmit registers read
and written.
500 μs
125 μs
Slot 0 Slot 1 Slot 2
Frame n
2-KHz interrupt
Slot 3
Slot 0 Slot 1 Slot 2
Frame n + 1
2-KHz interrupt
Slot 3
Slot 0 Slot 1 Slot 2
Frame n + 2
2-KHz interrupt
Interrupt service routine
Read Frame n -1 (B&D)
Write Frame n + 1 (B&D)
Interrupt service routine
Read Frame n (B&D)
Write Frame n + 2 (B&D)
Interrupt service routine
Read Frame n + 1 (B&D)
Write Frame n + 3 (B&D)
Figure 13-10. Periodic Frame Interrupt
It should be clear from Figure 13-10 that due to the double buffering through the PLIC shadow register,
frame (n) is written to the PLIC transmit register during the interrupt service routine of the previous frame,
frame (n-1). Similarly on the receive side, frame (n) is read from the PLIC receive register during the
interrupt service routine of the following frame, frame (n + 2). Figure 13-10 shows that the minimum
delay through the PLIC, when not in loopback mode, is two 2-KHz frames, or 1 mS.
13.2.5.2 GCI Aperiodic Status Interrupt
The aperiodic status interrupt is an interrupt which is driven by a number of conditions. The CPU services
this interrupt by reading the aperiodic status register, ASR, and by reading or writing the relevant C/I or
monitor channel register or registers which have generated this interrupt. Once read, the interrupt is
cleared. Each port and individual interrupts within each port is maskable. The following conditions for
each of the ports can trigger this interrupt:
• Monitor channel receive: ASR defines which port or ports have generated a monitor channel
receive interrupt. The interrupt service routine must then read the appropriate GMR register or
registers to clear the monitor channel receive interrupt.
• Monitor channel transmit: ASR defines which port or ports have generated a monitor channel
transmit interrupt. The interrupt service routine must then read the appropriate GMT register or
registers to clear the monitor channel transmit interrupt.
• C/I channel receive: ASR defines which port or ports have generated a C/I channel receive
interrupt. The interrupt service routine must then read the appropriate GCIR register or registers to
clear the C/I channel receive interrupt.
• C/I channel transmit: ASR defines which port or ports have generated a C/I channel transmit
interrupt. The interrupt service routine must then read the appropriate GCIT register or registers to
clear the C/I channel transmit interrupt.
13-10
MCF5272 ColdFire® Integrated Microprocessor User’s Manual, Rev. 3
Freescale Semiconductor