3 block reads, 4 concatenated reads, 5 u command – Maxim Integrated 6613_PSU_1+1S_URT_v1_00 User Manual
Page 10: Block reads, Concatenated reads, U command
6613_PSU_1+1S_URT_V1_00 Firmware Description Document
UG_6613_040
10
Rev. 1.0
6.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 information contained in
>)20:3D?
6.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.
6.3.5 U Command
The U command is used for updating default values of the MPU Data permanently in the flash. Before
issuing the U command, CE must first be turned off by the
. An example of a U
command is as follows:
>)U
Additional examples of MPU Data Access commands are provided in the following table:
)
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.