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.

AM2432: How to configure SPI CS pin manually in Syscfg?

Genius 13655 points
Part Number: AM2432
Other Parts Discussed in Thread: SYSCONFIG, TMS320F280025

Hello Champs,

How to configure SPI CS pin manually in Syscfg? What is the instruction to output high/low level on CS pin?

Thanks
Regards
Shine

  • Hi Shine,

    typically, you should use the 3-pin mode for SPI, then use a GPIO pin to act as CS pin. This way, you can manually pull up or pull down the CS according to your needs.

    Best regards,

    Ming.

  • Hi Ming,

    I have configured SPI as you suggested using sysconfig. I selected the use case as custom and used only POCI, PICO and CLK pins. However, when I manually make the CS pin low, there's an initial clock pulse that makes the data read erroneous. This pulse is also present in 4 pin mode, but in that mode the CS pin is pulled low only after that initial pulse is over. How can I stop this from happening?

    4 pin mode

    3 pin mode

  • Hi Asith,

    Can you explain your system setup a little bit more? You are use the AM243x SPI as the master or slave? 

    What do you mean by "I selected the use case as custom and used only POCI, PICO and CLK pins"? Can you send your sysconfig for SPI?

    Which MCU+ SDK for AM243x are you using?

    Best regards,

    Ming

  • Dear Ming,
    Sorry, I just realized this forum is for ARM based microcontrollers. I'm using a TMS320F280025. I'll take the question to a C2000 forum.

    Thanks and regards,

    Asith.