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.

TM4C123GH6PMI SPI transmission

Other Parts Discussed in Thread: EK-TM4C123GXL

I need to transmit 40 bits width maintaining Fss and Clock active during the transmission of 40 bits of data in mode 0

  • Hi, We cannot guess what are your problems with the posted assertion. You should be more explicit - what you tried and what were the results. Hint: read the user manual, mode 0 is special one, Fss rises for every word transmitted. Petrei
  • Thanks. Working on Evaluation Board EK-TM4C123GXL. TM4C123GH6PMI SSI works with programmable data frame size from 4 to 16 bits (from the manual); I am required to work with 40 bits frames. 

  • Hi,

    Should I understand you don' t know where/how to start up with this problem of 40 bits?  If yes, then maybe you provide more info - what is the device to drive - usually in cases like this a configuration of five words of 8 bits each would be a good solution. Place them one after another into FIFO and then wait until FIFO is empty. Take into account the mode 0 requested by you in the first post would not give you Fss low for the duration of all these 40 bits. Mode 0 works only with Fss rising up after each word, so you must choose another mode ( that's why I asked you what is the device) .

    Petrei

  • Hi,

    You can use SPO=0 and SPH=1 with DSS=8. But you have to make sure that the FIFO is written with the 5 bytes so that they can transmitted in continous mode and the CS remain low for the 40 bits.

    Regards

    Amit