Copyright © 2020-2021 Shenzhen CDTech Electronics LTD. All rights reserved. Site Map Powered by iwonder.cn
A touch panel that works perfectly on the bench can behave differently once an operating system, a driver stack and a firmware update mechanism are involved. Most integration problems come from three places: a driver that reports coordinates in a different space than the application expects, calibration values that do not survive a power cycle or an update, and a firmware version that does not match the panel it was tuned for.
Touch arrives as a device, with an event model attached.
Every OS defines how a touch device presents itself: which interface it uses, how it reports coordinates, what it does when a finger lifts, and how it distinguishes a stylus or a palm. The controller’s firmware must map the panel’s raw sensor data into that model. Where the mapping is wrong, the symptom is usually a correct-looking device that behaves oddly – touches offset by a margin, or releases reported late – rather than an obvious failure.
The integration work is therefore less about writing a driver than about verifying that the controller’s reported data matches the OS’s expectations for axis orientation, scaling and event semantics.
Three places can transform coordinates.
| Stage | What it can handle | Risk |
|---|---|---|
| Controller firmware | Rotation, mirroring, edge linearity correction | Must be re-tuned if the panel geometry changes |
| Driver layer | Axis orientation, scaling to display coordinates | Configuration may reset on updates |
| Application or compositor | Mapping to the UI, gesture recognition | Duplicated transformation causes offset errors |
The most common integration bug is a transformation applied twice: once in the controller and once in the driver, producing a mirrored or offset touch area. Deciding which layer owns which transformation, and documenting it, prevents the problem from recurring after a firmware update.
Calibration must survive power cycles and updates.
A capacitive panel needs less calibration than a resistive one, but it still needs configuration that matches the specific glass geometry, and that configuration must persist. Storing calibration in volatile memory means it is lost on every power cycle, producing a device that appears to work intermittently. Storing it in the application layer means it can be overwritten by a software update. The robust approach is to keep the geometry configuration with the controller firmware and any user-adjustable offsets in a location that is preserved across updates, with a documented procedure for restoring defaults.
For resistive panels, calibration is essential and user-visible; the procedure should be documented in the product manual and triggerable from the UI.
A controller firmware tuned for one stack can misbehave on another.
Controller settings – gain, thresholds, rejection profiles – are tuned for a specific sensor pattern, glass thickness and coating. If a firmware version from another project is loaded, or a controller from a different batch has different defaults, the touch behaviour changes. The practical controls are to record the approved firmware version with the product’s configuration, to include the version in the unit’s identity so that a service replacement can be matched, and to verify touch behaviour as part of incoming inspection rather than assuming a replacement unit is configured correctly.
Where the display is field-replaceable, the replacement should be programmed before delivery, since it is unrealistic to expect a technician to tune a controller on site.
Updates solve problems and create them.
Field updates are valuable for correcting a touch issue in an installed fleet, and risky because a failed update can leave a device without touch. The practical safeguards are an atomic update process with a verified fallback, a requirement that the update preserves calibration and geometry, and a staged rollout so that a problem appears in a subset rather than across the fleet. Where the product cannot be updated in the field, the firmware version effectively becomes part of the hardware specification and needs correspondingly better verification.
Recording which units received which version is part of the same discipline.
Four tests cover the integration layer.
Running these four on a release candidate catches the majority of integration defects, and they are cheap compared with a field recall.
Five symptoms, five explanations.
Each of these is diagnosable in minutes once the transformation ownership and the storage locations are documented, which is the argument for writing them down at design time. CDTech’s notes on touch screen calibration and on choosing a touch controller cover the underlying mechanisms, and platform-level guidance is available from vendors such as Synaptics and Goodix.
The configuration is part of the product.
The document that matters lists the controller part number, firmware version, sensor pattern, glass thickness and coating, the transformation applied at each layer, where calibration is stored, and the test that verifies the result. With that document, a replacement unit can be prepared correctly and a field complaint can be diagnosed quickly. Without it, every service event becomes an experiment.
Keeping the document under revision control alongside the firmware costs nothing and prevents the most common class of touch complaint: a unit that behaves differently from its neighbours.
Why is my touch offset by a constant margin?
Usually a scaling or origin error: coordinates are being transformed twice, or the driver expects a different coordinate space from the one the controller reports. Deciding which layer owns rotation and scaling, and applying it once, resolves it.
Why does touch calibration disappear after a reboot?
Because calibration values are stored in volatile memory rather than persistent storage. Keep the geometry configuration with the controller firmware, store user-adjustable offsets where updates will not overwrite them, and test a power cycle as part of the release.
Can touch controller firmware be updated in the field?
It can, where the product includes an atomic update process with a verified fallback and preserves calibration during the update. Roll it out in stages, and record which units received which version. Where field updates are not possible, the firmware version becomes part of the hardware specification.
Why does touch behaviour change after replacing a display module?
Because the controller’s tuning is specific to the sensor pattern, glass thickness and coating. A replacement with different firmware or default settings behaves differently. Program the approved firmware before delivery and verify touch as part of incoming inspection.
Send the host platform, controller, panel stack and update constraints to CDTech; the reply will state the configuration to apply, the version to record and the tests that confirm integration.
Contact [email protected] or use the contact page.
For related engineering guidance, see our display interface and touch guide.
By continuing to use the site you agree to our privacy policy Terms and Conditions.