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.

CCS/HERCULES_SAFETY_MCU_DEMOS: Need help setting up the SPI interface on the Xl2-570LC43(B) launchpad

Part Number: HERCULES_SAFETY_MCU_DEMOS

Tool/software: Code Composer Studio

Can anybody provide an example of how to configure the SPI interface on the Hercules development board?

Markings on the eval board:

TMS570LC43x / RM57Lx

337 ZWT / Launchpad XL2

XL2-570LC43(B)

If you could point me to a Code Composer Studio/Halcogen example specific to this board, I would also appreciate it.

  • Hello Will,

    Halcogen includes several different SPI example codes using MibSPI use cases. There are also SPI configuration examples for other devices in the example directory which should provide guidance on how to setup the SPI (similar modules are used with only difference being ECC on MibSPI RAM).There is nothing specific about the Launchpad that would need to be considered except for selection of the appropriate pins to use. The Halcogen examples can be found at this path provided you installed to the default directory: C:\ti\Hercules\HALCoGen\v04.06.01\examples\TMS570LC43x . It is also worth noting that the device on the board you have is the TMS570LC4357ZWT device. This is important to know when using the Halcogen tool to generate driver code.

    You may also find additional beginning related projects and instruction at the boards wiki page located here: processors.wiki.ti.com/.../LAUNCHXL2-570LC43