Enable Loopback SerDes Configuration Tool

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

Enable Loopback SerDes Configuration Tool

3,041 Views
markus_rosander
Contributor I

Hi!

I am trying to do an external loopback BIST-test in QCVS SerDes Configuration Tool for Lane 0 SerDes3 on a T4240 and get the following error:

BIST-error

TCSR3: 0x a1fff04

When I read the register for loopback mode in register SerDes3_LN0TCSR3 I see that the register is set to 00000000h which wode imply that the lane is set in Application Mode, which I guess is the reason to my error. Can I change this setting using the QCVS SerDes Configuration Tool or is the register updated automatically when running the BIST-test in External Loopback mode?

When I change the register and activate Loopback mode, using the operational system on the T4240 instead of CodeWarrior, and retry the BIST Test in CodeWarrior I get the same error.

Could it be some other explanation behind the error?

Best Regards

Markus

0 Kudos
Reply
6 Replies

2,883 Views
rainbowansalt
Contributor I

Thanks very much. It was very helpful.

happy wheels

0 Kudos
Reply

2,885 Views
ufedor
NXP Employee
NXP Employee

You wrote:

> in register SerDes3_LN0TCSR3 I see that the register is set to 00000000h

> which wode imply that the lane is set in Application Mode

This setting is correct.

Please refer to the QCVS SerDes Tool User Guide, 1.3.2 Data generation modes, External Loopback mode:

https://www.nxp.com/docs/en/user-guide/QCVS_SerDes_User_Guide.pdf 

After reading the document please answer:

How exactly external loopback is implemented in your case?

0 Kudos
Reply

2,885 Views
markus_rosander
Contributor I

I have a PEX 8624 PCIe switch connected to SerDes3 that I put in Loopback Slave Mode according to below

I have tried both Digital Loopback Slave mode and Analog Loopback Slave mode with same result.

//Markus

0 Kudos
Reply

2,885 Views
ufedor
NXP Employee
NXP Employee

To establish external loopback for the T4240 PEX4 controller add these into PBI section of RCW:

0x270000 0x880000bc

0x270004 0x00000001

 

0x270000 0x88000090

0x270004 0x00010000

 

0x270000 0x87000010

0x270004 0x00030124

 

0x270000 0x880000B8

0x270004 0x80000000

Change PCI controller address referring table 19-1 in T4240 RM rev4 if another PCIe controller is used.

0 Kudos
Reply

2,885 Views
markus_rosander
Contributor I

Thank you!

When I try to implement this for the PEX1 controller I don’t manage to boot the system but when I try to create a RCW without the PBI section it works fine. I attached the RCW-setup as well as my PBI-input. Do you see any obvious errors?

Best Regards

Markus

0 Kudos
Reply

2,885 Views
ufedor
NXP Employee
NXP Employee

Please provide the RCWs binary files.

0 Kudos
Reply