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
- TI RTOS : Uses Task, semaphore, Interrupt Handling HWI and Profiling Utility.
- MCAL
- MCAL BSW Stubs Stubs at (SDK Install Directory)/mcusw/mcuss_demos/Bsw_Stubs are used.
- MCAL Configurations Spi Configurations at (SDK Install Directory)/mcusw/mcuss_demos/mcal_config are used.
- 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
- TI RTOS : Uses Task, Semaphore, Interrupt Handling HWI and Swi.
- PDK
- 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)
Ipc Spi Master Slave Application
Back To Top
Compile Time Configurations
- SPI_DEV_ERROR_DETECT Control checks of configurations and parameters. Turned OFF for profiling test
- SPI_JOB_LOG Enables SPI job logging. Turned OFF for profiling test
Back To Top
Test Setup / Configurations used
EVM
- Requires EVM only, as the SPI instances are connected internally.
Back To Top
Steps to run
- Build the demo application as detailed in User Guide
- Steps to run is detailed in User Guide
- 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 |