I am trying to send data over UART to ConnectCore 6UL module from my Windows machine. I am using the console port (UART5) on 6UL.
Here is the python code I use on my windows machine to send data:
import serial
comm = serial.Serial(port=“COM3”, baudrate=115200, parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE, bytesize=serial.EIGHTBITS)
alpha = b"abcdefghijklmnopqrstuvwxyz"
comm.write(alpha)
comm.close()
On my 6UL, I simply use the following command to receive all the data from UART:
cat /dev/ttymxc4
Sometimes I receive correctly all the data, but most of the times I lose data partially.
Thanks.