80 likes | 240 Views
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
E N D
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 • 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
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
Agenda • ARM and DSP Communication Basics • Run ARM & DSP Communication Example
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/