Altera_Forum
Honored Contributor
20 years agoaccessing uart
hi guyz...
i am using quartus-V5.0 and NIOSII IDE for my design on UP3kit... i want to access UART and i used the function in HAL library for NIOSII IDE altera_uart_read(alt_fd* fd, char* ptr, int len); but what is this "alt_fd".... i came to know that it is a file descriptor and assigned as................. alt_fd* fd="\dev\uart_0"; my design has a uart also which is appropriately assigned to pins on the board.. but i was not able to read data sent to the UART .... i have sent the data thru the PC by using a c-prog which sends data to COM port continuously.... what is the problem..... plz someone explain me....... byeeeeeeeee