I'm using twr-k70f120m kit with twr-lcd module and trying to configure the lcd via flexbus(16 bit).
I'm not using the LCD controller bcoz the LCD module which i had don't support the lcd controller.
my project is a bareboard project without processor expert.
In flexbus ,i am using chip select 0(CS0) with the base address 0x60000000 and data address 0x60010000.
register setting are acc. to datasheet. but i'm not enabling any pll just enabling the flexbus clk using sim_ SCG7.
|SIM_SCGC5 = SIM_SCGC5_PORTA_MASK | SIM_SCGC5_PORTB_MASK | SIM_SCGC5_PORTC_MASK | SIM_SCGC5_PORTD_MASK | SIM_SCGC5_PORTE_MASK;|
|SIM_SCGC7 |= SIM_SCGC7_FLEXBUS_MASK;|
|SIM_SOPT2 |= SIM_SOPT2_FBSL(3);|
|SIM_CLKDIV1 |= SIM_CLKDIV1_OUTDIV3(3);|
|FB_CSAR0 = FLEX_DC_ADDRESS;|
|FB_CSMR0 = FLEX_ADRESS_MASK | FLEX_CSMR_V_MASK;|
|FB_CSCR0 = FLEX_CSCR_MUX_MASK | FLEX_CSCR_AA_MASK | FLEX_CSCR_PS1_MASK;|
|FB_CSPMCR = 0x02200000;|
and lcd initialization is according to the example given by freescale.
but still its not working ,not bale to display anything on screen
if anyone have some sample code of flexbus to use lcd for bareboard project plz send.