This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How do I use the secondary serial port on the 816X EVM?

Hi All,

I would like to use the secondary serial port (J15 on the daughter card) on the 816X EVM, but I am not sure how to talk to it.

The EVM schematic shows that UART0 is used for this serial port (UART2 is used for the Linux console port).

Is support for this serial port built into the kernel by default or do I have to manually enable it?

When I do a "ls" in the /dev folder of the EVM, I see /dev/ttyS0 to /dev/ttyS3.  Which one of these corresponds to J15?

I tried typing "echo test > /dev/ttyS1", but I did not see any activity on the port.

Also, what baud rate is J15 set up for and how would I change it?

I assume I need a NULL cable between J15 on the EVM and the computer I have connected to it?

Paul

  • Ok, got it figured out.

    The J15 serial port corresponds to /dev/ttyO0.

    If I type "echo hello > /dev/ttyO0", I see "hello" on the PC connected to the board.

    My PC is set up for a baud rate of 9600 8-N-1 with no flow control.  I also had to put a NULL adapter between the EVM and my PC.

    Paul