Forum Discussion
Altera_Forum
Honored Contributor
11 years agoMSI Interrupt not working
Hi, I wrote a PCIe device driver. The driver is installed successfully. Interrupt is set to MSI. After installation, Power Enters D0 state. Interrupt enabled (MSI, MSEnable bit =1). Legacy Interru...
Altera_Forum
Honored Contributor
11 years agoTo enable MSI interrupts, ensure to enable the CRA port.
Software driver at host PC also needs to set the MSI enable bit and Interrupt Disable bit. 1. Set MSI Enable of MSI Control register, this bit is mapped to bit[16] of offset 0x50 in configuration space register. 2. Set Interrupt Disable bit[10] of Command register at configuration space offset register 0x4 to disable legacy interrupt. 3. Set bit[1] (Memory space) and bit[2] (Bus Master) of Command Register at configuration space offset register 0x4 to enable the ability to generate MSI message.