LS1026A - PCI Express RC inbound issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1026A - PCI Express RC inbound issue

790 Views
PL_Haim
Contributor I

Hi

In our system we are using an LS1026A connected to a device by PCIe. The LS1026A is acting as RC, and the device as EP. We are running vxWorks RTOS.

Accesses from CPU to the device is working correctly. But when the device is trying to access the CPU RAM it looks like it doesn't work properly.

We configured an Inbound memory window at 0x88000000-0x8803FFFFF (4MB space) -  the physical address space of the shared memory. We also configured the EP to this address space.

0x900 = 0x80000004 = INBOUND | REGION #4

0x904 = 0x00000000  =MEM

0x908 = 0x80000000 = ENABLED ADDRESS MATCH MODE

0x910-0x90C = 0x00000000_88000000 = REGION BASE ADDRESS

0x914 = 0x883FFFFF = LIMIT

0x91C-0x918 = 0x00000000_88000000 = TARGET BASE ADDRESS

Is there any other configuration we need to do to get it to work?
Is there any way to monitor the read attempts from the EP? to validate there are such an attempts

Do you have any suggestions?

Thanks!

Tags (3)
0 Kudos
Reply
1 Reply

778 Views
ufedor
NXP Employee
NXP Employee

Please check with the OS vendor whether SMMU is properly configured for the defined inbound region.

Also ensure that the region is outside of the base and limit ranges defined for the port in the Type 1 configuration header.

0 Kudos
Reply