Other Parts Discussed in Thread: TUSB320
Tool/software:
Dear Texas Instruments Support,
I am working on a project where I need to configure the TUSB320LAI (USB Type-C Configuration Channel Logic and Port Control) using a PIC16F1508 microcontroller over I2C using protocol.
I am using this IC with following PIN configuration from Hardware side,
- PORT - NC – DRP mode
- ADDR – PullUp - I2C is enabled and I2C 7-bit address is 0x67
Our Application (Requirement):
USB Type-C connector which CC1 & CC2 PIN is connected to TUSB320LAI IC, will be working as host and connected to Any Cell Phone (like Android, iPad etc.) or Any system (like Mac book, Windows etc.). Whenever host (Any battery-operated device like iPad, Mobiles etc.) is connected that time host’s battery will be charge by board supply by using TUSB320LAI IC with up to 1 Amp, because of We need to keep host alive. And also, host will transfer data to connected device.
As per our above requirement, I am attempting to manually write configuration CSR registers, but I am encountering unexpected behaviour during testing. The IC does not behave accordingly
Test Case 1: – Behaviour of CSR Register 0x08:
According to the datasheet, the default value of register 0x08 of 7 & 6 bit is 00 (500 mA / 900 mA initial value at startup). However, when I write this register’s 7 & 6 bit is 01 (Mid 1.5 A), then after connecting any battery-operated device (like iPad, Mobiles etc.) to host USB Type-C connector, this device’s battery will not take any current from board.
Request:
Please suggest if required to any other CSR register of TUSB320LAI to achieve our requirement and also provide an example of how to configure the TUSB320LAI via I2C using a microcontroller. Also suggest any changes to our current hardware configuration.
Here is attachment of my code and our schematic of TUSB320LAI IC. Please find it.
Thanks for your support,
Best regards,
Mayank MirajkarTI_QUEERY.rar

