Special Function Register Descriptions; Setting Sequence Of Special Function Register - Samsung S3C2416 User Manual

16/32-bit risc
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents