S5PC110_UM
3.4.1.1 Setting Sequence of Special Function Register
Steps to set Special Function Register (nCS manual mode):
1. Set Transfer Type. (CPOL & CPHA set)
2. Set Feedback Clock Selection register.
3. Set Clock configuration register.
4. Set SPI MODE configuration register.
5. Set SPI INT_EN register.
6. Set PACKET_CNT_REG register if necessary.
7. Set Tx or Rx Channel on.
8. 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, nSSout is controlled automatically.
3 SERIAL PERIPHERAL INTERFACE
3-8