Forum Discussion
Altera_Forum
Honored Contributor
22 years agoUART Help
Was doing well in evaluating the IDE/HAL until now. Hit a brick wall going 100mph. I need some pointers on how to read characters from the UART. I tried the example in the Processor Ref handbook, ...
Altera_Forum
Honored Contributor
22 years agoStill have not been able to get the UART input to work. Printfs work fine. Fopen, fclose, getc cannot be linked. I have enabled all drivers and have set the stdio/err to UART1. Still nothing. Would use the alt_avalon_uart_read if I understood how to init the alt_fd pointer. With the printf so simple, why is the input such a pain? Couldn't we just use scanf? Sounds like a simple answer to me....
Rick