beautypg.com

3 block reads, 4 concatenated reads, 5 mpu/xdata access commands – Maxim Integrated 6612_OMU_S2_URT_V1_13 User Manual

Page 8: Block reads, Concatenated reads, Mpu/xdata access commands

background image

6612_OMU_S2_URT_V1_13 Firmware Description Document

FDD_6612_010

8

Rev. 1.1

4.3.3 Block Reads

The block read command can also be used to read consecutive registers: )saddr:eaddr? For decimal
format or )saddr:eaddr$ for hex format where saddr is the start address and eaddr is the final address.

The following block read command requests the Outlet 1 wideband information contained in

Table 4

in

decimal format:

>)20:3D?

4.3.4 Concatenated Reads

Multiple commands can also be added on a single line. Requesting information in decimal from two
locations and the block command from above are given below:

>)12?)15?)20:3D?

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

4.3.5 MPU/XDATA Access Commands

)

MPU Data Access

Description:

Allows user to read from and write to MPU data space.

Usage:

) {Starting MPU Data Address} {option}…{option}

Command
Combinations:

)saddr?

Read the register in decimal.

)saddr??

Read two consecutive registers in decimal.

)saddr???

Read three consecutive registers in decimal.

)saddr:eaddr?

Block read command in decimal format. Read
consecutive registers starting with starting
address saddr and ending with address eaddr.
Results given in decimal.

)saddr$

Read the register word in hex.

)saddr$$

Read two consecutive register words in hex.

)saddr$$$

Read three consecutive register words in hex.

)saddr:eaddr$

Block read command in hex format. Read
consecutive registers starting with starting
address saddr and ending with address eaddr.
Results given in hex.

)saddr=n

Write the value n to address saddr in hex format.

)saddr=n=m

Write the values n and m to two consecutive
addresses starting at saddr in hex format.

)saddr=+n

Write the value n to address saddr in decimal
format.

)saddr=+n=+m

Write the values n and m to two consecutive
addresses starting at saddr in decimal format.