16
NXPTM M522XX, KINETIS and i.MX RT / about use the #define LCD_BUS_8BIT in the mcf52235???????????
« on: May 19, 2009, 09:37:22 AM »
I want to use the 8 bit mode,but see the lcd.c(_fnWriteDisplay(LCD_CONTROL_PORT_SIZE rs, unsigned char ucData) find that:
IO_BUS_PORT_DAT = DataBus;
but the #define IO_BUS_PORT_DAT PORTTA
the PORTTA is the 4 pin i/0,that maybe the LCD_BUS_4BIT mode!
Pin 7 DB0 (Data Bus 0 - which to connected)?
Pin 8 DB1 (Data Bus 1 - which to connected)?
Pin 9 DB2 (Data Bus 2 - which to connected)?
Pin 10 DB3 (Data Bus 3 - which to connected)?
Pin 11 DB4 (Data Bus 4 - always connected)PORTTA[0]
Pin 12 DB5 (Data Bus 5 - always connected)PORTTA[1]
Pin 13 DB6 (Data Bus 6 - always connected)PORTTA[2]
Pin 14 DB7 (Data Bus 7 - always connected)PORTTA[3]
Can the utasker to use the LCD_BUS_8BIT ??
IO_BUS_PORT_DAT = DataBus;
but the #define IO_BUS_PORT_DAT PORTTA
the PORTTA is the 4 pin i/0,that maybe the LCD_BUS_4BIT mode!
Pin 7 DB0 (Data Bus 0 - which to connected)?
Pin 8 DB1 (Data Bus 1 - which to connected)?
Pin 9 DB2 (Data Bus 2 - which to connected)?
Pin 10 DB3 (Data Bus 3 - which to connected)?
Pin 11 DB4 (Data Bus 4 - always connected)PORTTA[0]
Pin 12 DB5 (Data Bus 5 - always connected)PORTTA[1]
Pin 13 DB6 (Data Bus 6 - always connected)PORTTA[2]
Pin 14 DB7 (Data Bus 7 - always connected)PORTTA[3]
Can the utasker to use the LCD_BUS_8BIT ??