32/55
© 2022 ROHM Co., Ltd.
No. 64UG118E Rev.002
Feb.2022
User’s Guide
NOTE
: The lowest byte register will usually show the full value in the bit field. However, the 8-bit register value field will show the actual 8-bit value
of the register.
NOTE
: When write is done to the lowest byte register, the 8-bit register value field of the lowest byte register will be updated to show the new value
automatically. However, the 8-bit register value field of the upper register(s) that contain the remaining bit(s), will not be updated automatically to
display the new value until the Read button is pressed.
Changing device settings that occupy two or more registers
There are some device settings that not only span over few registers, but also use those registers exclusively for this setting. In those cases, the
Register editor hides all but the one byte and gives the user the ability to update the entire value from a single write to the single register. Consider
the ADP_F1_BA settings of the KX132-1211 accelerometer. This setting is a 23-bit value (0-8388607) and spans across registers ADP_CNTL4
(0x67) – ADP_CNTL6 (0x69) (
).
Figure 57. 23-bit value ADP_F1_BA is updated from a single 8-bit register
The user has the ability to update the entire 23-bit value through write to the ADP_CNTL4 register that stores the lowest 8 bits of the 23-bit value.
NOTE
: The one byte register will always show the full value in the bit field. However, the 8-bit register value field will show the actual 8-bit value of
the register.
1.4.3.2
Register sets
The list of registers shown in the Register tab can be defined by the register set files. Each set file lists the register addresses of the registers in the
set to be later displayed. The ROHM EVK GUI SW comes with several pre-defined registers sets that can be selected from the “Select set” drop
). The default register set available for all devices is the “Show all” that lists all the registers supported by the current device.
All other register sets are defined in the corresponding register set files.
Figure 58. Select set Drop Down Menu
The register sets are a very useful feature of the ROHM EVK GUI SW as it allows the user to visually see only the registers of interest grouped
together. Consider the Data Stream register set shown in (
). From this set, it is possible to select all the basic configurations of the
accelerometer such standby/run mode, power mode, ODR, full scale range, and set some basic interrupt.