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.

What's the TMS570LS20XXX SPI register SPIDAT0 and SPIDAT1 difference

Dear Friends,

I am using TMS570LS20XXX SPI in standard SPI mode, one SPI as master (communicate with another MCU_1)and one SPI as slave (communicate with another MCU_2).

In TRM SPNU489C, it describes not clear how to use SPIDAT0 and SPIDAT1, and what's the difference.

How i use SPIDAT0 and SPIDAT1 registers? Is there any need pay special attention to?

  • Fumin,

    The  main difference is

    1)SPIDAT0 is only accessible in compatibility mode and mainly retained for backwards compatibility with our older generation devices

    2)SPIDAT1 has programing capability for different data formats  and  other parameters like WDEL(delay counter at end of transaction) and chip select no to be activated during the transfer. The parameters programmed  SPIDAT1 can also be used to oveeride the defauls in SPIDAT0

    If you are not implementing the transfers through the buffered RAM and directly using the SPIDAT. i would suggest on using SPIDAT1 and not use SPIDAT0