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.

TPIC46L01: SPI Operation understanding

Part Number: TPIC46L01

I am trying to use TPIC46l01 gate driver to control my devices using SPI communication which is being converted from I2C data frame through I2C to SPI converter IC SC18IS602BIPW/S8HP.

I am able to control the devices by writing data, but when I try to read Fault status I am only able to read some times. If I connect load on GATE0 I am not able to read the fault status data frame, instead when I put load on rest of the GATES I am able to get the Fault status correctly without any issue. Even though I am able to control ALL the GATES it is not causing any problem, but when I try to perform a read operation the above mentioned issue is faced.

Please suggest the issues/mishandling possible at our end.

Also please check that is there any document or Sample code available by which I can better understand the working of this IC's SPI operation.

  • Hi Abhishek,

    Thanks for reaching out about TPIC46L01, and welcome to e2e!

    Figure 13 in the TPIC46L01 datasheet explains how the fault register works for example, how SDO data is clocked out. In order for fault data to appear in the SDO register CS needs to be pulled low when a fault exists. If a fault does not last for the entire deglitch time then it is not recognized as a fault. For a short to ground fault however the fault can only be cleared (potentially accidentally) by disabling then enabling the faulted gate.

    When a fault occurs, the gate output on which the fault exists shuts off. After the gate shuts off due to the fault the SDO register can then be read to see the fault for the respective gate output.

    Check out the app notes associated with TPIC46L01, you can find examples of system design including fault diagnostics and driver power capabilities. There is also a section on the SPI register in slit112 figure 4,5,6.

    http://www.ti.com/lit/an/slit114a/slit114a.pdf

    http://www.ti.com/lit/an/slit112/slit112.pdf

    Please let me know if this helps solve the SPI fault read issue. Let me know if you have any questions on this material as well.

    Thanks,

  • Hi Jeff,

    I have referred these documents but I am not sure my understanding is accurate that's why I am asking you, can you provide it in simple terms like in a sequence what exactly I need to send and what I need for a read operation.

    I am also contacting the NXP person (SC18IS602B IC) regarding the same issue and he is not sure about the working of SPI operation by TPIC46L01 IC. Please help in understanding the SPI operation more clearly for us.

  • Hi Abhishek,

    Thanks for the update, to check whether the SPI is being properly operated on TPIC we need to see the SPI pin voltages when the fault happens.

    Using serial SDI input or parallel IN0-5 input can you take a scope shot of the corresponding faulted gate, SDO, CS and CLK?

    Thanks,

  • Part Number: TPIC46L01

    Hi E2E, 

    Good day.

    We have a customer asking for any TI documentation for SPI control on Gate drivers. 

    The customer is using TPIC46L01 IC for relay control through SPI, which is converted from I2C using SC18IS602B IC. Everytime he connect load on GATE0, and try to read the fault status for the same using I2C line (indirectly) he is getting error on read"

    Any information on SPI control for TPIC46L01 or similar device could help.

    Thanks in advance!

    Art

  • HI Art,

    I just wanted to update the thread with this post and let you know we are in the process of finding a solution.

    I want to see what is happening on the SPI lines so we can be sure of how to interpret such data. Let me know if you have any questions.

    Thanks,

  • Hi Jeff,

    Thank you very much on this. I think it would be better to refer the customer to this thread, that way he can communicate
    with you what exactly is happening with his set-up. 

    I appreciate your support on this.

    Best regards,

    Art