SBOU328 May 2025
Use the serial COM port to read and write registers through USB commands using the following format:
Set device address format: setdevice DEVID
Where setdevice is always lower case, and DEVID is defined as:
The 4 LSBs of the address in decimal format. For example, an address of 0x4A is 10.
Note, when the SCB is reset while one or more EVMs are connected, the address defaults to the lowest address found.
The SCB checks for I2C or SPI at start up. If no device is attached, then the device defaults to SPI. Reset the SCB with an I2C EVM connected to use I2C.
For example, to set the INA2227EVM with a register address of 0x4A, send the command: setdevice 10
For this example, the EVM returns the acknowledgment and state (idle or collecting) in JSON format: