Samsung S5PC110 Manual page 856

Risc microprocessor
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents