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.

TPS65987D: Default GPIO Function/State w/o Configuration

Part Number: TPS65987D
Other Parts Discussed in Thread: TPS65982, TPS65988, TPS65987

Hi Team,

I'm following up on a question previously posted here: https://e2e.ti.com/support/interface/f/138/p/894307/3338967#3338967

The question stated we're confused by is What is the default state of the GPIO pins individually GPIO0-21 of the TPS65987D when the device is running straight out of the box WITHOUT any additional configuration done through external Flash. The datasheet states that the "reset state" of the pins will by High Z inputs immediately after device power up, but what do the GPIOs stay in this state if they are not configured to do any other function and what happens is a signal is input into these pins? Do any other pins switch to a different primary function besides GPIO 5-7 for I2C and GPIO18-19 for USB D+/-?

Additionally, do we have any reference designs or schematics with the TPS65987D utilizing a high speed MUX? All of the ones I've seen online are only PD.

Regards,
Matt

  • Hi Matt,

    If you open the application configuration tool, and load any of the default projects there, you will see the default GPIO settings for the EVM. The GPIO settings are shared for all of the example projects within the configuration tool

    For the MUX connection, you can refer to the TPS65988EVM which has a MUX populated on the EVM

  • Hi Adam.

    Where are the default settings for the function of each GPIO (0~21) for the TPS65987D and TPS65982 as shipped, no external flash, found?

    Thank you,
    Michael

  • Michael,

    If you download the GUI (http://www.ti.com/tool/TPS6598X-CONFIG), and then go to Project -> New Project -> TPS65987D and then pick any of the configurations. Next, go to the GPIO register in the project file and this will show you the default GPIO settings for the EVM

  • Hi Adam.

    Where are the default settings found for the function of each GPIO (0~21) for the TPS65987D and TPS65982 as shipped, no external SPI flash, no EVM?

    Could you please explain why have you repeatedly answered my OTP (ROM) appcode question with an EVM appcode answer? 

    It has previously been established that the EVM uses updated appcode that is not identical to on-chip OTP (ROM) appcode.

    Please guide me if I am mistaken.

    Thank you,

    Michael

  • HI Michael,

    I understand your question now. The following table found in the datasheet is the description for the default configurations found in the ROM.

    If you would like GPIO functionality or the ability to control an external MUX, you must use an external SPI flash and the configuration tool.

  • Hi Adam,

    Thank you for letting me know that GPIO functionality or the ability to control an external MUX requires an external SPI flash and use of the Configuration Tool.

    Many of my prior questions would not have been posed if I had been aware of this prior. The TPS65982 or TSP65987D data sheets do not indicate this, the Configuration Tool is not  listed on the TPS65987D or TPS65982 product pages, the EVM pages list it as "GUI", in hind site I see that each TI TSP6598x document refers to the Configuration Tool by a different name, and the links in some of the TI documents open the product page where the document linked to is not present.

    The Configuration Tool crashes when the Debug menu is clicked.

    Best regards, 

    Michael

  • Hi Adam,

    Can this TPS6598x Configuration Tool be used to program appcode to the SPI flash memory on any TI USB PD controller evaluation module (EVM)? If so, which EVM?

    Best regards,

    Michael

  • Hi Michael

    If you go to the webpage for the EVM, there are steps you can follow for evaluating the TPS65987D and the TPS65987DEVM. This will answer your question on how to interact between the GUI and EVM

  • Hi Adam,

    Will the TPS6598x Configuration Tool program the SPI flash on the TPS65987EVM or the USB-C-PD-DUO-EVM through all 3 the supported EVM-to-PC connection methods provided on these EVMs? 

    I ordered these EVMs last month, but none have arrived to me yet, so I can not see if I can figure it out myself, and I'm needing to make system architecture decisions in the mean time.

    Thank you for your help. I had read all of those documents, listened to and watched both videos, and purchased the EVMs last month. They are all information-rich documents, and I am grateful for them, but I did not find answers to my prior questions, or the above question, in any of those sources, nor in any of the many TPS65987D documents.

    Best regards,

    Michael

  • Yes, the  TPS65987EVM and USB-C-PD-DUO-EVM use a TIVA programmer which the configuration tool is able to communicate with in order to program the external FLASH. The GUI is also able to generate the .bin file for you to save locally on  your system and then program the flash directly however you wish so that you do not need to install a TIVA programmer onto you production system

  • Good afternoon, Adam,

    I do not know what a TIVA programmer is or what it infers. Can you please direct me to it? I have searched for it - please see the below links and my notes.

    Do the TPS65987 or TPS65988 in effect implement an I2C to SPI bridge that can be used to re-program the external SPI flash memory? I have been unable to determine this with certainty, reading the TPS65987D and related documentation.

    Do the TPS65987 or TPS65988 in effect implement an USB2 to SPI bridge that can be used to re-program the external SPI flash memory? It appears to me that they do not.

    Based on https://e2e.ti.com/support/interface/f/138/t/905626?tisearch=e2e-sitesearch&keymatch=TPS65987D it appears to me that the TPS987D does not implement a USB to SPI flash memory programmer.

    https://e2e.ti.com/support/interface/f/138/t/905470?tisearch=e2e-sitesearch&keymatch=TPS65987D does not really answer my question about the I2C to SPI bridge for the TSP65987D.

    I went to ti.com and searched E2E for TIVA programmer. I encounter hits such as https://e2e.ti.com/support/microcontrollers/other/f/908/t/365473?keyMatch=TIVA%20PROGRAMMER&tisearch=Search-EN-everything which reads "Could one suggest production programmer for Tiva..." which does not appear to me to be applicable.

    I then searched TI.com for TIVA and TIVA programmer. I get many hits. Many of the top hits, such as http://www.ti.com/lit/ug/spmu286a/spmu286a.pdf?ts=1590692522028 refer to "TIVA C-Series LaunchPad" to "launch your own TIVA TM4C applications." This appears to me to be a TM4C microcontroller application development platform.

    I received the TPS65987EVM and the USB-PD-DUO that I ordered more than a month ago, and will see how far I can get with it and the configuration tool. I am ordering the TPS65988EVM, now that Matt indicated that it implements an SS+ data path that the TPS65987EVM does not.

    Regards, Michael

  • Hello Adam.

    Can you please provide a readable version of page 43 of the TPS65988EVM manual? If not, can you get me a copy of the schematic individuated from this document slvub62a.pdf, or any way of overcoming the unfortunate use of low resolution JPEG compression on line art. I have attached a screen capture of page 43, magnified to make the impossibility of reading it obvious.

    Thank you, Michael

  • Hi Adam.

    What is BoosterPack? Can you point me to it?  "BoosterPack" appears 9 times in the slvub62a.pdf TPS65988EVM manual, but there is no discussion, definition, link, or BoosterPack info of any kind in the document.

    Thank you, Michael

  • Adam Mc Gaffin said:

    Yes, the  TPS65987EVM and USB-C-PD-DUO-EVM use a TIVA programmer which the configuration tool is able to communicate with in order to program the external FLASH. The GUI is also able to generate the .bin file for you to save locally on  your system and then program the flash directly however you wish so that you do not need to install a TIVA programmer onto you production system

    Good afternoon, Adam,

    I do not know what a TIVA programmer is or what it infers. Can you please direct me to it? I have searched for it - please see the below links and my notes.

    Do the TPS65987 or TPS65988 in effect implement an I2C to SPI bridge that can be used to re-program the external SPI flash memory? I have been unable to determine this with certainty, reading the TPS65987D and related documentation.

    Do the TPS65987 or TPS65988 in effect implement an USB2 to SPI bridge that can be used to re-program the external SPI flash memory? It appears to me that they do not.

    Based on https://e2e.ti.com/support/interface/f/138/t/905626?tisearch=e2e-sitesearch&keymatch=TPS65987D it appears to me that the TPS987D does not implement a USB to SPI flash memory programmer.

    https://e2e.ti.com/support/interface/f/138/t/905470?tisearch=e2e-sitesearch&keymatch=TPS65987D does not really answer my question about the I2C to SPI bridge for the TSP65987D.

    I went to ti.com and searched E2E for TIVA programmer. I encounter hits such as https://e2e.ti.com/support/microcontrollers/other/f/908/t/365473?keyMatch=TIVA%20PROGRAMMER&tisearch=Search-EN-everything which reads "Could one suggest production programmer for Tiva..." which does not appear to me to be applicable.

    I then searched TI.com for TIVA and TIVA programmer. I get many hits. Many of the top hits, such as http://www.ti.com/lit/ug/spmu286a/spmu286a.pdf?ts=1590692522028 refer to "TIVA C-Series LaunchPad" to "launch your own TIVA TM4C applications." This appears to me to be a TM4C microcontroller application development platform.

    I received the TPS65987EVM and the USB-PD-DUO that I ordered more than a month ago, and will see how far I can get with it and the configuration tool. I am ordering the TPS65988EVM, now that Matt indicated that it implements an SS+ data path that the TPS65987EVM does not.

    Regards, Michael

  • Hello,

    I've answered this question in another thread. We can go ahead and close this thread

  • Hi Adam,

    I do not believe the original question from my post was ever answered:

    The question stated we're confused by is What is the default state of the GPIO pins individually GPIO0-21 of the TPS65987D when the device is running straight out of the box WITHOUT any additional configuration done through external Flash. The datasheet states that the "reset state" of the pins will by High Z inputs immediately after device power up, but what do the GPIOs stay in this state if they are not configured to do any other function and what happens is a signal is input into these pins? Do any other pins switch to a different primary function besides GPIO 5-7 for I2C and GPIO18-19 for USB D+/-?

    Can you help us understand what will happen with these conditions?

    Thanks,

    Matt

     

  • When there is no configuration loaded on the PD controller, the GPIO's should not be used as their state cannot be guaranteed. If you would like to use GPIO's from the TPS65987D, then you MUST have an external SPI flash for the PD controller to load the custom configuration.