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.

Data rate control on TM4C12X SPI with multiple slaves

Hi,

 

Thanks in advance & need guidance.

I am working on TM4C1233 with multiple slave devices integrated.

How do we  control the data transfer to individual SPI modules in the above Slave configiuartion and what are the registers to be used in selecting the individual SPI peripherals to do the data transfer?

 

Is there a possibility of changing the clock on the go to individual peripherals in changing the data transfer rate ?

  • Hello Mahesh,

    Slave on the SPI bus can be communicated in two main methods

    1. The first is to have individual Chip Select to each of the slave which can be emulated using GPIOs. In this method the GPIO shall be driver low by the CPU before starting a transfer

    2. If the slave allow for addressing mode to be sent before they send data then you can use in-band addressing. I haven't seen this method for a long time and off late daisy chain of related devices is catching up. But in most likelihood I would defer to method #1

    Regards
    Amit