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.

TDA4VM: TDA4VM: SPI communication question

Part Number: TDA4VM

Dear Experts,

I'm new to TDA4. I have several questions about TDA4.

1. Now I want to use SPI in main domain, while the image is running in the MCU core in MCU domain. What is the difference between SPI in main domain and SPI in MCU domain? Where can I get the relative guide?

2.How can I run the example(mcspi_slavemode) in my TDA4 board?Now I use the make command to build image in Linux system,and download the image to the OSPI flash with dfu. 

3.What is the between Single-channel and Multi-channel in the example (mcspi_slavemode)? And what is the meaning of polling mode and callback mode?

  • Hi,

    Now I want to use SPI in main domain, while the image is running in the MCU core in MCU domain. What is the difference between SPI in main domain and SPI in MCU domain? Where can I get the relative guide?

    Referring to the TRM:

    The device is partitioned into three functional domains, each containing specific processing cores and
    peripherals:
    • Wake-up (WKUP) domain
    • Microcontroller (MCU) domain
    • MAIN domain


    This domain fragmentation enables the device to achieve lower power dissipation profiles by allowing the power supplies to unused domains to be completely turned off and allows efficient addressing of safety requirements.

    You should be able to use SPI in main domain with the application running in MCU domain, just make sure that the module is powered up.

    How can I run the example(mcspi_slavemode) in my TDA4 board?Now I use the make command to build image in Linux system,and download the image to the OSPI flash with dfu. 

    You can either boot via SBL, see the documentation:

    software-dl.ti.com/.../boot_k3.html


    or you can boot using CCS in no-boot mode, please see the documentation:

    software-dl.ti.com/.../ccs_setup_j721e.html

    What is the between Single-channel and Multi-channel in the example (mcspi_slavemode)? And what is the meaning of polling mode and callback mode?


    Please refer to the section 12.1.5 Multichannel Serial Peripheral Interface (MCSPI) of TRM, let me know if you have further question.

    Regards,
    Parth