AN2405 Freescale Semiconductor / Motorola, AN2405 Datasheet - Page 16

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 ### Select CLKO mux to output HCLK(BCLK) ###
setmem 0x21B000 0x2F00AC03, 32
comment ### Change BCLK (CPUCLK) to 16MHz
comment setmem 0x21B000 0x2F009403, 32
comment ### Change BCLK (CPUCLK) to 24MHz
comment setmem 0x21B000 0x2F008C03, 32
comment ### Change BCLK (CPUCLK) to 32MHz
comment setmem 0x21B000 0x2F008803, 32
comment ### Change BCLK (CPUCLK) to 48MHz
comment setmem 0x21B000 0x2F008403, 32
comment ### Change BCLK (CPUCLK) to 96MHz
setmem 0x21B000 0x2F008003, 32
comment ### Change PerCLK2 (LCDCLK) to 96MHz
comment setmem 0x21B020 0x000B000B, 32
comment ### Change PerCLK2 (LCDCLK) to 48MHz
comment setmem 0x21B020 0x000B001B, 32
comment ### Change PerCLK2 (LCDCLK) to 32MHz
setmem 0x21B020 0x000B002B, 32
comment ### Change PerCLK2 (LCDCLK) to 16MHz
comment setmem 0x21B020 0x000B005B, 32
comment ### Change PerCLK2 (LCDCLK) to 8MHz
comment setmem 0x21B020 0x000B00BB, 32
comment ### CS0 - boot flash, 32 wait states, 8-bit ###
setmem 0x220000 0x00002000, 32
setmem 0x220004 0x11110301, 32
comment ### CS1 - SRAM, 10 wait states, 32-bit ###
setmem 0x220008 0x00000A00, 32
setmem 0x22000C 0x11110601, 32
comment ### CS4 - External UART, 10 wait states, 8-bit ###
setmem 0x220020 0x00000A00, 32
setmem 0x220024 0x11110301, 32
comment ###########################################
comment
comment ###########################################
comment LCD buffer point to external SRAM
setmem 0x00205000 0x12000000, 32
comment LCD buffer point to eSRAM
comment setmem 0x00205000 0x00300000, 32
comment set XMAX to 336 (0x150), YMAX to 480 (0x1E0)
setmem 0x00205004 0x015001E0, 32
comment
setmem 0x00205008 0x000000A8, 32
setmem 0x0020500C 0x40050001, 32
setmem 0x00205010 0x1F1F0000, 32
16
INIT FILE FOR SHARP 320X480 LCD DISPLAY
vpw=336/32=168 (0xA8) word where word = 32 bit and 16bpp
i.MX Supplemental Information for LCD Interfacing Application Note, Rev. 1.1
Code Example 2. Sharp 320x480 TFT Requiring Dedicated Signals
Freescale Semiconductor

Related parts for AN2405