AN2405 Freescale Semiconductor / Motorola, AN2405 Datasheet - Page 14

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
Other Considerations
comment vpwC480(dec) for 8bpp
comment set vpw to 640/2=320 => 0x140
setmem 0x00205008 0x00000140, 32
comment set cursor position & attributes
setmem 0x0020500C 0x40010001, 32
setmem 0x00205010 0x1F1F0000, 32
setmem 0x00205014 0x0000F800, 32
comment 16 bpp , tft , color,
setmem 0x00205018 0xF8E00081, 32
comment h_width, h_wait1, h_wait2
setmem 0x0020501C 0x04001066, 32
comment v_width, v_wait1, v_wait2
setmem 0x00205020 0x04000022, 32
comment panning offset
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 LCD enabled
setmem 0x00205034 0x0F000002, 32
14
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
40 for 4bpp
div by 2
Freescale Semiconductor

Related parts for AN2405