DSP

TI_DSP_SRIO - Doorbell原理(中断路由到core-1)

2019-07-13 10:48发布

Doorbell的中断到core的机制是由DOORBELLx_ICRRx寄存器实现的,共有八个ICRR寄存器。 When doorbell packets are received by the SRIO peripheral, theseICRRs routedoorbell interrupt requests(在ISCR寄存器中指示) from the associated doorbell ICSRto user-selected interruptdestinations. Each of the four doorbells can be mapped to these registers. 每对Doorbellx_ICRR,ICRR2(x=0~3)寄存器与DOORBELLx_ISCR对应(x=0~3)。 因为每个DOORBELLx_ISCR寄存器对应16个中断源,而Doorbellx_ICRR,ICRR2就与该16个中断源一一对应,起到路由ISCR中每个对应的中断源的作用。如若Doorbell2_ICSR寄存器中的ICS6=1,Doorbell2_ICRR寄存器中的ICR6=0010b,这样来自Doorbell2_ICSR中的bit 6的中断将会路由到INTDST2。由下图可知,ICRR寄存器只能把ISCR表示的64个中断源路由到八个INTDST0~7。