English
Language : 

MB86613S Datasheet, PDF (119/134 Pages) Fujitsu Component Limited. – IEEE1394 Open HCI Controller
Preliminary
8.4. Isochronous Receive
An example of software flowchart for receiving an isochronous packet is shown in Figure 8.17.
1) Check IRContextControl.active bit and make sure it is cleared.
2) Store the context program in an host memory.
3) Set the address of host memory where the context program is stored, in the IRCommandPtr.descriptorAd-
dress field. Also set the number of descriptor in the IRcommandPtr.Z field. (Always set ”1” for buffer- fill mode.)
4) Set the context program start time in IRContextMatch.cycleMatch field. (only when IRContextControl.cy-
cleMatchEnable is set.)
5) For single- channel mode, clear IRContextControl.multiChanMode bit and set the receiving channel in IR-
ContextMatch.channelNumber field.
For multi- channel mode, set the IRContextControl.multiChanMode bit and set the receiving channels in
IRMultiChanMask.isoChannelN field.
Then, specify the packet store method (buffer- fill or packet- per- buffer mode) in contextcontrol.bufferFill
bit.
6) When storing the received packet after removing the packet header, clear the IRContextControl.isoch-
Header field. Set the comparison values with the tag and sync data in the IRContextMatch.tag[3:0] bits and
sync field respectively.
7) Set the IRContextControl.run bit.
5) Wait until the INTA# is set. (when the last descriptor’s ” i ” field contains 11b and isoRecvIntMask.isoRecvN
bit is set.)
6) Check the IRContextControl.eventcode field.
118