beautypg.com

6 ce data access commands, 1 single register ce access, 2 consecutive ce reads – Maxim Integrated 6612_OMU_S2+2_URT_V1_14 User Manual

Page 16: Ce data access commands, Single register ce access, Consecutive ce reads

background image

6612_OMU_S2+2_URT_V1_14 Firmware Description Document

UG_6612_017

16

Rev. 1.0

4.6 CE Data Access Commands

The CE is the main signal processing unit in the 78M6612. The user writes to the CE data space are
mainly for calibration purposes. For the advanced user, details of CE data access commands are
described. The commands similar to the MPU access except that ] is used for the CE data access
command.

The host requests access to information from the CE data space using the CE data access command
which is a right bracket:

]

To request information, the host sends the CE data access command, the address (in hex) which is
requested, the format in which the data is desired (hex or decimal) and a carriage return. The contents of
the addresses that would be requested by the host are contained in

Section 5

.


The host can request the information in hex or decimal format. $ requests information in hex and ?
requests information in decimal.

4.6.1 Single Register CE Access

An example of a command requesting the calibration constant for current on Outlet 1 (located at address
0x08) in decimal is as follows:

>]08?

An example of a command requesting the calibration constant for current on Outlet 1 (located at address
0x08) in hex is as follows:

>]08$

4.6.2 Consecutive CE Reads

The host can request information form consecutive addresses by adding additional ? for decimal or
additional $ for hex.

An example of requests for the contents in decimal of ten consecutive addresses starting with 0x08 would be:

>]08??????????

An example of requests for the contents in hex of ten consecutive addresses starting with 0x08 would be:

>]08$$$$$$$$$$

Note: The number of characters per line is limited to no more than 60.