ML405 LCD

May 08, 2007 2 Replies

How can I display "hello world" onto the Char LCD which is on the development board (ML405)?



I realized a similar topic has been posted. But our situation is a little different.



I want to do it the "software" way, i.e. write a C program and download it to the board.



Here's what I'm using: Xilinx Platform Studio 8.2 Wind River - OS vxwork 6.4



Thanks in advance. Any input help.



Kevin



Since no one else bit, the easiest way is to assign a GPIO port to it, and connect it to the LCD pins per the schematic. From there, you will need to write routines that drive the pins according to the datasheet (practically any HD44780 sheet should do, as they all follow that spec)

For a standalone example (no VxWorks) in C you can have a look at the ML405 reference design:

formatting link
formatting link

In sw/standalone/simon.src you find a xromlcd.h and xromlcd.c that implements some functions to write to the LCD. These functions are called from simon.c

It should be straight forward to port that code to VxWorks.

- Peter

Aggie wrote:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required