
PRELIMINARY
S3C6400X RISC MICROPROCESSOR
SPI
CONTROLLER
29-5
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available.
Specifications and information herein are subject to change without notice.
SPECIAL FUNCTION REGISTER DESCRIPTIONS
SETTING SEQUENCE OF SPECIAL FUNCTION REGISTER
Special Function Register must be set in the following sequence. (nCS manual mode)
1. Set Transfer Type. ( CPOL & CPHA set )
2. Set Clock configuration register.
3. Set SPI MODE configuration register.
4. Set SPI INT_EN register.
5. Set Packet Count configuration register if necessary.
6. Set Tx or Rx Channel on.
7. Set nSSout low to start Tx or Rx operation.
A. Set nSSout Bit to low, then start TX data writing.
B. If auto chip selection bit is set, should not control nCS.
SPECIAL FUNCTION REGISTER
Register
Address
R/W
Description
Reset Value
CH_CFG(Ch0) 0x7F00B000
R/W
SPI
configuration register
0x0
CH_CFG(Ch1) 0x7F00C000
R/W
SPI
configuration register
0x0
CH_CFG
Bit
Description
Initial State
SW_RST [5] R/W
Software
reset
0: inactive 1: active
1’b0
SLAVE [4]
R/W
Whether SPI Channel is Master or Slave
0: Master 1: Slave
1’b0
CPOL [3]
R/W
Determine an active high or active low clock
0: active high 1: active low
1’b0
CPHA [2]
R/W
Select one of the two fundamentally different
transfer format
0: format A 1: format B
1’b0
RxChOn [1]
R/W
SPI Rx Channel On
0: Channel Off 1: Channel On
1’b0