Helllo, I’m having dificulties with UART on Apalis TK1 with embedded linux.
According to this article: http://developer.toradex.com/knowledge-base/uart-(linux)#Apalis_TK1, in /dev directory there should be devices ttyS0, ttyTHS1, ttyTHS2, ttyTHS3. But there are only ttyS0, ttyS1, ttyS2 and ttyS3.
I tried to follow this: http://developer.toradex.com/knowledge-base/uart-(linux)#Configuration
If I try to open("/dev/ttyTHS3", O_RDWR | O_NOCTTY | O_NONBLOCK ); then -1 is returned. Device ttyS3 can be succesfully opened, but applying function tcgetattr() returns -1.
I can access and use only ttyS0.
I’m using linux image Apalis-TK1-Mainline_LXDE-Image_2.7b2-20170410.tar.bz2
Apalis TK1 V1.1
Can you please advice, how can I use UART2, UART3 and UART4?
Thank you very much