做核间通信如果是中断方式的话,是不是就只有使用如下描述中提到的寄存器:
11.4.3 ARM-DSP Communication Interrupts
The SYSCFG module also has a set of registers, the chip signal register (CHIPSIG) and the chip signal
clear register (CHIPSIG_CLR), to facilitate interprocessor communication. This is generally used to allow
the ARM and the DSP to coordinate. For example, the ARM may interrupt the DSP when it is ready to
have the DSP process some data buffer in shared memory. A typical sequence, often referred to as ARMDSP
communication, is as follows:
1. ARM writes command in shared memory.
2. ARM interrupts DSP.
3. DSP responds to interrupt and reads command in shared memory.
4. DSP executes a task based on the command.
5. DSP interrupts ARM upon completion of the task.
Either of the processors can set specific bits in this SYSCFG register, which in turn can interrupt the other
processor, if the interrupts have been appropriately enabled in the processor’s interrupt controller.
把要交换的数据写入共享内存,然后在寄存器CHIPSIG中设置相应的位,就可以对另外一个核(ARM或者是DSP)产生一个中断信号了?
OMAPL138的技术参考手册里面对核间通信的描述,似乎就只有第11章节system configuration (SYSCFG) module中如上截取的段落里提到了,如果是查询方式那该如何做呢,我是打算跑裸机,ARM侧和DSP侧都是裸机