porting sparkfun mp3 code to uber board

Hi All,

I recently purchased the Uber board from sparkfun with the LPC2148 ARM, I purchased this board to get my feet wet with ARM. To get familiar with the board I decided to try porting the MP3 development board code, also from sparkfun using the LPC2148, to the uber board. So far I have been successful getting the 3-axis accelerometer to work and the 3 status LEd’s. I removed the code for the fm transmitter, mp3 decoder and the cellular module.

My next step was to get the Nokia LCD color TFT to work. The only steps I figured I needed was to change the pins that the LCD_CS and LCD_reset functions used seeing as the MOSI and CLK were still the same. For some reason this has not been easy :frowning: My first obstacle was that the info on the pinouts for the LCD on the Sparkfun website were wrong !!! I used the numbering on the silkscreen for the LCD connector from 1 to 10 but come to find out this is not right. Thank god for Jim Lynch’s tutorial that shows a picture of the connection pin numbers.

Anyhow, after changing the defines for the LCD_CS and LCD_res to the pins I decided to use (PORT P0.11 for LCD_RES and P0.12 for LCD_CS) I can’t get the LCD to init. I selected first the Philips controller and then the Epson but no luck. I connected a dig scope to the SPI lines and can’t understand why they aren’t doing what the code looks like it should do.

Anyone have any insight/experience with these code projects that might be able to add some insight to my troubles? I’ll post any code requested, since there is lots of it I’ll wait for requests but the task should be pretty straightforward.

Thanks in advance,

– Dan

no one has worked with this code before? I’m only looking for help moving two LCD control pins. Anyone ???

Thanks in advance.

— dan

Today I received and tested the MP3 dev board. To make a long story short, the source code posted online is old and does not reflect the code installed on the production boards. When I tried the posted code, the screen was blank. Sparkfun support sent me the production firmware which restored functionality. I suggest you wait until they update the source on line (tomorrow?) to eliminate one source of problems.

Also note the schematics for the MP3 board were old, they posted the correct one today.

Hi Folks,

Just an update and a request. It appears the nokia LCD I purchased from sparkfun is different from both of the epson and philips codes that were supported by the source code for the mp3 development board. I had been pulling my hair out trying to get a newly purchased nokia lcd to work on a uber board when I decided to back track and connect the lcd to the MP3 board I had previously purchased (which was supplied with the Nokia LCD that uses the philips controller). Well guess what, it wasn’t my codes fault since the new LCD didn’t work with the MP3 dev board regardless of compiling the source for either epson or philips. Actually it’s not really my code, just pieces from various sparkfun projects. Also, my original post on this where I was having problems driving the SPI lines manually has been solved - simple config mistake so that part is working now.

I followed Mark C’s suggestion, thanks by the way Mark, and when I received the firmware from sparkfun my new LCD worked with the MP3 dev board. It looks like there may be a third controller and it’s not compatible with the existing code.

I was told by sparkfun that they would try and track down the source that was used for the version of the firmware they sent that worked with my LCD. They have been very helpful and if it wasn’t for the test firmware they sent my I would still be thinking my setup was faulty. I also don’t envy sparkfun trying to support these displays since they don’t have a clear indication(no markings) of the controller used in each. ugh.

I decided to verify further and connected the older LCD, supplied with my MP3 board using the philips controller, to my uber board and compiled my modified Uber board code for philips and my uber code drove the LCD just fine so it looks like I’m in need of the source code for driving this newer display since I have no idea what is actually in the thing.

has anyone else run into this and successfully modified the code to drive the LCD and possibly want to share their lpc2148 code?

Thanks in advance