MCUSW
IPC SPI Master Slave Application

Introduction


This application demonstrates the IPC communication between Main Domain and MCU Domain cores(mcu1_0 and mpu1_0) using two SPI instances which are connected internally. Simulates transmission and reception of messages of data size 4 bytes.


Dependencies

Master Application

This application depends on multiple components and are detailed in sections below

  1. TI RTOS : Uses Task, semaphore, Interrupt Handling HWI and Profiling Utility.
  2. MCAL
    • Spi Driver
  3. MCAL BSW Stubs Stubs at (SDK Install Directory)/mcusw/mcuss_demos/Bsw_Stubs are used.
  4. MCAL Configurations Spi Configurations at (SDK Install Directory)/mcusw/mcuss_demos/mcal_config are used.
  5. The MCAL Spi driver based Master application used for profiling is hosted on mcu1_0.

Slave Application

This application depends on multiple components and are detailed in sections below

  1. TI RTOS : Uses Task, Semaphore, Interrupt Handling HWI and Swi.
  2. PDK
    • Spi Driver
  3. Slave application is hosted on mpu1_0.

Requirement Id: MCAL-1020

Back To Top


Flow Chart

  • ipc_spi_slave_demo_app_mpu1_0_release.xa53fg would be hosted on Remote Core (MPU 1 0).
  • ipc_spi_master_demo_app_mcu1_0_release.xer5f would be hosted on Local Core (MCU 1 0)
demo_ipc_spi_master_slave_profile_flowchart.png
Ipc Spi Master Slave Application

Back To Top


Compile Time Configurations

  1. SPI_DEV_ERROR_DETECT Control checks of configurations and parameters. Turned OFF for profiling test
  2. SPI_JOB_LOG Enables SPI job logging. Turned OFF for profiling test

Back To Top


Test Setup / Configurations used

EVM

  1. Requires EVM only, as the SPI instances are connected internally.

Back To Top


Steps to run

  1. Build the demo application as detailed in User Guide
  2. Steps to run is detailed in User Guide
  3. Slave binary should be executed first before executing master.

Back To Top


Document Revision History

Revision Date Author Description Status
0.1 17 Apr 2019 Sunil M S Initial Version Under Review
0.2 16 Jul 2019 Sujith S Added J721E numbers Approved
0.3 16 Oct 2019 Sunil M S Updated J721E numbers Approved
0.4 6 Feb 2020 Sunil M S Updated Sample op log Approved