MCP2210
3.1.2
SET SPI POWER-UP TRANSFER SETTINGS
TABLE 3-4:
COMMAND STRUCTURE
Byte
Index
Meaning
0
1
2
3
4
0x60 – Set Chip NVRAM Parameters – command code
0x10 – Set SPI Power-up Transfer Settings – sub-command code
0x00 – Reserved
0x00 – Reserved
Bit Rate (Byte 3) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte = 0x00
5
6
Bit Rate (Byte 2) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte = 0x1B
Bit Rate (Byte 1) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte = 0xB7
7
Bit Rate (Byte 0) – 32-bit value (Byte 0, Byte 1, Byte 2, Byte 3)
Example: Bit rate = 12,000,000 bps = 00B7 1B00
- This byte = 0x00
8
Idle Chip Select Value – 16-bit value (low byte):
• MSB
–
–
–
–
–
–
LSB
CS7 CS6 CS5 CS4 CS3 CS2 CS1 CS0
9
Idle Chip Select Value – 16-bit value (high byte):
• MSB
x
–
x
–
x
–
x
–
x
–
x
–
x
LSB
CS8
10
11
12
Active Chip Select Value – 16-bit value (low byte):
• MSB LSB
CS7 CS6 CS5 CS4 CS3 CS2 CS1 CS0
–
–
–
–
–
–
Active Chip Select Value – 16-bit value (high byte):
• MSB
x
–
x
–
x
–
x
–
x
–
x
–
x
LSB
CS8
Chip Select to Data Delay (quanta of 100 µs) – 16-bit value (low byte)
Example: If a 500 µs delay between the CS being asserted and the first byte of data is required,
the value will be 0x0005.
- Fill this byte position with: 0x05
13
14
15
16
Chip Select to Data Delay (quanta of 100 µs) – 16-bit value (high byte)
Example: If a 500 µs delay between the CS being asserted and the first byte of data is required, the
value will be 0x0005.
- Fill this byte position with: 0x00
Last Data Byte to CS (de-asserted) delay (quanta of 100 µs) – 16-bit value (low byte)
Example: If a 500 µs delay between the last data byte sent and the CS being de-asserted is required,
the value will be 0x0005.
- Fill this byte position with: 0x05
Last Data Byte to CS (de-asserted) delay (quanta of 100 µs) – 16-bit value (high byte)
Example: If a 500 µs delay between the last data byte sent and the CS being de-asserted is required,
the value will be 0x0005.
- Fill this byte position with: 0x00
Delay Between Subsequent Data Bytes (quanta of 100 µs) – 16-bit value (low byte)
Example: If a 500 µs delay between two consecutive data bytes is required, the value will be 0x0005.
- Fill this byte position with: 0x05
2011 Microchip Technology Inc.
DS22288A-page 15