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.
Hi Team,
I am using TPS65988DHRSHR device is my design and now I am trying t flash it for the first time using Customization tool over I2C using Aardvark dongle. The setup block diagram looks as below.
We are using TPS65988DHRSHR device for Alt mode application (TUSB1146) with 5V switch (PP_HV2 to VUSB2) to Type-C.
I was facing the issue "SPI FLASH to Device Failed Verification error on loading image", when I tried to Flash the bin file over I2C (Header-2). Then I tried connecting the Flash device SPI lines (Header-1) to aardvark and was able to load the .bin.
My first question:
Is flashing over I2C is not supported for TPS65988? Is it a must to connect SPI lines to dongle?
Below is the project file.
When I set the PP2 switch map to VBUS2, it is giving out some error
not sure why is this wrong? Internally PP_HV2 is mapped to VBUS2 as per datasheet snap below. How
When I loaded the same into Flash and it was successful. Upon power up, I am not able to see the voltage at VBUS_2,
Other questions:
1. May I know what PP3 switch and PP4 switch resembles? We have only two switches for the device.
2. I need a simple switch enabled between PP_HV2 and VBUS2 as shown in the setup block diagram above, along with Altmode support for TUSB1146 (over I2C1). What are the simplest configuration settings to be done in configuration tool to achieve this?
I have gone through videos on using the tool, but I suggest, it is better to have documentation on what each field means within tool. Most of these values are not discussed in videos.
Regards,
Amith K Bhat
Amith,
For the picture that you have shown, I would suggest that you select the TPS65987D rather that the TPS65988. You do not need a 2 port controller and the single port controller will perform all of the functions that you require.
To answer your GUI guestion: The GUI flash for the TPS65988 utilizes the SPI header, not the I2C header. We do have a feature to allow you to update a flash once it is programmed once using the I2C bus, but this still requires the flash to be programmed once.
Regards,
Chuck
Hi Chuck,
Thanks. We will flash with SPI header.
1. Can I load TPS65987D bin to TPS65988D device?
2. What PP3 switch and PP4 switch resembles? I am using only PP2_HV2. Is below setting correct?
Regards,
Amith K Bhat
Amith,
I have attached an example project of how to put the TPS65988 into TPS65987 emulation mode and set the power switches according to your block diagram.
Hi Chuck,
Thanks. I could program it and it is behaving the way expected.
May I know how to set I2C1 as Master to communicate with the TUSB1146 and anyway to validate if it is working as master?
Regards,
Amith K Bhat