November 23, 2024, 03:25:27 AM

MOD-LCD3310 doesn't work

Started by raetos, December 13, 2012, 12:27:50 AM

Previous topic - Next topic

raetos

Hi to all,

I bought one Olinuxino-maxi board and one MOD-LCD3310 display.  I tried demo program MOD-LCD3310  (https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/iMX233/MOD-LCD3310) ,  but the display doesn't work, nothing appears on the display. However I see with an oscilloscope that the command signals (CLK, DATA, CS, etc..) are generated.

Have anyone experienced the same problem?


Thanks for your attention.

Bye.

LubOlimex

Hello raetos,

You have to set SCL_SW/SCL_HW and SDA_SW/SDA_HW in hardware mode (SCL_HW and SDA_HW positions) for the I2C examples. The jumpers are located near the GPIO_CON.

Please refer to the manual (page 48) for more info: https://www.olimex.com/Products/OLinuXino/iMX233/iMX233-OLinuXino-MAXI/resources/iMX233-OLINUXINO-MAXI.pdf

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

raetos

... after long ... long time ...

Hello,


however it is possibile to change the software. For example you can use other output pins to drive RES and DC. So in MOD-LCD3310.c : 

#define LCD_RES_MAKE_OUT()      gpio_output(1, 19);   //gpio_output(0, 23);
#define LCD_RES_HIGH()         GPIO_WRITE(1, 19, 1); //GPIO_WRITE(0, 23, 1);
#define LCD_RES_LOW()         GPIO_WRITE(1, 19, 0); //GPIO_WRITE(0, 23, 0);

#define LCD_DC_MAKE_OUT()      gpio_output(1, 20);   //gpio_output(0, 25);
#define LCD_DC_HIGH()         GPIO_WRITE(1, 20, 1); //GPIO_WRITE(0, 25, 1);
#define LCD_DC_LOW()         GPIO_WRITE(1, 20, 0); //GPIO_WRITE(0, 25, 0);

For me, it works.

See also the post https://www.olimex.com/forum/index.php?topic=553.msg2092#msg2092

Bye.