i.MX6 Dual lite SDK support for PCIe driver

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

i.MX6 Dual lite SDK support for PCIe driver

Jump to solution
961 Views
Bharath_R
Contributor I

Hello,

We are using i.MX6 dual lite processor and interfacing with cellular module using PCIe.

Can we use SDK to test cellular module using PCIe driver.

if yes, can we get the procedure or can we use pcie_test_rc.c file for testing...

 

Thanks and Regards,

Bharath R

0 Kudos
Reply
1 Solution
881 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @Bharath_R 

To set the clock source to 0x01, kindly modify that particular bit only.
Rest of the bits like ENABLE bit should not be zero otherwise the clock will be gated.

Thanks & Regards

Sanket Parekh

View solution in original post

0 Kudos
Reply
5 Replies
925 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @Bharath_R ,

I hope you are doing well,

Yes, You can take the reference of 'pcie_test_rc.c' file.

Thanks & Regards

Sanket Parekh

0 Kudos
Reply
915 Views
Bharath_R
Contributor I

Thanks for your response,

As per our requirement, we need to interface 5G cellular module (RM500Q) via PCIe.

here, we are using two channel external clock generator one is given to iMX6 and other is given to cellular module and using SDK clock source is set as  0x01 in pcie_clk_setup function...

Bharath_R_0-1665642423727.png

but after set clk source to 0x01 then execution become idle in HW_PCIE_PL_DEBUG1_RD() line of wait_link_up function..

and for the default value of the clk source execution goes to Link timeout.

Bharath_R_1-1665643176357.png

Schematic:

Bharath_R_2-1665643307673.png

Bharath_R_3-1665643363257.png

Please let us know the what need to be configured..

Thanks and Regards,

Bharath R

 

0 Kudos
Reply
882 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @Bharath_R 

To set the clock source to 0x01, kindly modify that particular bit only.
Rest of the bits like ENABLE bit should not be zero otherwise the clock will be gated.

Thanks & Regards

Sanket Parekh

0 Kudos
Reply
874 Views
Bharath_R
Contributor I

Hello,

Thanks for response.

We are able to establish PCIe link setup and get Device and vendor ID.

As per RC test file, after mapping memory, while reading memory, we are getting data abort mode.

Attached snapshot below fyr. Can you please let us know the reason and how to proceed further.

Bharath_R_0-1666161462858.png

 

Bharath_R_1-1666161491786.png

Regards,

Bharath R

0 Kudos
Reply
869 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @Bharath_R 

Please raise new ticket for the errors were faced after driver integration.

Please close this case as this case(Related to SDK support) is already solved with the help of given comments.

Thanks & Regards

Sanket Parekh

0 Kudos
Reply