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.

TPS5403: test

Part Number: TPS5403
Other Parts Discussed in Thread: C2000WARE, , TMDSCNCD280025C

test

  • Hi ,

    Pls let us know your detail question to support you . And i will close this case first if there is no other issue .

    BRs,

    Young.

  • Hello,

    at the moment I haven't received any answer to my question and the issue is still open.

    Since I don't see in this page the original description of the problem, I am repeating it here.

    ***
    We are starting a new project with TMS320F28002x microcontroller

    For the moment I am using an evaluation board, with a 180-Pin ControlCARD Docking Station

    I need to use SPI interface. As a first step, I just wish to make work an example project in the development kit, and precisely C:\ti\c2000\C2000Ware_4_00_00_00\driverlib\f28002x\examples\spi\spi_ex4_external_loopback_fifo_interrupts.c

    I implemented the necessary external connections that are indicated in the header of the example

    //! -GPIO40 and GPIO8 - SPISIMO
    //! -GPIO41 and GPIO10 - SPISOMI
    //! -GPIO22 and GPIO9 - SPICLK
    //! -GPIO23 and GPIO11 - SPISTE

    Unfortunately, the example doesn't work. The receive interrupt spiaRxFIFOISR is never triggered.

    I have just built the executable file for the project example and the development kit, but it doesn't work. This example consists of configuring the SPIB module as master and the SPIA as slave. The SPIB sends a pattern and the SPIA receives it.

    This example makes use of interrupts. This means, that there is a TX interrupt and an RX interrupt.

    I am debugging with CCS. The TX interrupt is triggered, but the RX interrupts is not triggered

    The question for you is what I have made wrong.

    I have connected the pins as indicated by the example.

    //! -GPIO40 and GPIO8 - SPISIMO
    //! -GPIO41 and GPIO10 - SPISOMI
    //! -GPIO22 and GPIO9 - SPICLK
    //! -GPIO23 and GPIO11 - SPISTE

    SPIA SIMO - GPIO 8 - is pin 67
    SPIA SOMI - GPIO 10 - pin 69
    SPIA CLK - GPIO 9 - pin 71
    SPIA STE - GPIO 11 - pin 73

    SPIB SIMO - GPIO 40 - is pin 75
    SPIB SOMI - GPIO 41 - pin 77
    SPIB CLK - GPIO 22 - pin 79
    SPIB STE - GPIO 23 - pin 81

    What may have made wrong? Should the code example be ready to work as is, or is some tweak needed?

    Just for your background info: I have tested other examples in the development kit C2000Ware_4_00_00_00 and they works fine. For example: i2c eqep, adc... This is the first one example I found, which doesn't work

    After a further check, I realized that the GPIO ports that are in the original example need to be changed, according to the pin out of F280025.

    Referring to the configuration file of the code example (spi_ex4_external_loopback_fifo_interrupts.syscfg), the correct pin configuration is:

    spi1.spi.spi_simoPin.$assign = "GPIO16";
    spi1.spi.spi_somiPin.$assign = "GPIO17";
    spi1.spi.spi_clkPin.$assign  = "GPIO18_X2";
    spi1.spi.spi_stePin.$assign  = "GPIO19_X1";
    spi2.spi.spi_simoPin.$assign = "GPIO24";
    spi2.spi.spi_somiPin.$assign = "GPIO25";
    spi2.spi.spi_clkPin.$assign  = "GPIO26";
    spi2.spi.spi_stePin.$assign  = "GPIO27";
    So I made this change in the syscfg file and then I have rebuilt the executable file.

    After that, I can see the signals SIMO, Clk and STE with a logic analyzer: see attached screenshot of Intronix Logic Port.

    Nevertheless, still the receive interrupt spiaRxFIFOISR is not triggered.

    For completeness, I am attaching the latest version of the CCS project example (spi_ex4_external_loopback_fifo_interrupts_F280025.zip): if there is something else that I need to change in the software, in this archive you have all the needed information to investigate.

    The remaining point to check, is whether I have implemented the correct external connections.

    This is what I did:

    - SPIA_SIMO connected with SPIB_SIMO, which means that pin 67 is connected with pin 75

    - SPIA_SOMI connected with SPIB_SOMI, which means that pin 69 is connected with pin 77

    - SPIA_CLK connected with SPIB_CLK, which means that pin 71 is connected with pin 79

    - SPIA_STE connected with SPIB_STE, which means that pin 73 is connected with pin 81

    Now I am double-checking if these connections are correct.

    If you have comments about this connection, you are welcome.

    In the meantime I have opened a support request to TI.

    NOTE: I sent you via email (ticsc@service-now.com) the files that I have mentioned above. Unfortunately it is not possible to attach them here. If you need that I resend them, please tell me how I can send them.

    Best regards

    Alberto Amori

  • Hi Amori,

    Just to double confirm that you are talking about any issue related with TPS5403? or other issue ?  sorry that I didn't get your question clearly .

    Or you can send your question to young-zhao@ti.com for direct support. 

    BRs,

    Young

  • Hello,

    Sorry for the confusion. The issue is related to TMS320F28002x, not TPS5403, which is plugged into the 180-Pin Control CARD Docking Station. I contacted TI via chat, and possibly the person who attended the chat has posted it on the wrong forum.

    Could you please move this ticket in the right forum?

    Please refer to the following documents that you can find in the development kit of C2000:

    C:\ti\c2000\C2000Ware_DigitalPower_SDK_3_03_00_00\c2000ware\boards\controlCARDs\TMDSCNCD280025C\Rev.A\TMDSCNCD280025C_Rev.A_120cCARD_pinout.pdf

    C:\ti\c2000\C2000Ware_DigitalPower_SDK_3_03_00_00\c2000ware\boards\ExperimenterKits\DockingStation_ HSEC_120or180pin\R5_0\controlCARDDockingStationR5_0-SCH.pdf

    The datasheet of TMS320F28002x Real-Time Microcontrollers is sprsp45b.pdf and can be downloaded from TI website.

    Now I am sending to your email the attachment, which I am not able to upload here.

    Best regards

    Alberto

  • Hi, 

    Sorry that I can not edit the thread title .Could you help submit another thread using the right part number ? And C2000 team will help on your question soon.

    Pls allow me to close this thread firstly . Feel free to contact us if you have any question regarding buck application .

    BRs,

    Young

  • Hello,

    about your request to close this ticket and open another one: please notice that I am not allowed to post tickets in the TI forum. Yesterday, when I tried to post the ticket directly, I received an error that my e-mail is not a valid corporate e-mail.

    As I already mentioned above, I had to contact your chat, and the employee of the chat opened the ticket for me.I have described the issue in the chat, and now I have described it again in this post.

    Now you are saying that the person of the chat opened the ticket in the wrong place and you are sending me again at the starting point. In order to break this endless loop, could you please move the ticket in the right place, or route the issue in some way to the right department?

    Thank you for your understanding.

    Best regards

    Alberto

  • Hi ,

    understood , let me try to just assign it to C2000 team for help .

    BRs,

    Young

  • Hi,

    I found the issue. The GPIO 18 and 19 cannot be used for SPI because there is one note in the pinout document saying "GPIO can only be used with INTOSC". I have used different GPIO and now it works.

    Thank you for your attention and sorry for the trouble.

    Best regards

    Alberto