Forum Discussion
Altera_Forum
Honored Contributor
10 years agoAccesing Character LCD
Hi, I have Problems, Accesing a Character Display wit NIOSII. I´m using the 16x2 Character Display IP from the University Programm. I have wired R/W to ground, so that I only can perform Wr...
Altera_Forum
Honored Contributor
10 years agoHello Olaf,
I am a beginner also, but looking at your questions i might be able to shed some light. If you use a 1602 with an arduino, the arduino is also configured in a way that it can only write to the 1602 and not read. Hence i do not think that being unable to read is the cause of your problem. I am working on a nios II project with an 16550 uart. In my device, i am able to open my 16550 uart device correctly and obtain a pointer to a device like structure. Points of attention: - configure / compile QSYS correctly (name of the device) - generate BSP correctly (each and every time you modify qsys) right clikc on bsp project / select NiosII / Generate BSP - rebuild both project bsp and your main project. - if you trace into the source code of the system (start debug in nios ii using te bullet butten left of the run (play button) + F5 step into and F6 step over) at a certain point you will find a series of compares from your device name to the device names available in your qsys system. Here you can see if you have made a typing error or if the lcd device is not available at all. Best Regards, John NIOS II beginner.