NextPort:$E7: Difference between revisions
From SpecNext Wiki
adding port which had no entry |
making nicer |
||
| Line 11: | Line 11: | ||
! Bit !! Description | ! Bit !! Description | ||
|- | |- | ||
| 7 || 0 to select the | | 7 || 0 to select the FPGA flash (unavailable - internal use only) | ||
|- | |- | ||
| 3 || 0 to select pi | | 3 || 0 to select pi SPI 1 on the GPIO pins | ||
|- | |- | ||
| 2 || 0 to select pi | | 2 || 0 to select pi SPI 0 on the GPIO pins | ||
|- | |- | ||
| 1 || 0 to select | | 1 || 0 to select SD card 1 | ||
|- | |- | ||
| 0 || 0 to select | | 0 || 0 to select SD card 0 | ||
|} | |} | ||
* Only one of these bits must be 0, if not the result will be no device selected. | * Only one of these bits must be 0, if not the result will be no device selected. | ||
* pi | * pi GPIO must be configured for SPI, see {{NextRegNo|$A0}} | ||
Latest revision as of 13:53, 21 February 2026
| 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