Hi,
I have question about KeyStone PCIe Interrupt.
In our system C6670 is Endpoint and other CPU device is Root Complex.
I'm using PCIe Legacy Interrupt A and
expecting one interrupt will be generated from Endpoint to Root Complex
at the timing which I expected.
But after one INTA has been generated to RC, another INTA have been generated to RC
after 1 byte access to PCI data space from EP which I didn't expected.
INTA is generated as follow:
(refer to PCIe TRM page.62 "2.14.2.1 Legacy Interrupt Generation in EP Mode")
////////////////////////////////////////////////////////////////////////////
#define LEGACY_A_IRQ_ENABLE_SET *(volatile unsigned int*)0x21800188
#define EP_IRQ_SET *(volatile unsigned int*)0x21800064
#define EP_IRQ_CLR *(volatile unsigned int*)0x21800068
1. LEGACY_A_IRQ_ENABLE_SET = 0x1;
2. EP_IRQ_SET = 0x1;
3. EP_IRQ_CLR = 0x1;
////////////////////////////////////////////////////////////////////////////
I didn't configure the above setting to the register when INTA have been
generated to RC after 1 byte access to PCI data space from EP.
What cause the INTA generation to the RC in this case?
By my recognition, INTA will be only generated if I cofigure the above
setting to the register. Is it wrong?
If anyone have an information, please give me an advise.
best regards,
g.f.