Forum Discussion

58 Replies

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

    Hi all,

    I didn't exactly found which is the problem and moreover I don't know if it is only due to the high speed I'm using (460800 baud); what I deduced and supposed is that the problem is not the Avalon FIFOed UART (neither 16550 Opencore Uart) component but is how Nios handle interrupt in not edge level sensitive manner (clearly using Internal Interrupt Controller).

    Anyway if somebody is interested I found some tricky to use within interrupt service routine that solved the problem. Feel free to contact me if somebody is interested. :)

    Ciao,

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

    Does anyone have a version of Fifoed_Avalon_Uart that works with Quartus v8.1?

    Yes I know this is a very old version of Quartus, but I need to rebuild a legacy project and have to use Quartus v8.1 in this instance.

    Version 9.0 to 9.3 of the uart only works with Quartus v9.x and upwards.

    Version 1.1 only works with Quartus 6.x and does not have tcl scripts.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi there,

    i have tested the fifoed avalon uart and observed that the start bit and stop bits are longer than actual data bits by one clock period.

    Any comments?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    I'm using the last version of fifoed Avalon UART under Q13.0SP1, and I see the following warning related to it:

    Warning (10858): Verilog HDL warning: object is_parity_error used but never assignedwire is_parity_error

    The warning is clear, I'd like to understand if this wire (is_parity_error) not drived by anyone, and used in one expression, is dangling undrived because it's superfluos, or for some reason should be correctly drived by some logic (that in this case is missing), and so it's a kind of bug that could arise when a parity error happens...

    Any experience?

    Can we safely ignore this warning?

    Best regards

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

    Hi Gianluca,

    I'm sorry but I'm a firmware developer and therefore I have not so much experience about wiring. Anyway, projects which are currently using fifoed avalon uart are working correctly.

    Ciao,

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

    my stupid question :

    in this function : int fifoed_avalon_uart_write (fifoed_avalon_uart_state* sp, const char* ptr, int len, int flags)

    What is values of Flags ?

    Can anybody guide me an example ? (i'm using FIFOed Avalon Uart ver. 9.3)

    Thank you.

    Regards,

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

    --- Quote Start ---

    Hi all,

    I didn't exactly found which is the problem and moreover I don't know if it is only due to the high speed I'm using (460800 baud); what I deduced and supposed is that the problem is not the Avalon FIFOed UART (neither 16550 Opencore Uart) component but is how Nios handle interrupt in not edge level sensitive manner (clearly using Internal Interrupt Controller).

    Anyway if somebody is interested I found some tricky to use within interrupt service routine that solved the problem. Feel free to contact me if somebody is interested. :)

    Ciao,

    Paolo

    --- Quote End ---

    HI

    I have the same problem and would need help to solve it.

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

    Hi

    I'm having an issue with the FIFOed avalon uart. I get it to generate and compile. I have no problems with the altera uart except when I go to higher baud rates like 115.2K. So I'm attempting to use the FIFO-ed uart as a replacement but having no luck with it.