RM520N-GL 5G for Jetson Nano

From Waveshare Wiki
Jump to: navigation, search
RM520N-GL 5G for Jetson Nano
RM520N-GL-5G.png
SIM8200EA-M2 5G HAT
RM520N-GL2.png
SIM8202G-M2 5G Module
RM520N-GL2.png

Jetson Nano, USB3.1
Jetson Nano 5G/4G/3G/GNSS
{{{name4}}}

{{{name5}}}

Overview

Introduction

  • Standard 40PIN GPIO extension header, supports direct attaching to Jetson Nano.
  • Options for SIM8202G-M2 / RM520N-GL core module, with multi mode multi band support.
  • 5G/4G/3G communication, supports functions like phone calls, SMS, cloud communication, etc.
  • USB 3.1 port for testing AT commands, sending messages, cloud communication, making phone calls, getting GNSS positioning data, etc.
  • SIM card slot supports 1.8V / 3V SIM card.
  • 2x LED indicators, easy to monitor the working status.
  • AT command support, based on 3GPP TS 27.007, 27.005, and V.25TER command set.
  • Onboard audio jack and audio decoder, allow audio operation like making phone calls.
  • Multi-constellation dual-band positioning: GPS, GLONASS, Beidou, Galileo, and QZSS.
  • Operating system support: Windows/Linux/Android.

Selection Guide

5G Sub-6 RM500U-CNV RM500Q-GL 5G HAT RM502Q-AE 5G HAT RM520N-GL RM530N-GL
Picture RM500U-CN-5G-HAT-details-17-1.jpg RM500U-CN-5G-HAT-details-17-3.jpg RM500U-CN-5G-HAT-details-17-5.jpg RM520N-GL-details-2.jpg RM530N-GL-details-2.jpg
5G Standard 3GPP R15 3GPP R16
5G Chip UNISOC Qualcomm
5G Sub-6 GHz Sub-6 GHz & mmWave
Region/Operator China, EMEA, Asia-Pacific except Americas except China Global
Operating Temperature -30°C ~ +75°C
Extension Temperature -40°C ~ +85°C
Module Size 30.0 × 52.0 × 2.3 (mm)
Module Weight 8.8g 8.7g 8.8g
Power Supply 3.3~4.4V, Typ. 3.7V 3.135~4.4V, Typ. 3.7V
Power Consumption 78μA @ shutdown;

5.1mA @ hibernate;
57mA @ USB 2.0, idle;
71mA @ USB 3.0, idle

70μA @ shutdown;

4.0mA @ hibernate;
32mA @ USB 2.0, idle;
54mA @ USB 3.0, idle

80μA @ shutdown;

4.2mA @ hibernate;
39mA @ USB 2.0, idle;
54.5mA @ USB 3.0, idle

195μA @ shutdown;

4.7mA @ hibernate;
41mA @ USB 2.0, idle;
60mA @ USB 3.0, idle

173μA @ shutdown;

5.1mA @ hibernate;
51mA @ USB 2.0, idle;
69mA @ USB 3.0, idle

Frequency Band
5G 5G NR - n257, n258, n260, n261
5G NR NSA n41, n78, n79 n41, n77, n78, n79 n1, n2, n3, n5, n7, n8, n12, n20, n25, n28, n38, n40, n41, n48, n66, n71, n77, n78, n79 n1, n2, n3, n5, n7, n8, n12, n13, n14, n18, n20, n25, n26, n28, n29, n30, n38, n40, n41, n48, n66, n70, n71, n75, n76, n77, n78, n79
5G NR SA n1, n2, n3, n5, n8, n28, n41, n77, n78, n79 n1, n2, n3, n5, n7, n8, n12, n20, n25, n28, n38, n40, n41, n48, n66, n71, n77, n78, n79 n1, n2, n3, n5, n7, n8, n12, n13, n14, n18, n20, n25, n26, n28, n29, n30, n38, n40, n41, n48, n66, n70, n71, n75, n76, n77, n78, n79
LTE LTE-FDD B1, B3, B5, B8 B1, B2, B3, B4, B5, B7, B8, B12, B13, B14, B17, B18, B19, B20, B25, B26, B28, B29, B30, B32, B66, B71
LTE-TDD B34, B38, B39, B40, B41 B34, B38, B39, B40, B41, B42, B43, B48
LAA - B46
UMTS WCDMA B1, B5, B8 B1, B2, B3, B4, B5, B6, B8, B19 B1, B2, B4, B5, B8, B19
GNSS - GPS / GLONASS / BeiDou(Compass) / Galileo / QZSS (only RM520N-GL and RM530N-GL support)
Data Rate
5G mmWave - DL 4.0Gbps;
UL 1.4Gbps
5G SA Sub-6 DL 2Gbps;
UL 1Gbps
DL 2.1Gbps;
UL 900Mbps
DL 4.2Gbps;
UL 450Mbps
DL 2.4Gbps;
UL 900Mbps
5G NSA Sub-6 DL 2.2Gbps;
UL 575Mbps
DL 2.5Gbps;
UL 600/650Mbps
DL 5Gbps;
UL 650Mbps
DL 3.4Gbps;
UL 550Mbps
LTE DL 600Mbps;
UL 150Mbps
DL 1.0Gbps;
UL 200Mbps
DL 2Gbps;
UL 200Mbps
DL 1.6Gbps;
UL 200Mbps
UMTS DL 42.2Mbps;
UL 11Mbps
DL 42Mbps;
UL 5.76Mbps

Onboard Resources

RM520N-GL 5G for Jetson Nano-Onboard.png

Onboard Resources
No. Interfaces Description
1 M.2 Compatible with SIM8200EA-M2, SIM8202G-M2, FM650-CN and RM520N-GL
2 USB 3.1 For connecting to PC or Jetson Nano
3 3.5mm headphone/microphone jack -
4 40IN GPIO header For connecting to Jetson Nano
5 Fan header for 5V cooling fan
6 nano SIM card slot supports 1.8V / 3V SIM card
7 5V 3A power input -
8 Network indicator -
9 Power indicator -
10 Reset -
11 Power switch -
12 Power supply circuit -
13 Audio drive circuit -
14 Power supply selection jumper 5V - SYS: powered by Jetson Nano 40PIN GPIO
5V - USB: powered by external 5V 3A power adapter
15 Module on/off control pin enable jumper PWR - D5: enabled by default, the Jetson Nano D5 pin can be used to turn on/off the module
16 Module reset pin enable jumper RST - D6: enabled by default, Jetson Nano D6 pin can be used to reset the module
17 Audio input/output MIC+/MIC-: for external microphone
SPK+/SPK-: for external speaker
RM500U AT LOG.png
Command Description Return Value
AT AT test command OK
ATE ATE1 sets echo
ATE0 turns off echo
OK
AT+CGMI Query module manufacture OK
AT+CGMM Query module model OK
AT+CGSN Query product serial number OK
AT+CSUB Query module version and chip OK
AT+CGMR Query the firmware version serial number OK
AT+IPR? Set the module hardware serial port baud rate +IPREX:
OK
AT+CFUN=1,1 Reset module OK
AT+QUIMSLOT? Query SIM card selection:
Return 1, select SIM card 1;
Return 2, select SIM card 2
+QUIMSLOT: 1/2
OK
AT+CPIN? Query the status of the SIM card and return READY, indicating that the SIM card can be recognized normally +CPIN: READY
AT+COPS? Query the current operator, the operator information will be returned after normal networking +COPS:
OK
AT+C5GREG? Query 5G network registration status +C5GREG:
OK
AT+QENG="servingcell" Query UE system information
AT+QNWPREFCFG="mode_pref",AUTO Auto Network Mode OK
For more AT commands, please refer to: Quectel_RG50xQ_RM5xxQ_Series_AT_Commands_Manual_V1.2
SSCOM Serial Assistant, software download: SSCOM Serial Assistant

Connecting to Jetson Nano

RM520N-GL 5G HAT is a 5G expansion board designed for Raspberry Pi. You can connect it to Raspberry Pi 4B/3B+/3B or the CM4 board. However, please note that the package includes a metal case that is only compatible with the Raspberry Pi 4B board. In the following sections, we will gradually explore the usage of the RM520N-GL module, covering hardware connections, software setup, 5G network dial-up internet, GNSS positioning, and programming control.

Hardware Connection

Hardware Preparation

  • 5G SIM card x 1 (5G is enabled)
  • RM520N-GL 5G HAT (with case) × 1 (the accessories is shown below)

RM520N-GL 5G-hardware.png

  • Connect the RM520N-GL 5G for Jetson Nano and the host computer with a USB 3.0 dual plug cable or USB 3.0 adapter as shown:

RM520N-GL 5G-hardware2.png

Loading USB Device Descriptors

To identify the module, the VID and PID information of the module needs to be added to the [kernel] file.

  • Check the VID and PID of the RM520N-GL:
lsusb

RM520N-GL 5G for Jetson Nano-USB.png

  • Add VID and PID:
sudo su
sudo modprobe option
sudo sh -c 'echo "2c7c 0801" > /sys/bus/usb-serial/drivers/option1/new_id'
  • Successfully add PID and reboot Jetson Nano, and then USB0-USB4 device descriptors are shown below:
ls /dev/ttyUSB*

5G M.2 TO Gigabit ETH 19.png

RNDIS Dial Networking

  • Enter minicom:
sudo apt-get install minicom
sudo minicom -D /dev/ttyUSB2
  • Send the following commands for RNDIS dial networking in minicom:
AT+CPIN?
AT+QCFG="usbnet",3
AT+CFUN=1,1

5G M.2 TO Gigabit ETH 20.png

  • After resetting the module, the NET indicator is on, and you can use the following commands to check the network status (optional).
AT+QENG="servingcell"
  • Use the following commands to get IP and set DNS:
sudo dhclient -v usb1
sudo apt-get install udhcpc
sudo udhcpc -i usb1
sudo route add -net 0.0.0.0 usb1
  • After dialing, you can see that USB1 gets the IP by the following command:
ip route

5G M.2 TO Gigabit ETH 21.png

 ping -I usb1 www.baidu.com

5G M.2 TO Gigabit ETH 22.png

Connect to Windows

Also, RM520N-GL 5G HAT can be directly connected to the USB 3.0 interface of a Windows PC with a USB 3.0 dual plug cable. In addition, 5V is required for the EXT PWR header for 5G communication. The connection effect is shown below:
RM520N-GL 5G for Jetson Nano-Win.png

The demonstration above doesn't show an external 5V power supply connected. To ensure the 5G module receives sufficient power, it's essential to externally connect a 5V power supply to the EXT PWR header on the HAT and switch to the EXT PWR.

Install Drivers

  • After connecting the 5G HAT to the computer through a USB 3.0 dual plug cable, there will be a series of devices without drivers installed on other devices:

RM500U-driver-manager.png

  • Install Windows-related drivers:
  • Click setup.exe to install the driver. After the installation is complete, the device manager will generate the following devices:

RM500U-driver-finish.png

MBIM Dial-up Networking

RM520N-GL series also can choose MBIM to the network, as shown below:

  • Open RM520N-GL AT port and send the following commands to the dial-up network:
AT+QENG="servingcell"
AT+QCFG="usbnet",2
AT+CFUN=1,1
  • After dialing and rebooting, the phone network card appears in the computer network connection interface, and the dial-up is successful.

RM500U-MIBM.png

Network Speed Test

RM50XQ Network Speed Test
  • Install speed testing software, such as Internet Speed Manager and other speed testing software, you can choose to download the speed test at www.speedtest.cn/pc/download.

About the Speed Testing

As there will be many inconsistencies between actual and laboratory conditions that will result in 5G speeds that are not ideally stable at 100MBPS, there are the following.

  • Base station distance, the closer to the 5G base station the better the signal and the faster the speed.
  • Base station load, the fewer people using it the faster it will be, and the slower it will be during peak commuting periods.
  • Number of base stations: due to the spectrum, an equal amount of 4G coverage requires double the number of 5G base stations.
  • Operator: you need to confirm your 5G card, and whether the speed is limited, you can regularly ask the operator to reset your network.
  • Indoor is worse than outdoor: building penetration attenuation, and indoor bypass attenuation.

PS: The current number of base stations still does not have good coverage, and the speed measurement is not quite the same in different locations.

GNSS Global Positioning

  1. Connect the passive GPS antenna to ANT3 of the module, note that the lettered side is facing down and the antenna is placed in the open outdoor area.
  2. Then use the AT port to send the AT command:
AT+QGPS=1        //Open GPS positioning
AT+QGPSLOC=0     //Get GPS position
AT+QGPS=0        //Close GPS position

RM50XQ-GNSS-01.png
3. Satellite data can be received by enabling the NMEA port to: RM50XQ-GNSS-02.png

GNSS antenna interface, hardware-related instructions, please refer to: Quectel_RM520N series hardware design manual

Resource

Software

Driver

Windows Driver

The Windows driver of the Quectel series module cannot be installed together, for example, the MBIM driver should be uninstalled before installing the RNDIS driver.

Linux Driver

Datasheet

Others

Related Link

FAQ

 Answer:

As the 5G power consumption is relatively high, and the host computer's USB port may not be able to provide it with sufficient power, please refer to the USB dual plug cable to provide the module with sufficient power, as shown in the figure:
RM500-CN-5G-HAT-FAQ.jpg

{{{5}}}


 Answer:

RM500U-CN and RM500Q-GL modules support installing two SIM cards at the same time, and you can enable one SIM card to work with AT commands:

*Select SIM card 1 by default, and check it with the following command:  
 AT+QUIMSLOT?
*Switch it to SIM card 2 with the following command:  
 AT+QUIMSLOT=2
*Switch it to SIM card 1 with the following command:  
 AT+QUIMSLOT=1
*Query whether the corresponding card slot identify the SIM card:  
 AT+CPIN?

Quectel-dual-sim.jpg

  • If the corresponding SIM card can not be identified, it may because the DIP switch has not enable the corresponding module, please make the DIP switch corresponding to C turn on:

RM5XXX-DIP-C.png

{{{5}}}


 Answer:

Quectel/Qualcomm:

AT+QCFG="data_interface"
AT+QCFG="data_interface",0,0       //switch to the default USB mode

Quectel/Spreadtrum:

AT+QCFG="ethernet",1
AT+QCFG="data_interface",1,0 
AT+QCFG="pcie/mode",1
AT+QETH="eth_driver","r8125"

{{{5}}}


 Answer:

Please use the following commands to set it to the stable router mode:

AT+QCFG="nat",1

{{{5}}}


 Answer:
  • Please check whether the SIM card is connected to four antennas.
  • Please check hardware connection is right and check the network with the following AT Log:
AT+CMEE=2
AT+CPIN?
AT+COPS?
AT+QCSQ
AT+QENG="servingcell"
AT+CGDCONT?
AT+QNWPREFCFG="mode_pref"

RM.png

{{{5}}}


 Answer:
  • The following modules that support it after testing:
Fibocom: FM650-CN FM160-EAU	
SIMCOM: SIM8202G-M2 SIM8262E-M2 SIM8262A-M2
Quectel: (AA version) RM500U-CNV RM500Q-GL/RM502Q-AE RM520N-GL RM530N-GL
  • 5G modules are NOT included. If used with other modules and the pin compatibility should be tested.

{{{5}}}


 Answer:

RM500U-CN: based on Spreadtrum platform.
RM500Q-GL: based on Qualcomm platform, supports GNSS positioning, mainly for domestic use.
RM500Q-AE/RM502Q-AE: based on Qualcomm platform, support GNSS positioning, mainly used abroad.

{{{5}}}


 Answer:

It is because the 5G power consumption is high, and the Raspberry Pi is limited in power supply, you can power it with 5V (3A) through Type-C interface.

{{{5}}}


 Answer:

When using the external power supply, the Raspberry Pi reboots and RM500U does not reboot. You can use the command to reboot the RS500U.

{{{5}}}


 Answer:

Use the following command to turn on the echo, and press Enter after entering: (Blind typing is required here):

ATE1

{{{5}}}


 Answer:

It can be inquired at the following website: https://www.frequencycheck.com

{{{5}}}


 Answer:
  • Raspberry PI 2B/zero, the user serial port device number is ttyAMA0;
ls -l /dev/serial*
  • The following command line can be used to confirm that serial0 is the serial port device number selected, as shown in the figure below:

RM500U-CN 5G HAT 9.png

{{{5}}}


 Answer:

The USB power supply capability of the Raspberry Pi is worse than that of the computer. It needs to be connected to an external power supply. Please set the switch to EXT PWR, and connect the HAT interface to a 5V 3A power supply:
RM500U-CN 5G HAT.png

{{{5}}}


 Answer:

There are the following dial types:

AT+QCFG="usbnet",0 driver type is NDIS(QMI));
AT+QCFG="usbnet",1 The driver type is ECM;
AT+QCFG="usbnet",2 The driver type is MBIM; (RM5XXQ support)
AT+QCFG="usbnet",3 The driver type is RNDIS
AT+QCFG="usbnet",5 The driver type is NCM;

{{{5}}}



 Answer:

Please use the following command to enable the Ethernet port to access the network.

AT+GTUSBMODE=36
AT+GTAUTOCONNECT=1

{{{5}}}


 Answer:
  • For ABS modules, you can manually update it with the driver.
  • For Qualcommm modules, you can manually install the driver.
  • Ensure the module is normally on -> Open Device Manager -> Other Devices -> "Corresponding file folder after unzipping the drivers" -> Update the driver demo -> Browse the PC to find the corresponding driver demo files -> Select a path to store the driver file according to your system -> Finish.

{{{5}}}


 Answer:

Jetson Nano series can be supported, the hardware structure is customized for ordinary JETSON-NANO-LITE-DEV-KIT, if you use other Jetson nano version, the adapter needs to be changed to a dual male adapter cable to connect; if it is an orin nano, please use this verified Jetpack 6.0 (Ubuntu) version of the system, some of the validation is not possible, some of them are not suitable for Jetson nano. Ubuntu 22.04), some system drivers are not supported.

{{{5}}}


 Answer:
  • USB TO M.2 B KEY does not include a module by default, you need to add a module before using.
  • For example, after adding SIM8262E-M2 module, it can support Linxu and Windows system devices, if your router is OPenwrt and other Linux systems, it can be supported.
  • Openwrt router configuration steps reference.

{{{5}}}


Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)