Datasheet

MCP2210
DS22288A-page 36 2011 Microchip Technology Inc.
3.2.2 SET (VM) SPI TRANSFER SETTINGS
TABLE 3-35: COMMAND 1 STRUCTURE
Byte
Index
Meaning
0 0x40 – Set (VM) SPI Transfer Settings (volatile memory)
1 0x00 – Reserved
2 0x00 – Reserved
3 0x00 – Reserved
4 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 position will have a value of = 0x00
5 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 position will have a value of = 0x1B
6 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 position will have a value of = 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 position will have a value of = 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 – – – – – LSB
x x x x x x x CS8
10 Active Chip Select Value – 16-bit value (low byte):
MSB – – – LSB
CS7 CS6 CS5 CS4 CS3 CS2 CS1 CS0
11 Active Chip Select Value – 16-bit value (high byte):
MSB – – – – – LSB
x x x x x x x CS8
12 Chip Select to Data Delay (quanta of 100 µs) – 16-bit value (low byte)
Example
: If we have 500 µs delay between the CS being asserted and the first byte of data, the value
will be 0x0005.
- This byte position will have a value of: 0x05
13 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.
- This byte position will have a value of: 0x00
14
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 asserted is required, the
value will be 0x0005.
- This byte position will have a value of: 0x05
15
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.
- This byte position will have a value of: 0x00