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.

TMS570LS1227: MibSPI1 understanding with 6 nSPICS

Part Number: TMS570LS1227

Hi All,

I am trying to understand mibSPI1 module which has 6 chip select and two SIMO[0],SIMO[1],SOMI[0],SOMI[1] pins.

I want to use SIMO[0] and SOMI[0] and all 6 chip select to send out data to 6 slave devices.

i want to send out data to slave that connected to nSPICS[0], than different data to slave at nSPICS[1] ans so on.

is it possible to send out 6 different data to 6 slave at different time on same SIMO[0], SOMI[0] ? how is 6 chip select going to handle means all 6 goes high or low at same time or differently.

any application note that i can refer for this.

Thanks a lot.

Atul

 

  • Hello Atul,

    Yes, you can use 6 nSPICS to select 6 SPI slaves.

    1. The nSPICS pins must be configured as functional pins in the SPIPC0 register.

    2. The default value of each chip select (not active) can be configured via the register CSDEF. During a transmission, the value of the chip select control field (CSNR) of the SPIDAT1 register is driven on the SPICS pins.

    3. Only one SPICS is active at a time.

    MibSPI supports 4 different data formats. Data word length must be programmed to the same length for both the master and the slave.
  • Thanks Wang,

    That's what i was looking for.