Use UART on Windows 10 LTSC

CirckCirck New Member Posts: 3

Hi everyone,
I'm using Windows 10 Enterprise on UP squared board. My final goal is to use the UART in a .NET application. At the moment I'm doing simple tests to use the UART interfaces using Hercules terminal, but when i try to open the serial port it raise this error: "Error set Event control". Now i can use the uart0 (on the CN7 connector) 'in loop' (connecting tx and rx pins together). Instead, if i try to connect the uart0 to another PC using a USB TTL cable the communication doesn't work properly.
Is there any setting to adjust in order to make it work?
Could it be a driver problem?
Any answer wil be very welcome
Circk

Comments

  • CirckCirck New Member Posts: 3

    Searching on web and testing i think the problem is due to the drivers used for the HSUART. To use this interfaces from Windows Form application, as i needed, the only way i found is to use the Win32 APIs for serial communications importing these using the DLLImport attribute, since the native namespace System.IO.Ports looks not working at all. I hope this could help someone.

Sign In or Register to comment.