Base HAT troubleshooting

Checks for the Base HAT: power, SIM, APN, antennas, the USB and UART connections and the module’s status over AT commands, and what to send to support.

Check hardware

  1. 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.

  2. 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.
  3. 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.attz or nxtgenphone.
    • Check with the SIM provider whether authentication is needed (PAP or CHAP) and its username and password.
  4. 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
ModuleVendor IDProduct ID
Quectel UC2005c69003
Quectel EC252c7c0125
Quectel BG962c7c0296
Telit LE910Cx1bc71206
Telit ME910C1-WW1bc71101

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*

If a port is missing, check the driver with the manufacturer’s guide:

Check UART connection

Check module with AT commands

Send the commands as described in Send AT commands.

  1. Registration.

    AT+CREG? and AT+CGREG? return the registration status as +CREG: <mode>,<stat>:

    AnswerStatus
    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
  2. SIM card.

    AT+CPIN? returns READY when the module recognizes the SIM.

  3. Signal quality.

    AT+CSQ returns +CSQ: <rssi>,<ber>:

    rssiReceived signal strength
    0-113 dBm or less
    1-111 dBm
    2 to 30-109 to -53 dBm, 2 dBm per step
    31-51 dBm or more
    99Not known or not detectable
    berBit 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
  4. 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 modulesTelit modules
ATAT
ATIATI
AT+QGMRAT+CGMR
AT+CPIN?AT+CPIN?
AT+CPASAT+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+CSQAT+CSQ
AT+CGATT?AT+CGATT?
AT+QCFG="nwscanseq"AT+GMM
AT+QCFG="nwscanmode"AT#SWPKGV
AT+QCFG="iotopmode"AT#FWSWITCH?
AT+QCSQAT+CGREG?
AT+QNWINFOAT#CGPADDR=

AT command manuals