Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12692 Discussions

Simple, Custom, PIO, on Nios II

Altera_Forum
Honored Contributor II
1,028 Views

Hi, I'm new to FPGAs and the Nios II soft processor core. I am trying to build a system with a button pad and LCD and I am having trouble accessing the user definable I/O pins. I have written some code using the Altera Avalon macros that allow me to write various commands onto 8 parallel pins. I have tested and verified them on the built in LEDs using PIO_LED_BASE as the address to write to. My problem is that I cant figure out how to write to 8 pins that I have my LCD connected too. Basically I want to replace PIO_LED_BASE with my own address. But I cant figure out how to find/assign an address to the user definable I/O pins. 

 

Thanks, 

Sean
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
348 Views
0 Kudos
Reply