Cmd Register: 0x0000_0000
| 31 | 30 | 12 | 11 | 10 | 9 | 8 | 7 | 0 | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Read Invalid | Reserved | SS | Reserved | RD | WR | data | |||||||||||||||
| Bits | Field | Description | Privilege |
|---|---|---|---|
| 0-7 | data | Data field that stores data that is transmitted or received, or chip
select ID. For chip-select enablement, you should write 1'b1 to
bit[7]. |
Read/Write |
| 8 | WR | Write 1'b1 to trigger a SPI write command. Data in the data field
of this register will be transmitted. |
Write |
| 9 | RD | Write 1'b1 to trigger a SPI read command. The read data will be
stored in the data field of this register after the SPI read command
is processed. |
Write |
| 10 | Reserved | Reserved. | N/A |
| 11 | SS | Write 1'b1 to indicate the operation is for chip-select enablement. | Write |
| 12-30 | Reserved | Reserved. | N/A |
| 31 | Read invalid | Indicates whether the read data in the data field is invalid. 1:
Read data is invalid 0: Read data is valid |
Read |