Does the NDK only support Ethernet connections? What about the serial port of my DM642 EVM?
The NDK supports the DM642 serial port through the examples provided by its NSP. Please check the directory %NDK_INSTALL_DIR%\packages\ti\ndk\example\serial that contains a Serial Client Project and a Router Project. The Serial Client Project is very similar to the Ethernet version of Client Project. The Router Project is a bridge that links between the Ethernet and the serial ports of the DM642 EVM. The serial device driver source code is provided in the NSP and is configured by default to 115200 8N1 with no handshake. In order to make it work with hardware handshake, please see question 18 below.