Cobranet™ ev-2 – Cirrus Logic EV2 User Manual

Page 43

Advertising
background image

CobraNet™ EV-2

43

Rev. 2.1

Read <register>

This command reads the raw value of the host register. Note that the architecture is significantly
different between the CM-1 and CM-2.

<register> =

(for CM-1, the DSP5303 host register interface.)

icr: read the icr register.
cvr: read the cvr register.
isr: read the isr register.
ivr: read the ivr register.
drh: read the drh (rxh) register
drm: read the drm (rxm) register
drl: read the drl (rxl) register.

(for CM-2, the CS1810xx host register interface)

msg: read the msg register (returns four bytes)
data: reads the data register (returns four bytes)
msga: returns the value of the message A register.
msgb: returns the value of the message B register.
msgc: returns the value of the message C register.
msgd: returns the value of the message D register.
dataa: returns the value of the data A register.
datab: returns the value of the data B register.
datac: returns the value of the data C register.
datad: returns the value of the data D register.
control: returns the value of the control register.
status: returns the value of the status register.

Write <register> <value>

This command writes a value to the host register. Refer to the appropriate documentation regard-
ing the host register interface on the CM-1 and CM-2. The architecture is significantly different.

<register> =

(for CM-1, the DSP5303 host register interface.)
icr: write the icr register.
cvr: write the cvr register.
isr: write the isr register.
ivr: write the ivr register.
drh: write the drh (rxh) register
drm: write the drm (rxm) register
drl: write the drl (rxl) register.

(for CM-2, the CS1810xx host register interface)
msg: write the msg register (writes four bytes)
data: write the data register (writes four bytes)
msga: write the value to the message A register.
msgb: write the value to the message B register.
msgc: write the value to the message C register.
msgd: write the value to the message D register.
dataa: write the value to the data A register.

Advertising