Forum Discussion
Altera_Forum
Honored Contributor
10 years agoDE2 - CFAH1602B-TMC-JP Initialization Sequence
Hello,
I have a Terrasic DE2 and am trying to initialize the LCD and then turn on the backlight for confirmation. I've modeled the sequence all the way up to the final point described in the datasheet (link to datasheet (https://drive.google.com/file/d/0b5za7izq3qsrrxj2vklhu3zwrku/view?usp=sharing)), using an FSM. I cannot understand the last state, where it looks like I am to write four different instructions. Section 14 (page 17/20) describes the initialization procedure:- LCD_ON = 1
- Wait > 15ms
- LCD_RS = 0, LCD_RW = 0, LCD_DATA = 0x30
- Wait > 4.1ms
- LCD_RS = 0, LCD_RW = 0, LCD_DATA = 0x30
- Wait > 100us
- LCD_RS = 0, LCD_RW = 0, LCD_DATA = 0x30
- This is where my problems begin
1 Reply
- Altera_Forum
Honored Contributor
Hi, MMalik, have a try to download CD content on Terasic DE2 resource page, from DE2_default Demo, you may find some design related with LCD, hope it's kinda useful. Nikita from Terasic