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