Forum Discussion
Altera_Forum
Honored Contributor
19 years agoGetting the LCD to work with NIOS II
I know a lot of people have had issues with this, and I've searched through and read many of them, but none of them have helped me. I'll go through my entire process here to make sure I'...
Altera_Forum
Honored Contributor
19 years agoI finally got it working just now. I realized that the FPGA has a pin labeled LCD_ON. Well, when you add the LCD to the NIOS processor, it doesn't come with that pin, I ended up having to add a one bit PIO output pin that I manually set high in my code (through "IOWR(LCD_ON_BASE, 0, 1);").
After setting that high, of course, I had to include the usleep(2000); so the LCD test actually completed. I don't understand why their (Altera's) component doesn't use the LCD_ON pin.