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.

TMS570LC4357: Seeking Guidance for MibSPI Setup with TMS570LC4357 and Arduino as Slave

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

Tool/software:

Subject: Seeking Guidance for MibSPI Setup with TMS570LC4357 and Arduino as Slave

Hello TI Community,

I am currently in the early stages of planning a project where I intend to use the TMS570LC4357 microcontroller to communicate with an Arduino via MibSPI. However, I haven't set up the hardware yet and would appreciate any guidance or resources to help me get started.

Specifically, I am looking for:

  1. Setup Information: Recommendations on the physical connections needed between the TMS570LC4357 and the Arduino. Which pins should I connect for MibSPI communication?

  2. Configuration Guidance: A step-by-step tutorial or example code showing how to configure MibSPI on the TMS570LC4357. I would like to understand the initial settings for parameters such as clock polarity, clock phase, and data transfer mode in halcogen setup.

  3. Sample Code: If available, examples of both master (TMS570LC4357) and slave (Arduino) code that demonstrate how to send and receive data. Information on how to implement a simple protocol for data exchange would also be beneficial.

I really appreciate any help or resources you can provide as I work towards setting this up.

Thank you in advance for your assistance!

Best regards,
Anshul Sahu(AMS)

  • Hi Anshul Sahu,

    Setup Information: Recommendations on the physical connections needed between the TMS570LC4357 and the Arduino. Which pins should I connect for MibSPI communication?

    MibSPI is not different than SPI in terms of physical connections, you can use same lines as SPI.

    The usually used lines are MOSI, MISO, CLK and CS.

    Configuration Guidance: A step-by-step tutorial or example code showing how to configure MibSPI on the TMS570LC4357. I would like to understand the initial settings for parameters such as clock polarity, clock phase, and data transfer mode in halcogen setup.

    Please go through the below thread:

    (+) [FAQ] TMS570LC4357: Examples and Demos available for Hercules Controllers (E.g. TMS570x, RM57x and RM46x etc) - Arm-based microcontrollers forum - Arm-based microcontrollers - TI E2E support forums

    Here you can find video tutorial along with several other examples that i created.

    Sample Code: If available, examples of both master (TMS570LC4357) and slave (Arduino) code that demonstrate how to send and receive data. Information on how to implement a simple protocol for data exchange would also be beneficial.

    We didn't have any sample code specifically related to the Arduino board; we only have generic examples on our TMS570LC4357 related to MibSPI. This is customer responsibility to make the code specific to the corresponding slave, and if you get any difficult in implementation side on our TMS570, then we will help you with it.

    --
    Thanks & Regards,
    Jagadish.