NextPort:$EB: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
Johnnyo (talk | contribs)
adding port which had no entry
 
Johnnyo (talk | contribs)
adding port which had no entry
Line 2: Line 2:
|Number=$EB
|Number=$EB
|NumberDec=235
|NumberDec=235
|ShortDesc=Read or write data to the selected SPI device.
|ShortDesc=SPI CS
|Readable=Yes
|Readable=Yes
|Writable=Yes
|Writable=Yes
}}
}}
{| class="wikitable"
! 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 0xa0

Revision as of 13:42, 21 February 2026

Port Number $EB
Decimal 235
Short desc. SPI CS
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 0xa0