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.

TS3A227E: TS3A227E I2C

Part Number: TS3A227E

We use Android 11 system, RK3568 CPU, Codec is  ALC5640

there is a problem that the speed of inserting headphones is slow and can not record.

Change the insertion de-bounce timer Whether to modify the location below?

How to modify register contents, Can you provide reference drivers for Android 11?

  • Sorry we don't have the driver for Android 11.

    How to modify register contents

    Please refer to the datasheet of  10.2.2.1 Accessory Insertion .

    About the de-bounce time, a  high to low transition one the DET_TRIGGER pin will start the internal de-bounce timer (default 90 ms).Once the de-bounce timer has expired, it is determined that an accessory is inserted and the detection algorithm is performed to determine what the accessory is and where the ground line is located.

    Once a DET_TRIGGER transition has occurred, any I 2C register changes will not be serviced until after the debounce and detection sequence have completed. If DET_TRIGGER transitions from Low to High before the debounce period has expired. The I2C register changes will be serviced before a new de-bounce timer is started from another High to Low transition on the DET_TRIGGER pin. The I2C communication has to complete before the next High to Low transition to take effect.