Display Control Unit (DCU)
MPC5606S Microcontroller Reference Manual, Rev. 7
406
Freescale Semiconductor
12.4.3
DCU mode selection and background color
Once the DCU is configured for use with a particular TFT LCD panel, it can be enabled for use. There are
five modes to choose from, as shown in
.
The DCU_MODE, PDI_EN and PDI_SLAVE_MODE control bits are in the DCU_MODE register. The
DCU has an interface enable bit for the TFT LCD panel interface called RASTER_EN, also in the
DCU_MODE register. When RASTER_EN is 0 the raster scanning of pixels to the panel is disabled but
the pixel clock continues to run as long as DCU_MODE is in an active state.
Color bar mode is intended for testing the interface between the DCU and the TFT LCD panel. In this
mode, the panel is divided into eight vertical strips of equal width, and the strips display a single color
whose RGB value is specified in the COLBAR_1 to COLBAR_8 registers. At reset, the colors are set to
black, blue, cyan, green, yellow, red, magenta, and white, where positive logic for the RGB values is
assumed. The mode can be used to verify correct connection of the interface to the DCU and correct timing
configuration of the interface. In this mode, any layer configuration settings are ignored.
In Normal mode, the DCU operates according to the timings specified in
, and displays graphics according to the configuration of its layers. The BGND register sets
the RGB color of the background shown when no other layers are present. This background color is
included in the layer blending process but, since it is always the background, it does not include any layer
blending settings.
In PDI normal mode, the DCU adopts the timing provided on the PDI interface and replaces the
background color by the pixel data coming from the PDI interface. The timing values set in the DCU are
ignored in this mode, and the pixel clock and synchronization signals are taken from the PDI interface and
passed to the TFT LCD panel. The content of the panel is a combination of the incoming pixel stream and
layers generated by the DCU.
PDI Slave mode allows the DCU to synchronize with the external timing signals on the PDI input.
12.4.4
Proper sequence for enabling and disabling the DCU
It is important to follow a correct sequence when enabling and disabling the DCU.
Table 12-51. List of DCU operating modes
Mode
DCU_MODE[1:0]
PDI_EN
Description
Off
00
X
DCU disabled; the TFT LCD panel is not driven.
Color bar
11
X
DCU displays a test pattern consisting of vertical bands of programmable
color.
Normal
01
0
DCU blends layers and displays result on TFT LCD panel.
PDI normal
01
1
As normal mode, except that the panel timing is defined by the input on
the PDI interface, and the background color is replaced by the content
provided on the PDI interface.
PDI slave
01
0
The DCU synchronizes its timing to an external signal when
PDI_SLAVE_MODE is enabled.
Содержание MPC5602S
Страница 76: ...Overview MPC5606S Microcontroller Reference Manual Rev 7 74 Freescale Semiconductor...
Страница 82: ...Memory Map MPC5606S Microcontroller Reference Manual Rev 7 80 Freescale Semiconductor...
Страница 112: ...Signal Description MPC5606S Microcontroller Reference Manual Rev 7 110 Freescale Semiconductor...
Страница 166: ...Analog to Digital Converter ADC MPC5606S Microcontroller Reference Manual Rev 7 164 Freescale Semiconductor...
Страница 182: ...Boot Assist Module BAM MPC5606S Microcontroller Reference Manual Rev 7 180 Freescale Semiconductor...
Страница 234: ...Clock Description MPC5606S Microcontroller Reference Manual Rev 7 232 Freescale Semiconductor...
Страница 286: ...Crossbar Switch XBAR MPC5606S Microcontroller Reference Manual Rev 7 284 Freescale Semiconductor...
Страница 470: ...e200z0h Core MPC5606S Microcontroller Reference Manual Rev 7 468 Freescale Semiconductor...
Страница 524: ...Enhanced Direct Memory Access eDMA MPC5606S Microcontroller Reference Manual Rev 7 522 Freescale Semiconductor...
Страница 546: ...Error Correction Status Module ECSM MPC5606S Microcontroller Reference Manual Rev 7 544 Freescale Semiconductor...
Страница 669: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 667...
Страница 670: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 668 Freescale Semiconductor...
Страница 716: ...FlexCAN MPC5606S Microcontroller Reference Manual Rev 7 714 Freescale Semiconductor...
Страница 882: ...LIN Controller LINFlex MPC5606S Microcontroller Reference Manual Rev 7 880 Freescale Semiconductor...
Страница 901: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 899...
Страница 902: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 900 Freescale Semiconductor...
Страница 955: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 953...
Страница 956: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 954 Freescale Semiconductor...
Страница 1072: ...Quad Serial Peripheral Interface QuadSPI MPC5606S Microcontroller Reference Manual Rev 7 1070 Freescale Semiconductor...
Страница 1096: ...Reset Generation Module MC_RGM MPC5606S Microcontroller Reference Manual Rev 7 1094 Freescale Semiconductor...
Страница 1106: ...Real Time Clock RTC API MPC5606S Microcontroller Reference Manual Rev 7 1104 Freescale Semiconductor...
Страница 1186: ...Stepper Stall Detect SSD MPC5606S Microcontroller Reference Manual Rev 7 1184 Freescale Semiconductor...
Страница 1213: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1211...
Страница 1214: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 1212 Freescale Semiconductor...
Страница 1238: ...Voltage Regulators and Power Supplies MPC5606S Microcontroller Reference Manual Rev 7 1236 Freescale Semiconductor...
Страница 1252: ...Wakeup Unit WKPU MPC5606S Microcontroller Reference Manual Rev 7 1250 Freescale Semiconductor...
Страница 1258: ...Registers Under Protection MPC5606S Microcontroller Reference Manual Rev 7 1256 Freescale Semiconductor...
Страница 1323: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1321...
Страница 1324: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 1322 Freescale Semiconductor...