3 commands intended for debug/lab use only, Arc-sd-dmux rev. b – Nevion ARC-SD-DMUX User Manual
Page 33
ARC-SD-DMUX
Rev. B
nevion.com | 33
6.2.3 Commands intended for debug/lab use only
Block Blk
#
Commands
example
Response
Control
spir
-
spir 0x0004
Read a single word (or byte) from a
SPI registers to check register status.
Addressing is 16b and most
significant nibble determines which
chip. These are the address ranges:
0x0000
– 0x0fff : audio DAC
0x1000
– 0x1fff : FPGA
0x2000
– 0x2fff : flash
0x3000
– 0x3fff : deserializer
0x4000
– 0x4fff : serializer
0x5000
– 0x5fff : shift register (for
LEDs)
0x6000
– 0x7fff : video DAC
Note: The video DAC is actually
using I2C, but the addresses are
mapped into the SPI address range.
spiw
-
spiw 0x0004 0x2c
With the same address ranges as for
spir above, this command allows
single SPI registers to be modified.
Modifying SPI registers in the flash
area is strongly discouraged!