Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

nios 1 to nios 2...

sorry guys,

but how do i write this (originally in nios)

while((c = nr_uart_rxchar(nasys_printf_uart)) == -1); 

to write in Nios2..?

Thanks..

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Posting your topic in every section of the forum is annoying. You only have to post it once and we'll all see it. Please only post your topics once from now on?

    Here is the link to the document for the newer UART

    http://www.altera.com/literature/hb/nios2/n2cpu_nii51010.pdf

    Refer to the "Software Programming Model" section on how to interact with the UART in NIOS2.

    Jake