174 | © Danfoss | August 2018 AQ00000211
Write parameters to PVED-CLS’ EEPROM
• Put PVED-CLS into “bootloader mode”
• For MAIN-controller:
o Write data sector “CAN WAS Calibration data”
o Read back data (verification)
o Acknowledge data correctness
o To sign acknowledge, calculate signature CRC and write it at the CRC/signature address (P46)
o Write data sector “Production/Calibration Flag”
• For SAFETY-controller:
o Write data sector “CAN WAS Calibration data”
o Read back data (verification)
o Acknowledge data correctness
o To sign acknowledge, calculate signature CRC and write it at the CRC/signature address (P46)
17.6.4 Calibrating Analogue Joystick
The following description explains how to manually calibrate Analogue Joystick. The procedure consists of three main
steps:
1. Read sensor values and sensor supply voltage
2. Data sector preparation
3. Write parameters to PVED-CLS’ EEPROM
Procedure:
Read sensor values and sensor supply voltage
• Put PVED-CLS into “Joystick Calibration service mode”
• Start ADC readout on CAN bus
o For MAIN- and SAFETY-controller, start status message 1 @ 100ms
o For MAIN- and SAFETY-controller, start status message 3 @ 100ms
• Turn Joystick to left most position
o For MAIN- and SAFETY-controller, read AD1 and AD2 and temporarily store the two values
• Turn Joystick to neutral position
o For MAIN- and SAFETY-controller, read AD1 and AD2 and temporarily store the two values
• Measure sensor supply voltage (only needed if the 5V Sensor supply compensation is enabled (P3217 set to 255
and P3219 set to 255)
• Turn Joystick to right most position
o For MAIN- and SAFETY-controller, read AD1 and AD2 and temporarily store the two values