Kawasaki KS152JB, 80C152, 80C51 technical specifications 11/IDLE CRC None, Dc Jam Crc

Page 33

KS152JB Universal Communications Controller Technical Specifications

Table 9:

Data

Flags

CRC

Duplex

Ack

Addr

recognition

 

 

 

 

 

N-Not available.

m

 

 

0

 

 

 

3

h

fu

 

 

 

 

 

 

M-Mandatory.

a

 

 

1

 

 

1

al

 

h

 

n

 

 

 

 

 

 

2

ll

 

us

 

 

O-Optional.

n

 

 

1

1

n

6-

f

n

ar

o

 

1

 

 

bi

d

er

8

P-Normally Preferred

c

nr

nr

1

1/

o

bi

d

o

d

n

6

ta

u

 

bi

X-N/A

h

z

zi

1

id

n

t

u

n

w

 

e/

bi

 

pl

d

t

 

ec

 

 

1

le

e

cc

 

pl

e

ar

al

t

 

 

 

ut

e

ef

 

 

st

 

 

1

 

 

it

e

 

e

l

 

 

 

 

 

 

 

o

x

 

 

 

 

 

er

 

 

0

 

 

 

x

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Manchester (csma/cd)

X

N

N

1

P

1

O

O

M

N

O

O

O

O

O

O

 

NRZI (sdlc)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

N

X

N

P

1

1

O

O

O

O

O

N

P

O

O

O

 

NRZ (ext clock)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

N

N

X

O

O

1

O O O

O

O

N

O

O

O

O

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Flags:01111110(sdlc)

N

P

O

X

1

1

O

O

O

O

O

N

P

O

O

O

 

11/IDLE

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

P

N

O

1

X

1

O

O

O

N

O

O

O

O

O

O

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CRC: NONE

1

1

1

1

1

X

N

N

1

N

1

1

1

1

1

1

 

16-bit CCITT

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

O

O

O

O

O

N

X

N

O

O

O

O

O

O

O

O

 

32-bitAUTODIN II

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

O

O

O

O

O

N

N X O

N

O

O

O

O

O

O

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Half Duples

O

O

O

O

O

1

O

O

X

N

O

O

O

O

O

O

 

Full Duplex

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

N

O

O

M

N

N

M

N

N

X

O

N

P

O

O

O

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Acknowledge: None

O

O

O

O

O

1

O

O

O

O

X

N

N

O

O

O

 

Hardware

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

O

N

N

N

O

1

O

O

O

N

N

X

N

O

O

O

 

User defined.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

O

P

O

O

O

1

O O O

P

N

N

X

O

O

O

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Address recog: none

O

O

O

O

O

1

O

O

O

O

O

O

O

X

N

N

 

8-bit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

O

O

O

O

O

1

O

O

O

O

O

O

O

N

X

N

 

16 bit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

O

O

O

O

O

1

O O O

O

O

O

O

N

N

X

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Coll resol: Normal

O

N

O

N

O

N

O

O

M

N

O

N

O

O

O

O

 

Alternate

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

O

N

O

N

O

N

O

O

M

N

O

O

O

O

O

O

 

Deterministic

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

O

N

O

N

O

N

O O M

N

O

O

O

O

O

O

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Preamble: None

N

O

O

O

1

1

O

O

O

O

O

N

O

O

O

O

 

8-bit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

O

O

O

O

O

1

O

O

O

O

O

O

O

O

O

O

 

32-bit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

O

O

O

O

O

1

O

O

O

O

O

O

O

O

O

O

 

64-bit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

O

O

O

O

O

1

O O O

O

O

O

O

O

O

O

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DC JAM

M

N

N

N

O

N

O

O

M

N

O

O

O

O

O

O

 

 

JAM

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CRC

M

N

N

N

O

N

O

O

M

N

O

O

O

O

O

O

Kawasaki LSI USA, Inc.

Page 33 of 120

Ver. 0.9 KS152JB2

Image 33
Contents Introduction Technical Specifications PIN Description Pin DescriptionName Description Port Pin Name Alternate FunctionXTAL1 XTAL2RST Psen ALEEben EpsenSFR map for the cpu Special function RegistersReset Timing Reset Values of the SFRs Scon ConfigurationsSbuf Indeterminate Tmod PconPort bit I/O Pads Port 0 I/O Pad Port 2 I/O PadPorts 4,5 Psen Epsen ProgramComments Fetch viaTmod Timer/Counter Mode Control Register TIMER/COUNTERSMode Tcon Timer/Counter Control RegisterTimer/Counter in Mode Timer/Counter 0 in Mode IE Interrupt Enable RegisterInterrupts Priority Level Structure Pgste PDMA1 Pgstv PDMA0 Pgsre Pgsrv Egste EDMA1 Egstv EDMA0 Egsre EgsrvEX0 PX0Pgsrv Egsrv 2BHEDMA1 PDMA1PT1 ET1 1BHKawasaki LSI USA, Inc Ver .9 KS152JB2 Power Down and Idle Status of the External Pins during Idle and Power DownALE Psen Smod IDL Pcon Power Control RegisterLocal Serial Channel Controller Local Serial Port ModeSerial Port Mode Mode Load Sbuf Baud Rates Timer 1 generated commonly used Baud rates SmodMHZ SINGLE-STEP Operation JNBReti Kawasaki LSI USA Inc Introduction Global Serial ChannelDC JAM CRC 11/IDLE CRC None11/IDLE Csma SdlcExternal clock Internal clock Control cpu Control dma Raw Receive Raw Transmit CSMA/CD Overview CSMA/CD Frame FormatPreamble BOF Address Info CRC EOF Kawasaki LSI USA, Inc Ver .9 KS152JB2 23 24 Interframe Space Manchester Encoding BIT Time CSMA/CD Data EncodingCollision Detection Jitter ToleranceNarrow Pulses Missing 0-to-1 TransitionUnexpected 1-to-0 Transition GSC Inactive Resolution of CollisionsResponse to a Detected Collision What the GSC was doing TfifoBackoff DCRAlgorithm Random Backoff Prbs Tcdcnt Load Bkoff Slot Clock MyslotBKOFF= Myslot Deterministic Backoff Hardware Based Acknowledge Kawasaki LSI USA, Inc Ver .9 KS152JB2 BOF Address Control Info CRC EOF Sdlc Frame FormatKawasaki LSI USA, Inc Ver .9 KS152JB2 Data Encoding Nrzi BIT TimeBIT STUFFING/STRIPPING Sending Abort Character Line IdleAcknowledgement Point-to-point Network PRIMARY/SECONDARY StationsMulti-Drop Network Ring NetworkHDLC/SDLC Comparison Using a Preamble in SdlcSdlc Hdlc User Defined ProtocolsPlanning for Network Changes and Expansions Line DisciplineDMA Servicing of GSC Channels Kawasaki LSI USA, Inc Ver .9 KS152JB2 Baud Rate Initialization External Driver Interface Test ModesJitter Receive Receive Sampling Rate Received Local Value Manchester Encoding BIT TimeBIT Time Received Transmit WaveformsCSMA/CD Clock Recovery Receiver Clock RecoveryExternal Clocking Determining Receiver ErrorsRcbat Crce Addressing2 CPU/DMA Control of the GSC Determining Line DisciplineCollisions and Backoff What the GSC was doing Response Successful Ending of Transmissions and Receptions GSC Register DescriptionsPL1 PL0 Length Bits GMOD84H Xtclk PL1 PL0Kawasaki LSI USA, Inc Ver .9 KS152JB2 ARB REQ Garen Xrclk Gfien IDL DCJ DCR SA5 SA4 SA3 SA2 SA1 SA0Rcabt Crce RDN Rfne Gren Haben Kawasaki LSI USA, Inc Ver .9 KS152JB2 LNI Noack Tcdt TDN Tfnf TEN DMA Kawasaki LSI USA, Inc Ver .9 KS152JB2 DMA with the 80C152 DMA OperationDMA Registers Burst Mode Alternate Cycle ModeDAS IDA SAS ISAExternal Demand Mode Serial Port Demand Mode12 OSC.PERIODS ALE Psen P1 Inst Float Timing DiagramsPCH P2 SFR DMA Cycle Resume Program Execution DMA Transfer from Internal Memory to Internal Memory12 OSC. Periods ALE Psen Inst DMA Data OUT PCL Inst PCH DMA Cycle 12 OSC. Periods Resume Program Execution ALE PsenDMA Cycle Resume Program Execution Request Mode Arbiter ModeHold/Hold Acknowledge ARB REQ Using the HOLD/HLDA AcknowledgeALE ARB If Hlda = ALE AEQ ALE REQ Internal Logic of the ArbiterDmxrq Internal Logic of the Requester DMA Arbitration Kawasaki LSI USA, Inc.oup, Inc Ver .9 KS152JB2 Kawasaki LSI USA, Inc Ver .9 KS152JB2 Kawasaki LSI USA, Inc Ver .9 KS152JB2 DMA Arbitration with Hold/Hold Ack DAS IDA SAS ISA Done Summary of DMA Control BitsInterrupt Structure IE0 ET1 EX1 ET0 EX0 TI+RIIPN1 PT1 PX1 PT0 PX0Transmit Error Flags Logic for Clearing TEN, Setting TDN GSC Transmitter Error ConditionsGSC Receiver Error Conditions Glossary Kawasaki LSI USA, Inc Ver .9 KS152JB2 DCON0/1 092H,093H Xtclk PL1 PL0 Kawasaki LSI USA, Inc 102 Ver .9 KS152JB2 Kawasaki LSI USA, Inc 103 Ver .9 KS152JB2 PT1 PX1 PT0 EX0 Myslot 0F5H DCJ DCR SA5 SA4 SA3 SA2 SA1 SA0 Smod ARB REQ Garen Xrclk Gfien IDL OVR Rcabt Crce RDN Rfne Gren Haben Kawasaki LSI USA, Inc 108 Ver .9 KS152JB2 TF1 TR1 TF0 TR0 IE1 IT1 IE0 IT0 SM0 SM1 SM2 REN TB8 RB8Gate Kawasaki LSI USA, Inc 111 Ver .9 KS152JB2 Stack Pointer PortData Pointer LOW DPL.7 DPL.6 DPL5 DPL.4 DPL.3 DPL.2 DPL.1 DPL.0Data Pointer High Timer ControlDPH.7 DPH.6 DPH.5 DPH.4 DPH.3 DPH.2 DPH.1 DPH.0 DPHGate Timer Timer Mode ControlTimer 0 LSB Timer 1 LSBTimer 1 MSB Timer 0 MSBSM0 Serial Port ControlSerial Data Buffer SBUF.7RS1 RS0 Program Status WordACC.7 ACC.6 ACC.5 ACC.4 ACC.3 ACC.2 ACC.1 ACC.0 AccumulatorKawasaki LSI USA, Inc 119 Ver .9 KS152JB2 Kawasaki LSI USA, Inc 120 Ver .9 KS152JB2