Main Site Documentation

Raptor.UartPort.Socket## accesses wrong socket


#1

The release software version appears to misidentify UART sockets:
Socket1 UART port is accessed using FEZRaptor.UartPort.Socket12,
Socket4 UART port is accessed using FEZRaptor.UartPort.Socket10
Socket11 is correct,
Socket10 UART port isn’t accessed by the software,
FEZRaptor.UartPort.Socket1 doesn’t access any UART port.


#2

Just to be sure, can you post your code here please?


#3

This is the test segment that works when I’m plugged into socket 4:
UartController_Speech = UartController.FromName(GHIElectronics.TinyCLR.Pins.FEZRaptor.UartPort.Socket10);
UartController_Speech.SetActiveSettings(_const_int_SpeechBaudRate, 8, UartParity.None, UartStopBitCount.One, UartHandshake.None);
UartController_Speech.Enable();
string_SpeechBuffer = “S” + “I’m sorry dave, I can’t do that.” + “\r\n”;
UartController_Speech.Write(UTF8Encoding.UTF8.GetBytes(string_SpeechBuffer));


#4

We were able to reproduce the issue. We’ll take a look for the next release.


#5

Thanks for the quick response.