Samsung KS57C2308 Manual page 279

Single-chip cmos microcontroller
Table of Contents

Advertisement

KS57C2308/P2308/C2316/P2316
+ +
PROGRAMMING TIP — Setting Transmit/Receive Modes for Serial I/O (Continued)
4. Transmit and receive Data through SIO interface using an external clock in LSB-first mode:
BITR
LD
LD
LD
LD
EI
BITS
INTS
PUSH
PUSH
BITR
LD
XCH
LD
BITS
POP
POP
IRET
EMB
EA,TDATA
SBUF,EA
EA,#0FH
SMOD,EA
IES
SB
EA
EMB
EA,TDATA
EA,SBUF
RDATA,EA
SMOD.3
EA
SB
SCK
/ P0.1
SO / P0.2
SI / P0.3
KS57C2308/C2316
High Speed SIO Transmission
; TDATA address = BANK0 (20H–7FH)
; SIO start
; Store SMB, SRB
; Store EA
; EA
Transmit data, TDATA address = BANK0
(20H–7FH)
; Transmit data
Receive data
; RDATA address = BANK0 (20H–7FH)
; SIO start
EXTERNAL
DEVICE
SERIAL I/O INTERFACE
13-7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2308C2316P2316Ks57p2308Ks57c2316Ks57p2316

Table of Contents