
TR2 Catalogue User Manual
0089002
Page 3 of 43
12.2. CAN Commands .............................................................................................................. 23
12.3. CAN Write and Execute Command – Status bytes returned. .......................................... 23
12.4. CAN Command breakdown ............................................................................................. 24
12.4.1. Read Command - Get Calibration Counter .............................................................. 24
12.4.2. Write Command - Set Calibration Mode Register (Password) ................................. 24
12.4.3. Execute Command - Calibrate System Zero ............................................................ 25
12.5. Connect PC to TR2 using PCAN-USB ............................................................................ 25
12.6. Using Flintec Device Configurator (FDC) and TR2 CAN ................................................. 25
12.6.1. TR2 CAN Tabs ......................................................................................................... 26
12.7. FDC CAN Terminal .......................................................................................................... 27
12.8. Manually calibrate TR2 over CAN ................................................................................... 28
12.8.1. Record the calibration process ................................................................................. 28
12.8.2. Decode the commands, data and response ............................................................ 29
12.9. Using PCAN-View ........................................................................................................... 30
12.9.1. PCAN-View Man-in-the-Middle Mode (MitM) ........................................................... 30
12.9.2. Read command 0x10000006 – Get Calibration Counter ......................................... 31
12.9.3. Write command 0x1000040 - Set Calibration Mode Register (Password) ............... 31
12.9.4. Execute command 0x10000087 - Calibrate System Zero ........................................ 31
13. TR2 I2C .................................................................................................................................... 32
13.1. TR2 I2C Overview ........................................................................................................... 32
14. Engineering Mode .................................................................................................................. 33
14.1. Engineering Mode Commands ........................................................................................ 33
15. TR2 Tilt Sensing ..................................................................................................................... 34
15.1. Overview .......................................................................................................................... 34
15.2. Example ........................................................................................................................... 34
15.3. Tilt Commands ................................................................................................................ 35
15.4. Recording the Tilt Sensor baseline .................................................................................. 35
15.5. Using the FDC to see the Tilt Sensing in action .............................................................. 35
15.6. Accelerometer – NXP MMA8452Q .................................................................................. 36
16. TR2 Gravity Compensation ................................................................................................... 37
16.1. Overview .......................................................................................................................... 37
16.2. Gravity Compensation commands .................................................................................. 37
16.3. Display Gravity Compensation values in FDC ................................................................. 37
17. TR2 Communication Commands .......................................................................................... 38
17.1. Serial Text-Based Commands ......................................................................................... 38
17.2. CAN Commands .............................................................................................................. 40
17.3. I2C Commands ................................................................................................................ 42