Change PWM value of PTN3460I through Linux PC

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

Change PWM value of PTN3460I through Linux PC

跳至解决方案
3,928 次查看
tommys
Contributor III

Hello,

We would like to change the PWM value of PTN3460I from a Linux PC through Display Port. We expected the PTN3460I to be recognized by the PC as an I2C(I2C-over-AUX) device (slave address 0xC0) but could not find the slave address. Is it correct to access via AUX-CH(DPCD) instead of I2C? The EDID could be read at the slave address 0x50. Please tell us the correct access method.

Thank you for your cooperation.

Best regards,
tommys

标记 (1)
0 项奖励
回复
1 解答
3,895 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Tommy,

PTN3460I default PWM setting is 12 bit, so that the DPCD register 0x722/0x723 working range is 0x000 – 0xFFF.

0x000 means PWM duty cycle = 100%, so PWM = 3.3V. And 0xFFF means PWM duty cycle  = 0%, so PWM = 0V.

Best regards,

Tomas

在原帖中查看解决方案

0 项奖励
回复
4 回复数
3,913 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Tommy,

Yes, you will have to to access via AUX-CH (DPCD register) instead of I2C if you want to change the PWM value of PTN3460I from a Linux PC through DisplayPort.

You will need to change DPCD register 0X722 and 0x723 via DP AUX channel to modify display brightness according to eDP (Embedded DisplayPort) specification v1.3 in below figures.

Picture.png

Picture 1.png

 

Best regards,

Tomas

0 项奖励
回复
3,907 次查看
tommys
Contributor III

Hello Tomas,

Thank you for the reply.

In case of PTN3460I, what are the maximum and minimum values ​​of brightness? We think 0x1000 is 0% and 0x0000 is 100%. Is it correct?

Best regards,

Tommy

0 项奖励
回复
3,896 次查看
TomasVaverka
NXP TechSupport
NXP TechSupport

Hello Tommy,

PTN3460I default PWM setting is 12 bit, so that the DPCD register 0x722/0x723 working range is 0x000 – 0xFFF.

0x000 means PWM duty cycle = 100%, so PWM = 3.3V. And 0xFFF means PWM duty cycle  = 0%, so PWM = 0V.

Best regards,

Tomas

0 项奖励
回复
3,873 次查看
tommys
Contributor III

Hello Tomas,

Thank you for your reply. I understand.

Best regards,
Tommy

0 项奖励
回复