Check hardware
-
Power.
Use a 5 V power supply of at least 2 A, preferably the official Raspberry Pi power supply; a supply under 2 A can damage the module or the hardware. The red PWR LED of the HAT is on while the HAT has power.
-
SIM card.
- Check with the SIM provider that the SIM works with the module: the supported region and the frequency bands. Check the module’s supported bands in its specifications.
- Check the SIM socket for damaged pins: with a damaged pin, the SIM is not recognized.
- Check that the micro SIM (3FF) card is inserted the right way round.
-
APN.
- Check that the APN is correct; with a wrong APN the device cannot attach to the network and transfer data. The APN depends on the provider and sometimes on the SIM type: AT&T SIMs, for example, use
m2m.com.attzornxtgenphone. - Check with the SIM provider whether authentication is needed (PAP or CHAP) and its username and password.
- Check that the APN is correct; with a wrong APN the device cannot attach to the network and transfer data. The APN depends on the provider and sometimes on the SIM type: AT&T SIMs, for example, use
-
Antennas.
- Check that each antenna is on the right connector of the module.
- Check that each u.FL connector is snapped firmly onto the module.
Check USB connection
Without any driver, Linux lists the module as a USB device with its vendor ID and product ID:
lsusb
Bus 001 Device 009: ID 2c7c:0125 Quectel Wireless Solutions Co., Ltd. EC25 LTE modem
Bus 001 Device 007: ID 1bc7:1206 Telit Wireless Solutions LE910Cx
Bus 001 Device 014: ID 1bc7:1101 Telit Wireless Solutions Telit ME910
Bus 001 Device 005: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
| Module | Vendor ID | Product ID |
|---|---|---|
| Quectel UC20 | 05c6 | 9003 |
| Quectel EC25 | 2c7c | 0125 |
| Quectel BG96 | 2c7c | 0296 |
| Telit LE910Cx | 1bc7 | 1206 |
| Telit ME910C1-WW | 1bc7 | 1101 |
If the module is not listed, the micro USB cable is not connected or is damaged, or the module is not powered or not seated in the HAT.
Serial ports
When the driver recognizes the module, Linux creates /dev/ttyUSB ports. The driver depends on the module, not on the HAT; the module manufacturers publish driver guides for Linux and Windows.
ls /dev/ttyUSB*
/dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 /dev/ttyUSB3
| Port | Interface (EC25, EG25-G, BG96; USB serial option driver) |
|---|---|
ttyUSB0 | DIAG |
ttyUSB1 | GNSS |
ttyUSB2 | AT commands |
ttyUSB3 | Modem |
/dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 /dev/ttyUSB3 /dev/ttyUSB4
If a port is missing, check the driver with the manufacturer’s guide:
Check UART connection
- Check that the module can use the UART: see USB and UART.
- See Connect cellular module over Raspberry Pi UART.
- Check that the serial port of the Raspberry Pi is enabled and the serial console is disabled: see the Raspberry Pi UART documentation.
Check module with AT commands
Send the commands as described in Send AT commands.
-
Registration.
AT+CREG?andAT+CGREG?return the registration status as+CREG: <mode>,<stat>:Answer Status 0,0Not registered, not searching for an operator 0,1Registered, home network 0,2Not registered, searching for an operator 0,3Registration denied 0,4Unknown 0,5Registered, roaming -
SIM card.
AT+CPIN?returnsREADYwhen the module recognizes the SIM. -
Signal quality.
AT+CSQreturns+CSQ: <rssi>,<ber>:rssi Received signal strength 0-113 dBm or less 1-111 dBm 2to30-109 to -53 dBm, 2 dBm per step 31-51 dBm or more 99Not known or not detectable ber Bit error rate 0Less than 0.2 % 10.2 to 0.4 % 20.4 to 0.8 % 30.8 to 1.6 % 41.6 to 3.2 % 53.2 to 6.4 % 66.4 to 12.8 % 7More than 12.8 % 99Not known or not detectable -
PDP context.
AT+CGDCONT?returns the PDP context the module uses: PDP type (IP, IPV6, PPP), APN, data and header compression. For example:+CGDCONT: 1,"IPV4V6","vzwinternet","",0,0 +CGDCONT: 2,"IP","super","0.0.0.0",0,0
Before you contact support
If these checks do not solve the problem, ask on the Sixfab Community or contact Sixfab support. Describe the steps that cause the problem, what you expected and what happened, and include:
- The problem and the use case.
- The setup: Raspberry Pi model or other host, operating system, HAT, antenna, mini PCIe module, SIM and other peripherals.
- The connection type: PPP, QMI or ECM.
- The logs of the service or script.
- The output of the Linux commands and the answers to the AT commands below.
cat /etc/os-release
uname -a
lsusb
lsusb -t
usb-devices
dmesg | grep tty
ls -l /sys/bus/usb-serial/devices
ls -l /dev/serial/by-id
| Quectel modules | Telit modules |
|---|---|
AT | AT |
ATI | ATI |
AT+QGMR | AT+CGMR |
AT+CPIN? | AT+CPIN? |
AT+CPAS | AT+CPAS |
AT+CFUN? | AT+CFUN? |
AT+COPS? | AT+COPS? |
AT+QCFG="usbnet" | AT#USBCFG? |
AT+QCFG="band" | AT#BND? |
AT+CREG? | AT+CREG? |
AT+CGDCONT? | AT+CGDCONT? |
AT+CSQ | AT+CSQ |
AT+CGATT? | AT+CGATT? |
AT+QCFG="nwscanseq" | AT+GMM |
AT+QCFG="nwscanmode" | AT#SWPKGV |
AT+QCFG="iotopmode" | AT#FWSWITCH? |
AT+QCSQ | AT+CGREG? |
AT+QNWINFO | AT#CGPADDR= |