Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,366 Views

Help with cyclone iv (ep4ce6e22c8n)

i need to connect a lcd hd44780 to fpga cyclone iv (ep4ce6e22c8n). 

 

------- 

So, i'm new in this thing and i really need to know how to phisically connect it; right now i'm using the LCD i said before but i don't know how to do it, please help.  

 

I need it asap :cry: 

0 Kudos
3 Replies
Altera_Forum
Honored Contributor I
80 Views

There is a good basic overview here of HD44780 based LCD displays: https://en.wikipedia.org/wiki/hitachi_hd44780_lcd_controller 

 

As far as the physical connection goes, you need (3) 3.3V LVCMOS outputs, and (4) or (8) 3.3V LVCMOS bidir data lines.  

 

Cyclone IV does not support direct connection to 5V I/O, so if your display will need to operate at 3.3V LVCMOS levels, or you need to add a voltage level translator between the FPGA and the display pins.
Altera_Forum
Honored Contributor I
80 Views

Oh thanks, but i'm still i bit confused about it. So i have to use the following pins: VSS, VDD, RW, E, and what else should i use? Am i even correct?

Altera_Forum
Honored Contributor I
80 Views

 

--- Quote Start ---  

Oh thanks, but i'm still i bit confused about it. So i have to use the following pins: VSS, VDD, RW, E, and what else should i use? Am i even correct? 

--- Quote End ---  

 

 

Yes, for those listed. 

 

VSS would be connected to ground. 

VDD would be connected to (probably) +5V (or maybe +3.3V). Depends on your LCD module. You need a datasheet for it. 

 

RS is an input; needs to connect to an FPGA output. 

R/W is an input; needs to connect to an FPGA output. 

E is an input; needs to connect to an FPGA output. 

 

DB[0:3] are bidirectional; needs to connect to FPGA bidir. 

DB[4:7] (optional) are bidirectional; needs to connect to FPGA bidir. 

 

VO is an analog input / LCD contrast. Connect to the wiper pin on a 10K variable resistance. Other two pins to VDD and VSS. 

 

Attached is a PDF datasheet of a pretty standard 8x2 character LCD display from CrystalFontz for reference.
Reply