I2C (smbus) level transceiver problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

I2C (smbus) level transceiver problem

6,554 次查看
Gyosun
Contributor III

Hello,

 

I am using the AR8035 phy connected to the LS1046A custom board.

I am using PCA9517 for level conversion between cpu(1.8v) and phy(3.3v).

After applying the power and after a certain period of time, ifconfig fm1-mac3 down/up, there was a phenomenon that the up did not work, and when I checked it, I found that there is a problem with the level converter between the cpu and the phy.

There was no problem after testing after replacing PCA9617 as a pin compatible replacement.

When I take the waveform, there seems to be no difference as follows, but PCA9517 is fail and PCA9617 is pass, but I cannot find a clear cause, so I ask a question.

pca9517_vs_pca9617.png

Can I use PCA9517, which was reviewed as a replacement from a long-term perspective,
If so, I would like to know the answer for what reason was solved.

 

Please understand that the translation is not smooth.

Thank you,

Best Regards,

Gyosun.

0 项奖励
回复
21 回复数

6,488 次查看
ufedor
NXP Employee
NXP Employee

Provided traces are not clear enough.

Please provide them in full resolution.

0 项奖励
回复

6,485 次查看
Gyosun
Contributor III

pca9517_vs_pca9617.png

0 项奖励
回复

6,482 次查看
ufedor
NXP Employee
NXP Employee

PCA9617 has significantly higher operation frequency - refer to the presentation:

https://www.nxp.com/video/nxp-semiconductors-i2c-pca9517-to-pca9617:NXP-I2C-PCA9517-TO-PCA9617

It is required to lower MDC frequency to 400 kHz for PCA9517.

0 项奖励
回复

6,472 次查看
Gyosun
Contributor III

Hi ufedor,

Thank you for quick response.

When using 9517, I had symptoms even if I lowered the A/B side pull-up resistance to 1.5k and the MDC clock to 245khz.

Can't I use 9517 for smbus? Which part is the problem in terms of the waveform above?

The decision to replace is being delayed because the cause is unknown.

Any suggestion of a clear solution would be appreciated.

Thank you.

Best Regards,

Gyosun.

 

0 项奖励
回复

6,470 次查看
ufedor
NXP Employee
NXP Employee

Please point on provided traces which exactly problem happens with PCA9517.

0 项奖励
回复

6,460 次查看
Gyosun
Contributor III

Even if I lower the MDC to 245khz, problems arise.

AR8035 low input is 0.8v max and PCA9517 vol max is 0.6v.

It comes out up to 0.8v. Could the VOL level be an issue?

Pasted Image 2021-04-22 11-47-08.png

Pasted Image 2021-04-22 11-51-15.png

0 项奖励
回复

6,452 次查看
ufedor
NXP Employee
NXP Employee

Please provide the PCA9517 connection schematics.

0 项奖励
回复

6,447 次查看
Gyosun
Contributor III

I attach a schematic diagram.

Pasted Image 2021-04-22 16-59-03.pngPasted Image 2021-04-22 16-59-24.png

0 项奖励
回复

6,441 次查看
ufedor
NXP Employee
NXP Employee

Use 3kOhm resistors for R169 and R170.

0 项奖励
回复

6,437 次查看
Gyosun
Contributor III

I changed it to 3kOhm, but nothing improved.

We will send you the measured waveform and test details.

Is vol a problem? Is there any way to lower it with a combination of resistance?

MDC is also set to 400khz or less so there should be no problems, but I don't know why?

1.png

test.png

0 项奖励
回复

6,430 次查看
ufedor
NXP Employee
NXP Employee

Please disconnect EMI1_MDIO_3V3 from AR8035 and capture a trace.

0 项奖励
回复

6,427 次查看
Gyosun
Contributor III

The MDIO was separated and captured from the AR8035.

tek00029.png

0 项奖励
回复

6,415 次查看
ufedor
NXP Employee
NXP Employee

Where exactly on the schematics the signal was probed?

0 项奖励
回复

6,406 次查看
Gyosun
Contributor III

EMI1_MDIO_3V3 was separated from AR8035 and measured in 3kOhm pull-up state.

0 项奖励
回复

6,386 次查看
ufedor
NXP Employee
NXP Employee

1) In the PCA9517 datasheet pull-up resistors are 10kOhm.

2) Have you compared traces at the AR8035 for proper and failing cases?

0 项奖励
回复

6,316 次查看
Gyosun
Contributor III

1) In the PCA9517 datasheet pull-up resistors are 10kOhm.

I've tried it with 10kOhm, but it's the same symptom.

2) Have you compared traces at the AR8035 for proper and failing cases?

As a substitute, PCA9306 of other company was assembled and tested, and it worked normally.

However, since the board has already been built, we want the PCA9517 to work.

compare.png

0 项奖励
回复

6,310 次查看
ufedor
NXP Employee
NXP Employee

Have you tried to replace the PCA9517 by another PCA9517?

0 项奖励
回复

6,307 次查看
Gyosun
Contributor III

I tried to replace it many times.

0 项奖励
回复

6,302 次查看
ufedor
NXP Employee
NXP Employee

From the provided traces it is not clear where the problem moment is - i.e. data is identical.

0 项奖励
回复

6,161 次查看
Gyosun
Contributor III

Found a suspected phenomenon.

If you look at the waveform of the MDC clock when it is abnormal as follows, it is not clean.

At this time, it seems to have an influence on the data received value by recognizing the clock.

If you have any opinions and countermeasures, please reply.

Pasted Image 2021-05-14 11-06-26.pngPasted Image 2021-05-14 11-07-01.png

Thank you.

Best Regards,

Gyosun.

0 项奖励
回复