S3C2416X RISC MICROPROCESSOR
5 SPECIAL FUNCTION REGISTER DESCRIPTIONS
5.1 SETTING SEQUENCE OF SPECIAL FUNCTION REGISTER
Special Function Register should be set as the following sequence. (nCS manual mode)
1. Set Transfer Type. (CPOL & CPHA set)
2. Set Clock configuration register.
3. Set HS_SPI MODE configuration register.
4. Set HS_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.
HS_SPI CONTROLLER
19-5