6 register write/read tab, Crd5490-z – Cirrus Logic CRD5490 User Manual

Page 23

Advertising
background image

CRD5490-Z

DS988RD1

23

3.3.6

Register Write/Read Tab

The Register Write/Read tab allows access to the CS5490 registers directly. See Figure 26.

There are two types of transactions: Write and Read. The CS5490 memory is organized by pages. In order to
properly write a register, it is necessary to set the Page, Address, and Data field and then click the Write button. To
read a register it is necessary to set the Page and Address and then click the Read button. Figure 26 shows the read
operation. The serial port traffic can be seen in the bottom left corner. The register result is displayed in the Data
Write/Read (hex) field. Refer to the CS5490 data sheet, entitled Two Channel Energy Measurement IC, for more
details on registers and commands. Note that the write data in the Port Communication field has an extra leading
command byte - “52” in the example. This is a read command for the MCU. Read data does not contain an extra byte.

Common CS5490 registers can be written to a file using the SAVE button in the Device Configuration panel. The
LOAD button is used to recall the common CS5490 registers that were previously saved. It is recommended to
configure the device using the Write button, start conversions from the Quick Measurements tab, stop conversions,
and then save the current configuration to a file.

Figure 26. Register Write/Read Tab - Read

Advertising