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.

Using one SPI CS for two peripherals

Other Parts Discussed in Thread: TMS320C5515

Hi all,

For my application with TMS320C5515 I need to use 2 SPI periherals but I also need to use UART, LCD, and GPIO. Therefore I selected PPMODE = 5, SP0 mode = 2 and SP1 mode = 2. However with this configuration I end up with only one SPI_CS, but I need two. Any idea about this problem?

Regards.

  • Your setting will only gives you SPI on the parallel port. This is the result from your setting:

    PPMODE = 5 gives you

    101 = Mode 5 (8-bit LCD Controller,SPI, and UART). 8-bits of pixel data of the LCD Controller
    module, 4 signals of the SPI module, and 4 signals of the UART module are routed to the 21
    external signals of the parallel port

    SP0 = 2 gives you

    10 = Mode 2 (GP[5:0]). 6 GPIO signals (GP[5:0]) are routed to the 6 external signals of the serial port 0.

    SP1 = 2 gives you

    10 = Mode 2 (GP[11:6]). 6 GPIO signals (GP[11:6]) are routed to the 6 external signals of the serial port 1.

  • Hello Steve,

    Therefore I cannot use multiple SPI peripherals with the communication protocols the I mentioned above, correct? Any other configuration to use all of them.

    Regards.