PTN3460 AUX Communicaiton

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

PTN3460 AUX Communicaiton

2,863 Views
asgardian_consulting
Contributor I

I have a design that uses the PTN3460 and I'm having a weird issue with AUX communication. I can only get it work by swapping the P and N lines on AUX. This design uses a type-c connector and the TUSB1064 as the cross point switch. It only works in one type-c cable orientation and only with P and N lines on AUX swapped. This causes the common mode voltage on the AUX to technically be incorrect so I'm not even sure how its working in this configuration. I have checked the registers and the swap function for the AUX line is not enabled. Find relevant schematics attached.

And when I say work I mean my host computer can "see" the PTN and it's displays on the attached LCD screen. I can see AUX communication happening via my o-scope. When I don't swap the P and N lines the common mode voltage looks correct and I can see AUX communication on the o-scope but my host does not "see" the PTN and the LCD remains blank.

Tags (2)
0 Kudos
Reply
11 Replies

2,143 Views
ShermanHuo
Contributor II

Dear Team,

I also had the same problem when using PTN3460 demo board, although I haven't tried to invert AUX P/N wire.

Have you fixed it?  By firstly setting 0x80 bit 1 to 1 before using DPCD M TOOL?

Thank you.

0 Kudos
Reply

2,138 Views
djander
Contributor II

Hi Sherman,

Would you mind sharing which exact part is on your demo board? Is it the PTN3460I with F2 firmware?

Please keep us updated on the results if you try to set bit 1 of register 0x80.

Thanks.

0 Kudos
Reply

2,135 Views
ShermanHuo
Contributor II

Hi djander,

It is the PTN3460 NXP demo board and i have no idea about the firmware version.(cause i cannot connect with I2C-over-AUX.)

I plan to try I2C communication next step and will share if have any progress.

BTW, the problem is fixed after you swap AUX p/n in your case?

Best regards,

Huo

0 Kudos
Reply

2,130 Views
djander
Contributor II

Hi Huo,

I have not tried physically swapping the AUX P/N lines, but setting bit 1 of register 0x80 solves the problem in our case. If this is some obscure firmware bug, then physically swapping the signals might not have the same effect as setting bit 1 of register 0x80.

0 Kudos
Reply

2,107 Views
ShermanHuo
Contributor II

Dear djander,

I tried to set 0x80 bit 1  from 0 to 1, then the board cannot be detected by GPU.

It seems that we have different problem.

BTW, slave address should be 0x20 but not 0x40 in my case when communicating via I2C bus.

Best regards,

Sherman

 

0 Kudos
Reply

2,104 Views
djander
Contributor II

Dear Sherman,

Ok, thanks for reporting back.

The 7-bit slave address 0x20 is correct. If you connect DEV_CFG to GND, it is 0x20. The datasheet says it is 0x40, but that is the whole 8-bit field including the R/W bit. Manufacturers seem to be inconsistent about I2C address notation unfortunately.

Best regards.

0 Kudos
Reply

2,102 Views
ShermanHuo
Contributor II

Dear djander,

Yes,  you are right. I really confused for a while about the slave address. (external flash 0xC0 may have the same situation )

As to the problem in my case, I think OS win 11 is the reason for "no NXP device found". Although i have no win 10 PC with DP port at hand now for testing.

Sorry for no more information to help, maybe you can establish a support ticket to ask NXP employee directly to solve you problem.

Best regards,

Sheman Huo 

 

2,389 Views
djander
Contributor II

Hi,

Have you figured out what the problem is?

I have the same issue. We use the PTN3460IBS/F2 on a board with USB-C connector. Port management is done with a TPS65987 and a HD3SS460 mux. AUX channel only works when setting bit 1 in I2C register 0x80 (AUX P/N swapping enabled).

If USB connector is inserted straight, AUX_P is connected to SBU1 on pin A8 of the USB-C connector. This should be correct. Yet PTN3460 does not reply to AUX messages unless AUX P/N swapping is enabled in register 0x80.

I am starting to suspect this might be a bug in firmware F2 of the industrial version (PTN3460I). You appear to be using the same version of the chip, so I would like to know if you managed to solve this issue.

Regards,

0 Kudos
Reply

2,849 Views
reyes
NXP TechSupport
NXP TechSupport

Hi,

Can you use the DPCD M tool I sent yesterday to see whether it can detect PTN3460?

If DPCD M tool can detect PTN3460, then it means DP AUX channel (AUX+/AUX-) is connected correctly otherwise it’s not connected correctly.

Regards,
Jose

Tags (1)
0 Kudos
Reply

2,840 Views
asgardian_consulting
Contributor I

The board is working and running on the LCD but the program does not "see" the PTN3460 chip. See pictures and screenshot.

asgardian_consulting_0-1624738470690.png

 

0 Kudos
Reply

2,832 Views
reyes
NXP TechSupport
NXP TechSupport

Hi

Ok, then most likely, there is a DP AUX channel (AUX+/AUX-) connection issue in your system.

You mentioned that it works when swapping the P and N lines on AUX. Does this means that you use the bit 1 (AUX P/N swapping enabled bit) on DisplayPort Interface Control register (0x80)?

And, do the DPCD M tool detect the PTN3460 when P/N are swapped?

Regards,

Jose

0 Kudos
Reply