Good morning, when designing a custom board with the SC20100 the pinout describes pins 55 and 56 are labeled as UART3 TX/RX which is what I wanted. However, when writing firmware for it I found in the TinyCLR library that it is Usart, I have not used a Usart before and am curious if any extra setup is required to ignore the synchronize functionality (not needed).
Here is my code setting it up:
UartController myUart = UartController.FromName(SC20100.UartPort.Usart3);
UartSetting uartSettings = new UartSetting()
{
BaudRate = 38400,
DataBits = 8,
Parity = UartParity.None,
StopBits = UartStopBitCount.One,
Handshaking = UartHandshake.None,
};
myUart.SetActiveSettings(uartSettings);
myUart.Enable();
Do I need to add any other arguments to make this work correctly?