NextPort:$E7
From SpecNext Wiki
| Port Number | $E7 |
|---|---|
| Decimal | 231 |
| Short desc. | Read or write data to the selected SPI device. |
| Bit Mask | |
| Readable | Yes |
| Writable | Yes |
| Subsystem |
| Bit | Description |
|---|---|
| 7 | 0 to select the FPGA flash (unavailable - internal use only) |
| 3 | 0 to select pi SPI 1 on the GPIO pins |
| 2 | 0 to select pi SPI 0 on the GPIO pins |
| 1 | 0 to select SD card 1 |
| 0 | 0 to select SD card 0 |
- Only one of these bits must be 0, if not the result will be no device selected.
- pi GPIO must be configured for SPI, see NextReg:$A0