AN2405 Freescale Semiconductor / Motorola, AN2405 Datasheet - Page 17

no-image

AN2405

Manufacturer Part Number
AN2405
Description
Supplemental Information for LCD Interfacing for the MC9328MX1 Application Processor Application Note
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
setmem 0x00205014 0x0000f800, 32
comment 16 bp , tft ,color, pos edge clock pol, LLP active high, LFLM active low
setmem 0x00205018 0xF8040042, 32
comment Sharp Configuration 1 Register
setmem 0x00205028 0x00090300, 32
comment hsyn width = 2 CLK
setmem 0x0020501C 0x4000701, 32
comment vsyn width = 2 lines vsyn_wait 1 = 7 lines (0x7)
setmem 0x00205020 0x08000706, 32
comment setmem 0x00205034 0x00000000, 32
comment #########################
comment
comment
comment
comment #########################################
comment PORT D GIUS
comment clear PORT D for LCD signal
setmem 0x0021C320 0x00000000, 32
comment PORT D GPR
setmem 0x0021C338 0x00000000, 32
comment PORT C GIUS
setmem 0x0021C220 0x00010000, 32
comment PORT C OCR2
setmem 0x0021C208 0x00000003, 32
comment PORT C DDIR
setmem 0x0021C200 0x00010000, 32
comment PORT C GPR
setmem 0x0021C238 0x00010000, 32
comment PORT C DR (data register)
comment set PC16 will turn off LCD
setmem 0x0021C21C 0x00010000, 32
comment ############
comment
comment ############
comment PORT C DR (data register)
comment set PC16 will turn off LCD
setmem 0x0021C21C 0x00010000, 32
comment set SPL/SPR to CLS delay 316 clk (256 + 0x21)
setmem 0x0020502C 0x00A9033C, 32
comment Enable the LCD display
setmem 0x00205034 0x0F000002, 32
6.4
The application note, MC9328MX1 Reference Design for High Resolution Software Development, (order number
AN2309/D) provides details to test the display and create a proper test image (See Section 3.4).
Freescale Semiconductor
Testing the Display
IO PORT INIT FOR LCD
config PC16 to output port for LCD ON
config PD to functional use for LCD signals
LCD ON
i.MX Supplemental Information for LCD Interfacing Application Note, Rev. 1.1
hsyn_wait 1 = 8 CLK (0x7) hsyn_wait2 = 4 CLK (0x1)
vsyn_wait2 = 6 lines (0x6)
Other Considerations
17

Related parts for AN2405