Hello Champs,
Can the TDA4VM EVM board m2 connector support pcie loopback mode? If yes, how to realize it?
Thanks
Regards
Shine
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Shine,
For PCIe loopback, do you mean loopback as described in this documentation: https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-jacinto7/09_01_00_06/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/PCIe/PCIe_End_Point.html?highlight=loopback
If yes, we have not tested PCIe EP/RC examples with the M.2 connector. However, if a cable can be found to connect the M.2 connector, then applying a dts change similar to the changes described in "DTS Modification" section except for the PCIE2 interface should theoretically get the same behavior as PCIE0 and 1 interfaces.
Regards,
Takuma
Hi Takuma,
Thank you very much.
Customer only has one EVM board, he wants to realize the loopback mode only on one EVM board with M.2 connector.
Thanks
Regards
Shine
Hi Shine,
From what I can find, it seems we do not support loopback mode in our PCIe driver. The driver assumes RC or EP configuration for each port: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/drivers/pci/controller/cadence/pcie-cadence-plat.c?h=ti-linux-6.1.y#n68
As an alternative, what can be possible would be:
In parallel, checking with the team to see if we have another alternative, but I would like to set expectations that we most likely do not have a loopback example from one connector.
Regards,
Takuma
Hello Takuma,
Thank you very much.
External loopback using a cable between the PCIe ports on the top side of the EVM (aka, connect the PCIe ports J8 and J11 with the cable in SDK
In the TDA4VM schematic, the J8 is ethernet port, J11 is M.2 port, so can customer use J8 as pcie port?
Regards
Shine
Hi Shine,
Apologies for the misunderstanding. I was referring to the J8 and J11 PCIe ports on the J721E EVM board and not the SK-TDA4VM board.
If the SK-TDA4VM board is being used there should be an E-key PCIe port and M.2 key PCIe port. If there is a reliable way to connect the two, then an external loopback can be achieved. However, we have not tried this out on our end, and there may be issues with signal integrity.
Best recommended method to test loopback would be to test with the J721E EVM board as they have the larger PCIe ports available and we have a recommended cable that can connect between these ports.
Regards,
Takuma