Calibration for Touch Sensitive Devices
After modding my headphones, I realized that the touch capacitance was not as sensitive as I required it to be. Because of the tight timing requirements to detect if a touch is present, small changes in the environment can result in large changes in the detected delay. It was hard to debug because Padauk does not have any debugging hardware on the IC itself, relying instead on emulation for programming and debugging. However, emulation means that it is unable to replicate the timing and chip performance perfectly, which adds another layer of delay and uncertainty when programming the threshold for detecting touch. ...