Forum Discussion
Altera_Forum
Honored Contributor
21 years agoYes, you are right.I have finished it. but i find a bug that it seems to be in "static int alt_avalon_uart_tiocmset (alt_avalon_uart_dev* dev, struct termios* term) " function
of the altera_avalon_uart.c . IOWR_ALTERA_AVALON_UART_DIVISOR(dev->base, ((dev->freq/speed) - 1)); the speed should be dev->termios.c_ispeed, i think. because firstly speed = dev->termios.c_ispeed; is the original value. thank you for reply!