13.07.2015 Views

serial communication controller (scc ™ sdlc mode of operation - Clips

serial communication controller (scc ™ sdlc mode of operation - Clips

serial communication controller (scc ™ sdlc mode of operation - Clips

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Application NoteSerial Communication Controller (SCC ): SDLC Mode <strong>of</strong> OperationRECEIVE INTERRUPTS ON FIRST CHARACTER OR SPECIAL CONDITIONSThe sequence <strong>of</strong> events in this <strong>mode</strong> is similar to that in“Receive Interrupts on all received characters and SpecialConditions”, except that it generates Receive CharacterInterrupt on the first received character only, andsubsequent data is read by the DMA.The SCC is placed in this <strong>mode</strong> by programming Bit D4-3<strong>of</strong> WR1 to 01. Once programmed in this <strong>mode</strong>, the SCCgenerates interrupts when it receives the First Character <strong>of</strong>the packet or a Special Condition occurs. This <strong>mode</strong> is for<strong>operation</strong> with the DMA. On the interrupt for the firstreceived character, DMA is enabled. On SpecialConditions (either End-<strong>of</strong>-Message, overrun, or Parityerror, — parity on the SDLC is not normal, however), theservice routine stops the DMA and starts over again.RxCLKRx DataOpening Flag Data 81H Data 42H Data 0FFH Data 42H CRC 0E013H Closing FlagNote 9/INTNote 3➘Note 1Note 3Note 10Note 12➘➘Note 5Note 7➘Note 6Note 8➘➘➘➘/W//REQ (In /REQ <strong>mode</strong>)/SYNC➘➘Note 4Note 9➘Note 11➘Note 2Figure 3. Typical SDLC Receive Sequence with Receive Interrupts on First Character or Special Condition6-98

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!