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.

Compiler/TMS570LS0232: Question about MibSPI and Standard SPI

Part Number: TMS570LS0232
Other Parts Discussed in Thread: HALCOGEN

Tool/software: TI C/C++ Compiler

Hello, TI Engineers

In my project, we need to use SPI communication. I want to know the advantage and disadvantage of MibSPI. And If I set MibSPI on TMS570LS0232 and another chip is set for standard SPI, the SPI communication still can be used or not?

if it can be used, what else jobs should be done?

Thanks!

Regards!

Xinyu 

  • Hello Xinyu,

    The MibSPI is an extension of SPI. MibSPI works in 2 modes: compatibility mode (standard SPI in your message), and Multi-buffer mode.

    You can use multi-buffer mode on LS0232 device to communicate with standard SPI on another device.

    The MibSPI supports memory fault detection/correction via internal parity/ecc circuit. The MibSPI has a programmable multi-buffer array which can be combined in different transfer groups (up to 8 groups). The transfer groups can be triggered by external events (GIO, NHET, timers) or internal tick counter. Each buffer of the MibSPI can be associated with different DMA channels in different transfer group, allowing the user to move data from/to internal memory to/from external slave with a minimal CPU interaction.

    Please refer to the example code generated by HALCoGen.

     

  • Hello, Wang

    Is there any limitation in a transfer group? For example, how many bits are in a group?

    Thanks and regards!

    Xinyu