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.

TMS320F28377D: The issue of SPI in 28377D

Part Number: TMS320F28377D

hello!

In my program i set the spi works at the FIFO mode, after i write the SpibRegs.SPITXBUF the register of SpibRegs.SPIFFTX.bit.TXFFST always is 0,no matter i write how many data to the SpibRegs.SPITXBUF.why?

Another question, in the datasheet of 28377d(the 2002 page), the description of the SpibRegs.SPIFFTX.bit.TXFIFO is 

But at the 1928 page, the description is

which one is right? thank you

regards!

shook

  • Shook,

    Are you looking at the following TRM for the F28377D?

    http://www.ti.com/lit/ug/spruhm8f/spruhm8f.pdf

    I found the sections you are referring to, but they are different.

    For example page 2007:

    and Page 1990:

    Where did you get the document you are referencing?

    I hope the above also answers your question!

    Thanks,

    Vince Rodriguez

  • hi,Vince Rodriguez
    The different is in the spi section,not the sci section, in the page 1982 of spruhm8e.pdf,and the description is same in the spruhm8f.pdf.
    My another question is when I set the spi works at the FIFO mode, after i write the data to the SpibRegs.SPITXBUF the register of SpibRegs.SPIFFTX.bit.TXFFST always is 0,no matter i write how many data to the SpibRegs.SPITXBUF.why?
    thank you!
    regards
    shook
  • Shook,

    Looking at the sprugm8f.pdf, the information does not seem to contradict each other. I would suggest moving forward you use this TRM as your reference.

    For the TSFFST question, can you check and see if your sending data out? depending on how quickly your TX is, you could just be missing the time when the data is in the FIFO.

    Thanks,

    Vince Rodriguez