Forum Discussion
Altera_Forum
Honored Contributor
10 years agoCreating a terminal to control Nios-II to send commands to SPI slave
To ease testing of slave devices e.g memory devices, ADCs e.t.c is it possible to create an application where one has a terminal window open on PC from which one can write specific words to an SPI sl...
Altera_Forum
Honored Contributor
10 years agoHi, thats possible.
Which Languages are you using? This is a good example code for writing a terminal Program with C#: http://www.codeproject.com/articles/23656/termie-a-simple-rs-terminal You also need a simple program running on the NIOSII. It should parse values from the UART and pass them to the SPI and vice versa. For the most devices it should be done easy. Maybe for some devices you have to take care about timing. Greets Olaf