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.

TPS65916EVM: SPI COMMUNICATION using External Microcontroller

Part Number: TPS65916EVM
Other Parts Discussed in Thread: TPS65916, TPS65917-Q1,

Hi

I am using SMPS4 regulator for voltage scaling application using an external Microcontroller using SPI communication in TPS65916 EVM. I am facing a couple of issues and wanted your help/suggestion in resolving the same.

1.  In the Timing diagram of SPI given in the TPS65916 datasheet at page no 64 write operation Fig 21-SPI write, the width of unused bus is mentioned  as but in the explanation given above the figure in the datasheet at page 63, it is mentioned as 4.

2. Only one bit width is provided for page address slot but the range of addresses is 0-3.How do we access 2 and 3 page numbers with single bit addressing?

 

2) To establish the SPI communication (without using MSP430 )  I disabled the signals coming from MSP430 by removing the jumpers j35 and j36 .I also interfaced the external SPI signal coming from an external microprocessor to pin no 2 of j4(sclk),j5(simo),j6(cs) and appropriately. I shorted  j9 ,j12,j14 and j16 also by enabling trans-receivers. I tested the signals at TP6 ,TP7,TP8 and I am getting the signals which I have capture below. Now, do I have to enable/disable  any other jumpers? I am not getting the required voltage at SMPS4 OUT .Since I am  using external micro controller I cannot read back the register values of pmic before establishing communication.. So I am stuck at this problem .

Here are the scope captures. 

1)signals from external microcontroller                                     2)TP6                                                                                    3)TP7

4)TP8

Please give me the proper details for establishing SPI communication using external microcontroller( as master) and PMIC-TPS65916 (as slave).

  • Hello,

    I'm working on it and hopefully will post the answer early next week.

    Regards

  • Hello,

    Thank you for your patience - Mahmoud has had to go out of office unexpectedly so I will help to cover.

    By default, the EVM does not support SPI - the PMIC on the EVM is orderable TPS659161RGZR which is OTP programmed to support I2C: https://www.ti.com/lit/pdf/slvuao4

    To utilize SPI, it would need to be an OTP setting with SPI. Can you help describe the application? 

  • I am using TPS65916 EVM as slave to dynamically control the voltage of SMPS4OUT voltage regulator using SPI interface.
    Application-I am using an automotive microcontroller as Master which determines the required voltage level and transmit it through SPI to slave (TPS65916 EVM).I wanted SPI communication 

  • Hello Kiran,

    The EVM has TPS659161RGZR which is configured for I2C, it will not respond to SPI. Unfortunately, all of the web-released versions of TPS65916 and TPS65917-Q1 use I2C. 

    Is this for an end product design or just for testing? If it is for an end product, I can have our marketing team reach out to you regarding the business case to see if we can support an SPI-enabled version.

  • Does TPS659413 EVM supports SPI ?

    for my application.. please confirm.

  • i am using the product for testing purpose. Can i enable SPI communication on this board by altering OTP? and am i allowed to do that???.i If yes ,please share me the procedure to enable SPI by altering OTP settings.

  • i want an board with SPI module which can control PMIC voltage regulator registers.

    so i am asking whether the board TPS659413 EVM is also like OTP programmable concept kind?

  • i  procured TPS65916 EVM  board only for SPI and it will be of waste if its not enabled, can we get local support (free/paid) to get it re-programmed.. or will i get replacement with the board with SPI?In the datasheet and manual of TPS65916 feature list has SPI option , now if it cannot be enabled means it would really loss of money and resource for me and i bought the product recently (feb 14 2021) .please help me with this.

  • Hi Kiran,

    TPS65916EVM is intended to be used as a tool for evaluating the TPS65916 device for mass production. It's not intended to be used as a test tool. Within that scope, I can try to help. 

    I should clarify - you can configure it to SPI using the I2C_SPI bit in the I2C_SPI register. Using I2C, if you change this register to '1', the communication interface should switch to SPI. These register are volatile though, so will need to be set each time the board powers up. The MSP430 on the EVM can be used for this.

    Pre-programmed to SPI will likely be difficult to obtain - as noted there are no public released (sampleable) versions, the only item I found was a 2500 unit reel, which I suppose is not what you are looking for. 

    Lastly, TPS65413EVM is roughly the same concept - all existing spins utilize I2C to my knowledge. Eventually, the TPS6593EVM will release which would have programmability function (it uses EEPROM instead of OTP), but I do not believe yet that it is ready.