Problem accessing the Port Logic Registers of PCIe Core when configured as RC.

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

Problem accessing the Port Logic Registers of PCIe Core when configured as RC.

Jump to solution
717 Views
andresgonzalez
Contributor II

Hi iMX communitiy.

We are creating a PCIe driver from scratch for the i.MX 6Solo (this because we need to give PCIe support to a proprietary RTOS). So we are just starting to experiment with the PCIe Core. We were trying to initialize the PCIe core (setting the clocks and setting the core as RC Mode, however we don't have any PCIe endpoint connected yet, we are just trying to setup the core).

The problem is that we are not able to access the Port Logic Registers. When trying to access them the system crashed.

What needs to be done in order to access the Port Logic Registers?. Are these registers accesible as normal memory registers?.

Thanks for your support.

Labels (1)
Tags (1)
1 Solution
579 Views
igorpadykov
NXP Employee
NXP Employee

Hi Andres

please look at bare-metal SDK, it has PCIe example

(one needs to have external PCIe device connected to Sabre board)

i.MX 6Series Platform SDK : Bare-metal SDK

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

2 Replies
580 Views
igorpadykov
NXP Employee
NXP Employee

Hi Andres

please look at bare-metal SDK, it has PCIe example

(one needs to have external PCIe device connected to Sabre board)

i.MX 6Series Platform SDK : Bare-metal SDK

Best regards

chip

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

579 Views
andresgonzalez
Contributor II

Thanks now we are able to access the Port Logic registers. We are using the Nitrogen6 Lite board. I am going to check that example. Thanks.

0 Kudos