NextPort:$E7: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
Johnnyo (talk | contribs)
adding port which had no entry
 
Johnnyo (talk | contribs)
making nicer
 
Line 11: Line 11:
! Bit !! Description
! Bit !! Description
|-
|-
| 7 || 0 to select the fpga flash (unavailable - internal use only)
| 7 || 0 to select the FPGA flash (unavailable - internal use only)
|-
|-
| 3 ||  0 to select pi spi 1 on the gpio pins
| 3 ||  0 to select pi SPI 1 on the GPIO pins
|-
|-
| 2 || 0 to select pi spi 0 on the gpio pins
| 2 || 0 to select pi SPI 0 on the GPIO pins
|-
|-
| 1 || 0 to select sd card 1
| 1 || 0 to select SD card 1
|-
|-
| 0 || 0 to select sd card 0
| 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 gpio must be configured for spi, see nextreg 0xa0
* 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.