Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
769 Views

Nios II Embedded Evaluation Kit -> RS232

Hello! 

 

I have a Nios II Embedded Evaluation Kit and want to use the RS-232 Port. 

Now I started with the SOPC Builder and the Files that are on this page for the LCD Control. 

 

http://www.altera.com/products/devkits/altera/kit-cyc3-embedded.html?f=hp&k=t0&clientid=no&gsa_pos=1... (http://www.altera.com/products/devkits/altera/kit-cyc3-embedded.html?f=hp&k=t0&clientid=no&gsa_pos=1...

 

I worked with the Nios II System Architect Design Tutorial and I have added the uart-rs232. 

Then Generated it. I wired all the pins and added an input output pin for the rs232 with it`s names. Now I wanted to program it in Nios II IDE. But here in the forum some said that you can read and write data to the rs232 Rxd and Txd by typing dev/uart/.. or something. But on the Altera homepage I`ve downloaded the rs232 files with headers and .c files, where other commands are written... 

 

http://www.altera.com/education/univ/materials/ip-cores/unv-ip-cores.html?gsa_pos=4&wt.oss_r=1&wt.os... (http://www.altera.com/education/univ/materials/ip-cores/unv-ip-cores.html?gsa_pos=4&wt.oss_r=1&wt.os...

 

 

Now how can I write or read Bytes to the rs232 Port on Nios II Emb. Ev. Kit?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
52 Views

I think I found it.. 

 

in the system.h after a compilation in Quartus and a build in Nios II Ide al necessary is written 

Thanks for help...:rolleyes: hope this could help somebody ..
Reply