Samsung S5PC100 User Manual page 672

Table of Contents

Advertisement

S5PC100 USER'S MANUAL (REV1.0)
4.1 PROGRAMMING GUIDE
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 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 nSSout.
SPI CONTROLLER
8.3-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents