Periodic Interrupt—Do-Start-Split - Freescale Semiconductor MPC8313E Family Reference Manual

Powerquicc ii pro integrated processor
Hide thumbs Also See for MPC8313E:
Table of Contents

Advertisement

corresponds to the current microframe number. For example, if the current microframe is 0, then
cMicroFrameBit will equal 0b0000_0001.
The variable cMicroFrameBit is used to compare against the S-mask and C-mask fields to
determine whether the queue head is marked for a start- or complete-split transaction for the
current microframe.
Figure 16-56
illustrates how a complete interrupt split transaction is managed. There are two phases to
each split transaction. The first is a single start-split transaction, which occurs when the SplitXState is at
Do_Start and the single bit in cMicroFrameBit has a corresponding bit active in QH[S-mask]. The
transaction translator does not acknowledge the receipt of the periodic start-split, so the host controller
unconditionally transitions the state to Do_Complete. Due to the available jitter in the transaction
translator pipeline, there is more than one complete-split transaction scheduled by software for the
Do_Complete state. This translates simply to the fact that there are multiple bits set in the QH[C-mask]
field.
The host controller keeps the queue head in the Do_Complete state until the split transaction is complete
(see definition below), or an error condition triggers the three-strikes-rule (for example, after the host tries
the same transaction three times, and each encounters an error, the host controller stops retrying the bus
transaction and halts the endpoint, thus requiring system software to detect the condition and perform
system-dependent recovery).
!(QH.S-Mask &cMicroFrameBit)
Active
Queue
State
Split Transaction
Complete
Halt Queue
Data Loss
State
.or.
STALL
.or.
Babble
.or
CERR
0
16.6.12.2.6 Periodic Interrupt—Do-Start-Split
This is the state software must initialize a full- or low-speed interrupt queue head StartXState bit. This state
is entered from the Do_Complete Split state only after the split transaction is complete. This occurs when
MPC8313E PowerQUICC II Pro Integrated Processor Family Reference Manual, Rev. 3
Freescale Semiconductor
(QH.S-Mask & cMicroFrameBit)
Do_Start
Split
Do
Complete
Split
MDATA
or.
.
NYET
Figure 16-56. Split Transaction State Machine for Interrupt
issue start-split transaction
tag QH w/frame number according to frame tag rules **(1,3)
QH.C-prog-mask = zero(00h)
(QH.C-Mask & cMicroFrameBit)
.and.
(FRINDEX[7:3] .eq. QH.FrameTag)
.and.
CheckPreviousBit(QH.C-prog-mask, QH.C-mask, cMicroFrameBit)
Decrement Error Counter
XactErr
(CERR) and Do immediate retry
of complete-split
Universal Serial Bus Interface
issue complete-split transaction
ag QH w/frame number according to **Sframe tag rule
t
C-prog-mask |= cMicroFrameBit
16-101

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpc8313

Table of Contents