2025-06-12 3:13 PM
Is a document available that defines all the configuration data blocks for the LIV4F? We are specifically looking for the contents of configuration data block 263, which seems to configure the I2C interface.
2025-06-18 6:43 AM - edited 2025-06-18 6:45 AM
Hi,
You can enable the I2C interface by
$PSTMSETPAR,1263,0x1,1 //enable I2C
$PSTMSAVEPAR //save and reset
$PSTMSRR //reset for settings to take effect
$PSTMSETPAR,1263,0x1,2 //disable I2C with bit mask 2
$PSTMSAVEPAR //save and reset
$PSTMSRR //reset for settings to take effect
I2C speed by default is set to STANDARD.
Bit 16-23
0..2
0 = Speed mode STANDARD
1 = Speed mode FAST
2 = Speed mode HS
Default device address of LIV4F is 0x3A.
I would not change bit-24 to bit-31 as this deals with pin assignment and is not applicable for module settings.