Monday, July 19, 2010

July 19 Started Display

Switched from motor to display while have little time this week

Just a collection of notes:
Started SPI interface to LCD display. There is more specific HW documentation making this easier than motors. However still have open questions at this point.

The SPI initialization for LCD seems straight-forward. (compiled)

Open questions:
Display size - Lego HW specs say 8lines by 100 pixels, but again in Lejos and Lego OS fw their is an option for 128 pixels. So need to test what we have.

Commands:  Where are all commands documented? Device specific?
5A - allow updates - documented.
5E - turn-off updates
other commands?

Questions related to lms eCos implementation:
(eCos implemention is from someone else, so learning code. )

Clock frequency for ARM7 is 48 MHz, which is exactly what is in the eCos include.
But comparing to both Lejos and Lego Open Source firmware includes, they use some slightly larger (48054850L). Need to find out why.

#ifdef includes should be chip related, but for arm7s256 some values needed seem to not be defined. Is this specific to our implementation or eCos?
Just adding what is need currently - but would like to know if left out originally on purpose or assumed not needed?

Background Info:
Serial_Peripheral_Interface_Bus great overview

No comments:

Post a Comment