ENGINEERING TOMORROW
Write parameters to PVED-CLS' EEPROM
•
Put PVED-CLS into "bootloader mode"
•
For MAIN-controller:
Write data sector "CAN WAS Calibration data"
o
Read back data (verification)
o
Acknowledge data correctness
o
o
To sign acknowledge, calculate signature CRC and write it at the CRC/signature address (P46)
Write data sector "Production/Calibration Flag"
o
•
For SAFETY-controller:
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
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
For MAIN- and SAFETY-controller, start status message 1 @ 100ms
o
For MAIN- and SAFETY-controller, start status message 3 @ 100ms
o
•
Turn Joystick to left most position
For MAIN- and SAFETY-controller, read AD1 and AD2 and temporarily store the two values
o
•
Turn Joystick to neutral position
For MAIN- and SAFETY-controller, read AD1 and AD2 and temporarily store the two values
o
•
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
174 | © Danfoss | August 2018
AQ00000211