Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: penfold on November 06, 2013, 05:36:44 pm

Title: LCD3310
Post by: penfold on November 06, 2013, 05:36:44 pm

I compiled and ran LCD3310 from here: https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/iMX233/MOD-LCD3310

I then plugged in the LCD, and ran the code.  It appears to run, throwing the expected errors if you don't have enough arguments etc. however nothing gets displayed on the LCD.

Have I missed something?

(For future searchers, to compile I used the command: gcc MOD-LCD3310.c lcd3310.h gpio-mmap.h -o lcd   )
Title: Re: LCD3310
Post by: olinuxino0000 on December 18, 2013, 05:35:31 pm
Check the revision and the schematics (UEXT section) of your board.

The code assumes that the UEXT pins are in 'software' mode wiring (and also I don't know what happens if any of the pins are claimed by a Linux driver).

My rev.C MAXI board arrived with them being set to hardware. The LCD code works if you cut the trace and switch it over to the SW mode (pins 3-2 on SCL_SW/SCL_HW and SDA_SW/SDA_HW.