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: SPI on TMS570LS1227

Part Number: TMS570LS1227
Other Parts Discussed in Thread: HALCOGEN

I wish to transfer 2k bytes over SPI using DMA on a TMS5701227. The MibSPIs have just 128 word buffers so should I use the standard SPI?
HALCoGen doesn't seem to have a DMA option on standard SPI. Is a code example of SPI and DMA available?
Thanks you
Richard Stevens

  • Hello Richard,

    You cam use either SPI or MibSPI. Both support DMA. MibSPI RAM supports up to 128 buffers, and each DMA channel has the capability to transfer a block of up to 32 frames without interruption (ICOUNTx in DMAxCTRL register). This means you can transfer 1 block of data up to 4K bytes.

    If using DMAxCOUNT and DMACTNLEN, up to 65535 (64K) frames of data can be transferred without any interruption. If frame length is 128 buffers (256 bytes), you can transfer up to 256*65535 bytes as one block.

    Please find the SPI_DMA example here: