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
Solved! Go to Solution.
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
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
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...
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.
Schematic:
Please let us know the what need to be configured..
Thanks and Regards,
Bharath R
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
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.
Regards,
Bharath R
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