DDC/CI基本使用較多的像 亮度/對比度 調整,都是VCP codes
所以都會用到 Set VCP Feature 0x03 / Get VCP Feature 0x01 / VCP Feature Reply 0x02
VCP Codes 功能分類
- Image Adjustments:用於調節畫面基本視覺效果
- Color Adjustments:色彩與校準
- Image Geometry Adjustment:幾何與位置
- Audio Adjustments:音频控制
- Window Operations:視窗控制
- DPVL Support:Display Parameter Value List Support
Image Adjustments
Color Adjustments
Image Geometry Adjustment
Audio Adjustments
Window Operations
DPVL Support
Luminance 0x10 亮度調節
寫入 1% 的亮度,然後讀取確認
6E 51 84 03 10 00 01 A9
> I2C Write, Address = 6E, Data: 51 84 03 10 00 01 A9 Delay = 0
OK
> I2C Write, Address = 6E, Data: 51 82 01 10 AC Delay = 0
OK
> I2C Read, Address = 6F, Read 11 bytes, Delay = 0
OK
< 6E 88 02 00 10 00 00 64 00 01 C1
寫入 50% 的亮度,然後讀取確認
6E 51 84 03 10 00 32 BD
> I2C Write, Address = 6E, Data: 51 84 03 10 00 32 9A Delay = 0
OK
> I2C Write, Address = 6E, Data: 51 82 01 10 AC Delay = 0
OK
> I2C Read, Address = 6F, Read 11 bytes, Delay = 0
OK
< 6E 88 02 00 10 00 00 64 00 32 F2
- 6E:顯示裝置的I2C address
- 51:source的address
- 84:data的長度4個bytes,不包含checksum,bit 7固定為1
- 03:command "Set VCP Feature"
- 10:VCP code (Luminance)
- 00 32:亮度的高+低位元
- CK:checksum,所有位元做XOR
Restore factory defaults 0x04 回復原廠預設值
6E 51 84 03 04 00 01 BD
Power Mode 0xD6
Power On
6E 51 84 03 D6 00 01 6F
Power Off
6E 51 84 03 D6 00 05 6B
Input Select 0x60
切DP1
6E 51 86 03 60 00 0F 00 00 D5
切HDMI1
6E 51 86 03 60 00 11 00 00 CB
切HDMI2
6E 51 86 03 60 00 12 00 00 C8
Select Color Preset 0x14 色溫
6500K
6E 51 84 03 14 00 05 A9
9300K
6E 51 84 03 14 00 08 A4







留言
張貼留言