Use the PWM value of MCU and DPsource in common

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

Use the PWM value of MCU and DPsource in common

跳至解决方案
2,959 次查看
yamakatb
Contributor III

I am currently checking the device operation of PTN3460I.

I want to adjust the brightness of both the I2C master and the DP source.
To do this, both settings must be the same.

Question.
Is it possible to get the rewritten PWM Value via DPCD registers (0x722 & 0x723) in the Configuration Register (0x90 & 0x91)?

After the reset is released, you can read the DefaultValue by reading the Configuration Registers (0x90 & 0x91) and DPCD registers (0x722 & 0x723).

When I rewrote the Configuration Registers (0x90 & 0x91) with I2C-bus master, I was able to confirm the change in brightness.
You can also read the rewritten PWM Value with Configuration Registers (0x90 & 0x91).

The PWM Value rewritten by I2C-bus master could also be read by DPCD registers (0x722 & 0x723).

Next, when I rewrote the DPCD registers (0x722 & 0x723) again with I2C-Over-Aux, I was able to confirm the change in brightness.
You can read the rewritten PWM Value with DPCD registers (0x722 & 0x723),
In the Configuration Register (0x90 & 0x91), the PWM Value rewritten in the previous Configuration Register (0x90 & 0x91) could be read.

标记 (1)
0 项奖励
回复
1 解答
2,924 次查看
yamakatb
Contributor III

Hi @guoweisun 
Thank you for your reply

The PWM value rewritten using DPCD registers cannot be read from the Configuration Register, and the PWM value rewritten using the Configuration Register last time can be read.

Is it necessary to somehow update the Configuration Register after accessing it from the DPCD registers?

Since the operation of DPCD registers access and Configuration Register has been confirmed independently, I think that there is no problem with the access method, but is there any other possible cause for the register value not changing?

Best regards,
yamakatb

在原帖中查看解决方案

0 项奖励
回复
5 回复数
2,894 次查看
guoweisun
NXP TechSupport
NXP TechSupport

You can use the DPCD tool to read then write these registers.

0 项奖励
回复
2,859 次查看
yamakatb
Contributor III

Hi @guoweisun 

Do "these registers" refer to both DPCD registers and Configuration Registers?

Where can I get the DPCD tool?

Best regards,
yamakatb

0 项奖励
回复
2,895 次查看
guoweisun
NXP TechSupport
NXP TechSupport

You can use the DPCD tool to write then read this registers.

 

0 项奖励
回复
2,930 次查看
guoweisun
NXP TechSupport
NXP TechSupport

Q:

Is it possible to get the rewritten PWM Value via DPCD registers (0x722 & 0x723) in the Configuration Register (0x90 & 0x91)?

A:Yes,I think it's.

0 项奖励
回复
2,925 次查看
yamakatb
Contributor III

Hi @guoweisun 
Thank you for your reply

The PWM value rewritten using DPCD registers cannot be read from the Configuration Register, and the PWM value rewritten using the Configuration Register last time can be read.

Is it necessary to somehow update the Configuration Register after accessing it from the DPCD registers?

Since the operation of DPCD registers access and Configuration Register has been confirmed independently, I think that there is no problem with the access method, but is there any other possible cause for the register value not changing?

Best regards,
yamakatb

0 项奖励
回复