hi,all:
We are using PCIe interface of our 6678 DSP. We have configured one C6678 as Root Complex and another C6678 as End Point.
Now, we need to enable MSI functionality(EP will send interrupt to the RC) , with the SECTION 2.13.2 of the document SPRUGS6A, I have some questions :
1、what are "pre-determined address "and "pre-determined data"? In my view,"pre-determined address" is the address of MSI_IRQ register(0x21800054), "pre-determined data" is for the MSI vector number, for example: 0 refers to MSI 0 interrupt, Right?
2、How can i generate a msi interrupt? Follow the sentence "issue a memory write transaction with the address the same as MSI Address Register and the data the same as the MSI Data Register", it means: *(uint32_t *)0x21800054 = 0?but i think it only writes to the local MSI_IRQ register! Do i need to config the outbound registers in EP and inbound registers in RC?
3、Is there a example about generating a msi interrupt?
Thanks , qbliu.