ConnectCore 6UL SBC Pro UART2 does not work in different baudrates

I wrote a little application that succesfully reads data from UART2 of ConnectCore 6UL SBC Pro (Pin 12 of J29) when data source is sending in 1 MBd bitrate.

When the data source is sending in 5MBd, my app hangs when opening the dev file ( I did not forget the change connection speed in my code). In fact, it seems like the whole SBC hangs: for example I can not stop debugging until I stop the source sending data (SSH connections do not work etc). When I type anything in console, it does not work also. Console just hangs.

What is the maximum baud rate ConnectCore 6UL SBC Pro for UART2 port? Is there any setting that I need to change for receiving higher bit rates?

Hang also occurs when data source is sending in 4 Megabaud.

There is information about the UART2 in the CC6UL BSP manual
https://www.digi.com/resources/documentation/digidocs/embedded/dey/2.6/cc6ul/bsp_r_uart_6ul
Please see the section below,
On the ConnectCore 6UL SBC Pro:
By default, Digi Embedded Yocto assumes the UART routed to the XBee connector is used for connecting an XBee cellular modem.
If you are not using an XBee cellular modem disable this feature by commenting all the entries in the following udev rules file: /lib/udev/rules.d/78-mm-digi-xbee-cellular.rules

1 Like