Content originally posted in LPCWare by abels on Mon Jan 12 07:22:25 MST 2015
hi everyone,
After realised my LCD did not reproduce the colours as expected I find a bug in EA drivers for QSB board.
In the OEM board they use different pines for LCD_VD10, LCD_VD13 and LCD_VD14.
I hope it will help :
#if 1
Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 11, (IOCON_FUNC7 )); // LCD_VD_10 //In QSB
Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 19, (IOCON_FUNC7 )); // LCD_VD_13
Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 20, (IOCON_FUNC7 )); // LCD_VD_14
#else
Chip_IOCON_PinMuxSet(LPC_IOCON, 1, 20, (IOCON_FUNC7 )); // LCD_VD_10 //In OEM
Chip_IOCON_PinMuxSet(LPC_IOCON, 1, 23, (IOCON_FUNC7 )); // LCD_VD_13
Chip_IOCON_PinMuxSet(LPC_IOCON, 1, 24, (IOCON_FUNC7 )); // LCD_VD_14
#endif
Bye