Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20704 Discussions

Using LCD on DE0 (Noob)

Altera_Forum
Honored Contributor II
1,002 Views

Hi every one, i just soldered the Altera LCD on the DE0 board. It lights up showing "Welcome to..." The LCD is a 2x16 and has a display controller HD44780. My question is how do i communicate with it? Whats the address for the control register and stuff? Any tiny example of printing something on it would be a great deal of help. I plan on using Assembly Language for my project. I am currently using Altera Monitor program and using NIOS II Basic computer. Kindly if possible help me out here with a sample code or something !

0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
262 Views

 

--- Quote Start ---  

 

My question is how do i communicate with it? 

 

--- Quote End ---  

 

At the hardware level, there are wires between the FPGA and the LCD controller. The Embedded Peripherals IP Guide has an Optrex LCD controller core; 

 

http://www.altera.com/literature/ug/ug_embedded_ip.pdf 

 

If you add this core to a Qsys system along with a NIOS II processor, then that processor can access the core registers. The address of the registers is determined by you, when you create the Qsys system. 

 

You should be able to open a Qsys example design that came with the kit, open the Qsys system design, and then look at the properties of each component in the Qsys system (select, right-click, and look at the documentation links). 

 

Cheers, 

Dave
0 Kudos
Reply