FX30S CTS Serial signal not working in latest version

Hi all,

I recently received new FX30S (part number: 1105032) and I’m having problems with the CTS signal.

I’m using the UART1 in Application mode (AT!MAPUART=17,1)

The previous FX30S version I have work fine, but on the new one the CTS signal stays low.

Here’s the version I’m working with:

ati
Manufacturer: Sierra Wireless, Incorporated
Model: FX30S(WP7702)
Revision: SWI9X06Y_02.36.08.09 c094f4 jenkins 2022/06/24 03:14:28
IMEI: 354723090951848
IMEI SV: 8
FSN: AT325475950110
+GCAP: +CGSM

ati8
Legato Ver: 21.05.0.54b96444_0a6e18078edde5151619cb964564694d
Yocto Ver: SWI9X06Y_03.00.13.00 2022-12-28_08:23:43
OS Ver: Linux version 4.14.253 (oe-user@oe-host) ( gcc version 9.3.0 (GCC), GNU ld (GNU Binutils) 2.34.0.20200220) #1 PREEMPT Wed Dec 28 07:40:21 U TC 2022
LK Ver: 1.3.0_1aea4d8ec8
RootFS Ver: SWI9X06Y_03.00.13.00 2022-12-28_08:23:43
UserFS Ver: unknown
MCU Ver: 002.015

Here’s my code where I configure the UART1

int OpenPort(const char* port)
{
LE_INFO(“OpenPort: Opening serial %s”, port);
int fd=open(port, O_RDWR | O_NOCTTY | O_NDELAY);
if(fd==-1)
{
LE_INFO(“Error opening serial port %s… exiting”, port);
exit(-1);
}
fcntl(fd, F_SETFL, 0); /* Reads will be blocking /
struct termios options;
tcgetattr(fd, &options);
(void)cfsetispeed(&options, B38400); /
(void) is to stop warning in cygwin /
(void)cfsetospeed(&options, B38400);
options.c_cflag |= CRTSCTS; /
HW flow control on /
options.c_cflag &= ~CSIZE;
options.c_cflag |= CS8; /
8 bits /
options.c_cflag &= ~CSTOPB; /
1 stop bit /
options.c_cflag &= ~PARENB; /
no parity /
options.c_cflag &= ~PARODD;
options.c_lflag =0; /
RAW input /
options.c_iflag = 0; /
SW flow control off, no parity checks etc /
options.c_oflag &= ~OPOST; /
RAW output /
options.c_cc[VTIME]=1; /
.5 sec */
options.c_cc[VMIN]=200;
options.c_cflag |= (CLOCAL | CREAD);
tcsetattr(fd, TCSAFLUSH, &options);
return fd;
}

Like I mentioned, this works fine on the older FX30S (PN:1104087), but not on the new ones I got.
Any thoughts?

Any help is appreciated! Thanks!

Eddie

Are you using same FW among OK SKU and NOK SKU?

Is it Ok to do UART1 data transfer in SKU 1105032?

Are you able to control the CTS pin by ioctl() in OK SKU and NOK SKU?

You can refer to this application (function tmrHandler() ) to control CTS pin: