Altera_Forum
Honored Contributor
15 years agoUART application on NEEK
Hi,
I use ocm_mmu_spi from Hippo and I'm able to use the UART for console, or if I use JTAG console, I can print on the UART using "/dev/ttyS0". So UART is working properly. But I would like to use the serial link (RS232) with my NEEK board for another application like control/command and I need to develop a small code in C. I'm a little bit confused (I've read a lot of posts), should I use the generic termios.h and in that case where is the library for the compilation or should I use the one from my linux distribution? Or should I use altuart.c and in that case, is there a small example code available somewhere? Thanks in advance