beautypg.com

Cavium processor complex – Artesyn ATCA-9305 User's Manual (May 2014) User Manual

Page 88

background image

Cavium Processor Complex

ATCA-9305 User’s Manual (10009109-07)

88

Read Example:

To read the FPGA bridge SPI_COMMAND register at 0x204, use the following commands.

Set address bits 9:8.

=>write64b 1d030004 02

Set address bits 7:0.

=>write64b 1d030005 04

Perform a read.

=>write64b 1d030006 02

Display the results.

=>read64l 1d030000

Write Example:
To write to the FPGA bridge MAC_CMD_CFG register at 0x00C, use the following commands.

Set data bits 31:24.

=>write64b 1d030000 a9

Set data bits 23:16.

=>write64b 1d030001 b8

Set data bits 15:8.

=>write64b 1d030002 c7

Set data bits 7:0.

=>write64b 1d030003 d6

Set address bits 9:8.

=>write64b 1d030004 00

Set address bits 7:0.