Introduction
The PCIe MSI IRQ (EP) example demonstrates MSI (Message Signalled Interrupt) from EP to RC.
The EP device sends back the buffer received from the RC device and sends MSI to the RC device.
Supported Combinations
Parameter | Value |
CPU + OS | r5fss0-0_freertos |
Toolchain | ti-arm-clang |
Board | am243x-evm |
Example folder | examples/drivers/pcie/pcie_msi_irq/pcie_msi_irq_ep |
Steps to Run the Example
Build the example
- When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu (see Using SDK with CCS Projects).
- When using makefiles to build, note the required combination and build using make command (see Using SDK with Makefiles)
HW Setup
- Note
- Make sure you have setup the EVM with cable connections as shown here, EVM Setup. In addition do below steps.
AM243-EVM
- For connecting two board in RC and EP mode a specialized cable as below is required
- This cable can be obtained from Adex Electronics (https://www.adexelec.com).
- Modify the cable to remove resistors in CK+ and CK- in order to avoid ground loops (power) and smoking clock drivers (clk+/-).
- The ends of the modified cable should look like below:
A side
PCIe cable A side end 1
|
PCIe cable A side end 2
|
B side
PCIe cable B side end 1
|
PCIe cable B side end 2
|
Run the example
- Launch a CCS debug session and run the example executable, see CCS Launch, Load and Run
- Run the PCIE MSI IRQ RC example on the other connected board
- You will see logs in the UART terminal as shown in the next section.
See Also
PCIE
Sample output