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.

TUSB8040A1 DCP Profile

Can you please describe in detail the required state of the hub to enable DCP? I keep measuring a 15k resistance between D+ and D- with charging enabled in eeprom. I have tried various eeprom settings, but here are my current ones:

READ: 0x55  ACK 0x51  ACK 0x04  ACK 0x45  ACK 0x80  ACK 0x04  ACK 0x0A  ACK 0x0F  ACK 0x0F  ACK 0xFF


the lsb of 0x45 in lsb of product id is just to verify that the settings do indeed get loaded.

testing downstream port 1 while there is no upstream port shows the 15k resistance.


Thank you,

Konstantin

  • Hello,
    Please set the following configuration:
    00 55 01010101 'ROM Signature - Do NOT modify!
    01 51 01010001 'Vendor ID LSB - Can be modified
    02 04 00000100 'Vendor ID MSB - Can be modified
    03 45 01000101 'Product ID LSB - Can be modified
    04 80 10000000 'Product ID MSB - Can be modified
    05 10 00010000 'Device Configuration - Can be modified
    06 0A 00001010 'Battery Charging- Can be modified
    07 0F 00001111 'Device Removable- Can be modified
    08 0F 00001111 'Port Used- Can be modified
    09 00 00000000 'RSVD
    0A 02 00000010 'RSVD - disable charging test mode

    Regards
  • Thank you,


    After making sure that every Reserved register was set to the recommended settings battery charging worked.

    Now if only it supported more profiles :)