1 / 8

Communication Between ARM and DSP

Communication Between ARM and DSP. Vincent Han Mar, 2014. Agenda. ARM and DSP Communication Basics Run ARM & DSP Communication Example. Ways for ARM and DSP Communication. Use common flags for communication Set some flags or signs as the public interface

Download Presentation

Communication Between ARM and DSP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Communication Between ARM and DSP Vincent Han Mar, 2014

  2. Agenda • ARM and DSP Communication Basics • Run ARM & DSP Communication Example

  3. Ways for ARM and DSP Communication • Use common flags for communication • Set some flags or signs as the public interface • Communicates depends on flags/signs’ value change • Use Navigator for communication • Descriptors carry messages/values to be passed • Use QMSS to pass descriptors between different queues • Cores push/pop related queues to send/receive message descriptors • Use IPC for communication • Initialize the interrupt sub-system • Set source and trigger the dedicated IPCGR register • Related core received interrupt and react

  4. Advantage and Disadvantage Analysis • Use common flags for communication • A: Easiest way to implement communication, no extra IP usage • D: Spin lock implement by SW, need maintain Cache if used • D: Core will be occupied when posting/pending flags • Use Navigator for communication • A: Message sending/receiving by HW • D: Need to initialize Navigator HW, need maintain Cache if used • D: Core will be occupied when posting/pending descriptors if no interrupt used • Use IPC for communication • A: Latency is short due to use interrupt directly • A: No Core occupation before trigger/response IPC • D: Need to initialize interrupt controller HW, need maintain Cache if used

  5. Agenda • ARM and DSP Communication Basics • Run ARM & DSP Communication Example

  6. ARM & DSP Communication Example Procedure

  7. Run ARM & DSP Communication Example • Create TCI6638 EVM CCXML file with loading attached GEL file on DSP Core0 • Launch the debug session with this CCXML configuration file • Connect and load the DSP executable on DSP Core0 • Connect and Load the ARM executable on ARM Core0 • Run the DSP executable first then run the ARM executable For more information, please refer operation guide on deyisupport: http://www.deyisupport.com/

  8. Thank You!

More Related