fpga 通过srio发送数据到dsp ,dsp从哪个寄存器读取收到的数呢?判断哪个寄存器是否收到数了?谢谢
初始化 srio_init();
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
配置好,SRIO会把数据直接发到DDR上面。
数据发送完会触发DSP中断
一、那我通过判断哪个寄存器来判断我收到了数了呢?
二、我通过外部SWITCH回环, dsp通过srio_write函数发送数据到0x900200 ,我时候能直接在L2缓存中看到数据呢?
pdata = (Uint32 *)0x900000;
for (i = 1; i < 64; i++)
*pdata++ = i + (i << 8) + (i << 16);
paddr = 0x900200;
srio_write(0x900000, paddr, 16);