SLYU066A October 2023 – June 2024 TMAG3001
If CRC is enabled, the GUI can be used to both calculate the CRC of a single data packet and read back the CRC byte from the TMAG3001 when in Standard 3-Byte I2C Read mode.
In the standard 3-byte read command, the CRC byte is sent after 4 register bytes are read as the CRC byte sent by the device is the fifth CRC byte calculated based off the CRC calculation of the immediate past 4 register bytes.
In the GUI register page:
Select the DEVICE_CONFIG_1 register and check the following:
Make sure the drop-down menu option for the CRC_EN register bits says 1h = CRC Enabled
Make sure the drop-down menu option for the I2C_RD register bits says 0h = Standard I2C
Use the Device field located at the top of the register map to select which EVM on the I2C bus to use.
Go to the CRC tab within the Results Data page (see Figure 4-17)
Once Data Input 1 gets entered, CRC Calc 1 is then calculated for that data packet based on the CRC calculation formula shown in the data sheet, which can be found to the left of the CRC Calculator Tool under How to Calculate CRC - Example.
Enter the rest of the data read back by the device into the Data Input boxes (see Figure 4-21 below). The value shown by Final CRC (reported by device) ought to be the same as the CRC byte reported in Figure 4-19.