You are on page 1of 10

是否1.

3
Command Hex Code (2.0兼容
1.3)

DSE_FSED 59h Y
enter_idle_mode 39h Y
enter_invert_mode 21h Y
enter_normal_mode 13h Y

enter_partial_mode 12h Y

enter_sleep_mode 10h Y
exit_idle_mode 38h Y
exit_invert_mode 20h Y
exit_sleep_mode 11h Y
get_3D_control 3Fh Y

get_address_mode 0Bh Y

get_blue_channel 08h Y

get_CABC_min_brightness 5Fh Y

get_compression_mode 03h Y

get_control_display 54h Y

get_diagnostic_result 0Fh Y

get_display_brightness 52h Y

get_display_mode 0Dh Y

get_DSI_mode 70h N

get_error_count_on_DSI 05h Y

get_green_channel 07h Y

get_image_checksum_ct 15h Y

get_image_checksum_rgb 14h Y

get_pixel_format 0Ch Y

get_power_mode 0Ah Y

get_power_save 56h Y

get_red_channel 06h Y

get_scanline 45h Y
get_signal_mode 0Eh Y

nop 00h Y

read_ACMD 62h N

read_ACMD_continue 4Bh N

read_DDB_continue A8h Y

read_DDB_start A1h Y

read_DSE_mailbox 57h N
read_DSE_register 65h N

read_memory_continue 3Eh Y

read_memory_start 作者:
2Eh Y
读的是rx dec的PPS
read_PPS_continue A9h Y

read_PPS_start A2h Y
set_3D_control 3Dh Y

set_ACMD_access 47h N

set_address_mode 36h Y

set_arp_off 60h N
set_arp_on 61h N
set_CABC_min_brightness 5Eh Y
set_column_address 2Ah Y
set_display_brightness 51h Y

set_display_off 28h Y

set_display_on 29h Y

set_DSE_register_access 4Ch N

set_DSI_mode 71h N

set_gamma_curve 26h Y
set_page_address 2Bh Y

set_partial_columns 31h Y

set_partial_rows 30h Y

set_pixel_format 3Ah Y

set_scroll_area 33h Y
set_scroll_start 37h Y
set_tear_off 34h Y

set_tear_on 35h Y
set_tear_scanline 44h Y

set_vsync_timing 40h Y

soft_reset 01h Y
write_ACMD 63h N
write_ACMD_continue 49h N
write_control_display 53h Y
write_DSE_mailbox 58h N

write_DSE_register 64h N

write_LUT 2Dh Y

write_memory_continue 3Ch Y

write_memory_start 2Ch Y

write_power_save 55h N
是否需要 Number of
Description Type 1 Type 2
response Parameters

Transfer FSED from Host to display. Variable No No


Reduced color depth is used on the display panel. 0 Yes No
Displayed image colors are inverted. 0 Yes Yes
The whole display area is used for image display. 0 Yes Yes

Part of the display area is used for image display.


不是局部刷新模式
The Partial Display Mode window is described by the set_partial_columns and 0 Yes Yes
set_partial_rows commands
如果是从Normal 切到Partial,当此命令发送后,要求Host继续发两Frame的 HS 和
VS 信息

Power for the display panel is off. 0 Yes Yes


Full color depth is used on the display panel. 0 Yes No
Displayed image colors are not inverted. 0 Yes Yes
Power for the display panel is on. 0 Yes Yes
Get display module 3D Mode. Y 2 No No
Get the data order for transfers from the Host to the display module and from the
frame memory to the display device. Y 1 Yes Yes
一些order信息,如Vertial、Horizon、RGB等

Get the blue component of the pixel at (0, 0).


如果是非压缩,第一个像素的blue 高位补零到8bit Y 1 No Yes
如果是压缩,第一个8bit数据
Get current minimum brightness level of the active CABC mode
Y 1 or 2 Yes Yes
自适应亮度控制(CABC)功能的亮度最小值
Get the current compression mode
读回当前支持的压缩模式(算法版本、PPS table 等) Y 1 No No
注意:并没有DCS设置的Compress Mode 命令,要通过DSI来设置
Get control display mode
Y 1 Yes Yes
主要是获取brightness control相关信息
Get Peripheral Self-Diagnostic Result Y 1 Yes Yes
Get current display brightness level
Y 1 or 2 Yes Yes
brightness 信息
Get the current display mode from the peripheral.
Y 1 Yes Yes
Scrolling、Inversion、Gamma Curve 等
Get DSI operation mode Y 1 Yes No
是Command 还是 Video,0 是Command
Get number of corrupted packets on DSI
number of corrupted packets previously received on the DSI link Y 1 Yes Yes
这个怎么弄
Get the green component of the pixel at (0, 0).
Y 1 No Yes
类似
Returns the checksum of a frame of color-transformed pixel data
解压以后的,当前的frame的checksum值,for test purpose Y 2 Yes* Yes*
怎么弄,从dsc decoder 那边拿?是不是可以给dummy值----一定要回

Returns the checksum of a frame of RGB pixel data


解压以后的,当前的frame的checksum值,for test purpose Y 2 Yes* Yes*
怎么弄,从dsc decoder 那边拿?是不是可以给dummy值
Get the current pixel format.
Y 1 Yes Yes
RGB像素格式 bits/pxl
Get the current power mode. Y 1 Yes Yes
当前的power mode,Idle,Partial, Sleep,Display on/off
Get power save mode
Y 1 Yes Yes
有不同等级的power save, low, med,high,Outdoor
Get the red component of the pixel at (0, 0). Y 1 No Yes
类似
Get the current scanline. Y 2 Yes Yes
当前line,vsync开始算line0
Get display module signaling mode. Y 1 Yes Yes
主要就是Tearing Effect是否打开以及打开的模式
No Operation 0 Yes Yes
(Deprecated in DCS v2.0 and higher)
– – –
v2.0不再使用
Perform a read access to the ACMD registers
ACMD registers 是 A-PHY中的寄存器
Y Variable No No
Host在发 set_ACMD_access以后发read_ACMD_continue 或
write_ACMD_continue
Continue reading the DDB from the last read location. Y Variable Yes Yes
Read the DDB from the provided location.
读取设备相关描述信息 Device Descriptor Block (DDB) stored on the peripheral Y Variable Yes Yes
最多64KB
(Deprecated in DCS v2.0 and higher) – – –
Perform a read access to the DSE register space. Variable No No
Read image data from the peripheral continuing after the last
Y Variable Yes Yes
read_memory_continue or read_memory_start.
Transfer image data from the peripheral to the Host Processor interface starting at
者: the location provided by set_column_address and set_page_address. Y Variable Yes Yes
开始读frame buffer
的是rx dec的PPS
Continue reading the specified length of PPS data immediately following the last
Y Variable Yes Yes
read location.
Transfer the specified length of PPS data starting at the beginning of the PPS
Y Variable Yes Yes
register.
3D is used on the display panel. 2 No No
Set the control parameters used to access the ACMD
ACMD是 A-PHY(车载,15M,高速serdes)使用 5 No No
发完这个以后,Host会继续发 read_ACMD_continue 或 write_ACMD_continue
Set the data order for transfers from the Host to the display module and from the
frame memory to the display device. 1 Yes Yes
可以设置address mode,正序倒序之类
Disable ARP 0 No No
Enable ARP and set T2 timer 2 No No
Writes minimum brightness level for the active CABC mode. 1 or 2 Yes Yes
Set the column extent. 4 Yes Yes
Selects display brightness level 1 or 2 Yes Yes
Blanks the display device.
0 Yes Yes
不显示,只显示blank , 不影响buffer内容
Show the image on the display device.
0 Yes Yes
开始显示(之前是要写buffer)
Set the control parameters used to access the DSE registers. 4 No No
Set DSI operation mode.
1 Yes No
设置Command Mode 还是 Video Mode,默认 0 Command Mode
Selects the gamma curve used by the display device. 1 Yes Yes
Set the page extent. 4 Yes Yes
Defines the number of columns in the partial display area on the display device.
4 Yes Yes
包含Start Column (PSC) 和 End Column (PEC),可以是矩形内,也可以是矩形外
Defines the number of rows in the partial display area on the display device.
4 Yes Yes
包含 Start Row (SR) 和 second the End Row (ER)
Defines how many bits per pixel are used in the interface. 1 Yes Yes
设置bits/pixel,Compress Mode时设置无效
Defines the vertical scrolling and fixed area on display device. 6 Yes No
Defines the vertical scrolling starting point. 2 Yes No
Synchronization information is not sent from the display module to the host
0 Yes No
processor.
Synchronization information is sent from the display module to the host processor
at the start of VFP. 1 Yes No
turns on the display module’s Tearing Effect output signal on the TE signal line.分
Mode0 和 Mode1,Mode1 包括 V-Blanking & H-Blanking
Synchronization information is sent from the display module to the host processor
when the display device refresh reaches the provided scanline. 2 Yes No
和 set_tear_on类似,但是可以delay N 个line
Set VSYNC timing. 1 No No
调整VSYNC的delay or advance (以line为单位)
Software Reset 0 Yes Yes
(Deprecated in DCS v2.0 and higher) – – –
Perform a write access to the ACMD registers. Variable No No
Writes control mode of display brightness. 1 Yes Yes
(Deprecated in DCS v2.0 and higher) – – –
Perform a read access to the DSE register space.
Variable No No
for Display Service Extensions (DSE)
Fills the peripheral look-up table with the provided data.
Variable Optional No
涉及到pixel color depth conversion
Transfer image information from the Host Processor interface to the peripheral from
Variable Yes Yes
the last written location.
Transfer image data from the Host Processor to the peripheral starting at the
location provided by set_column_address and set_page_address.
Variable Yes Yes
set_column_address 和 set_page_address 命令设置pixel location,从这里开始写
frame buffer 内容
Writes power save mode 1 Yes Yes
作者:
Type 3
这里的Number和DSI中的Number对应
对于get而言,指的是response的param数
No 量
No
Yes
No

No

Yes
No
Yes
Yes
No

Yes

Yes

Yes

No

Yes

Yes

Yes

Yes

No

Yes

Yes

Yes*

Yes*

Yes

Yes

Yes

Yes

No
Yes

Yes

No

Yes

Yes


No

No

No

Yes

Yes
No

No

Yes

Optional **
Optional **
Yes
No
Yes

Yes

Yes

No

No

Yes
No

No

No

Yes

No
No
No

No
No

No

Yes

No
Yes

No

No

No

No

Yes

You might also like