Hi
I work with the AM3517 EVM and BSP_WINCE_ARM_A8-1.00.00.09.
Now , I want to Disable touchDriverCalibration at Power on , Can you tell me how to do ?
Thanks.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
I am not familiar with the AM3517 BSP, but generally there will be a call to TouchCalibrate() somewhere in the touchscreen driver.
In the OMAP3530 BSP it is in the file
C:\WINCE600\PLATFORM\TI_EVM_3530\SRC\DRIVERS\TOUCH\touchscreen.cpp
Just comment out the call.
Since calibration is now skipped you will probably want to add a default set of calibration data to the registry.
Example from the OAMP3530 BSP:
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
"CalibrationData"="2020,1985 3463,3508 3477,523 565,535 569,3528"
Again, this may need adjusting for your hardware and/or touchscreen driver.
Alternatively, if you are using the hive-based registry, you could change the touchscreen driver to check for the existence of the CalibrationData key, and only if it is not found, call TouchCalibrate.
Best regards,
Carsten