UART connections

Discussion in 'UDOO NEO' started by pgarcia, Jul 4, 2016.

  1. pgarcia

    pgarcia New Member

    Joined:
    Jul 2, 2016
    Messages:
    15
    Likes Received:
    2
    Hello all,

    my name is Pedro and I'm working to use the UDOO NEO in a telecomunications system. I must connect the UDOO NEO with another 2 components/systems using serial ports. Also, I must use the debug serial port to manage the system (as auxiliary management). I have the debug serial port working but I have the following problems for the other 2 serial ports:
    Thanks in advance!
     
  2. pgarcia

    pgarcia New Member

    Joined:
    Jul 2, 2016
    Messages:
    15
    Likes Received:
    2
    Hello all,

    I have solved the first of my problems (UART6) applying the patch of the thread 'A9 UART6 and Udoobuntu':
    Code:
    diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
    index b27d3fe..d89c825 100644
    --- a/drivers/tty/serial/imx.c
    +++ b/drivers/tty/serial/imx.c
    @@ -1221,7 +1221,8 @@ static int imx_startup(struct uart_port *port)
    
      /* Can we enable the DMA support? */
      if (is_imx6q_uart(sport) && !uart_console(port)
    -  && !sport->dma_is_inited)
    +  && !sport->dma_is_inited
    +  && !sport->port.flags == UPF_LOW_LATENCY)
      imx_uart_dma_init(sport);
    
      if (sport->dma_is_inited) {
    Is it possible configure another port to be used with the Linux-Ubuntu?
     
    Last edited: Jul 6, 2016
  3. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Andrea Rovai likes this.

Share This Page