Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:add-ons:5g-module-usage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:common:add-ons:5g-module-usage [2022/09/29 09:37]
nick
products:sbc:common:add-ons:5g-module-usage [2026/06/20 02:17] (current)
nick
Line 3: Line 3:
 ===== Introduction ===== ===== Introduction =====
  
-This page will introduce the use of RM500Q 5G module.You will learn how to use the 5G module on Khadas SBC.+This page will introduce the usage of [[https://www.khadas.com/product-page/5g-nr-module | RM500Q 5G NR module]].You will learn how to use the 5G module on Khadas SBC. 
 + 
 +<WRAP tip > 
 +AT command node is ''/dev/ttyUSB2''
 +</WRAP> 
  
 ===== Preparation ===== ===== Preparation =====
  
   * Disconnect the Khadas SBC power port cable.   * Disconnect the Khadas SBC power port cable.
-  * Insert the 5G module board into the M.2 slot+  * Insert the 5G module board into the M.2 slot on [[https://www.khadas.com/product-page/m2x-wwan-extension | M2X WWAN Extension]] board. 
 +  * Insert the M2X WWAN Extension board into the SBC.
   * Insert a valid ''Nano SIM'' card on the 5G module.   * Insert a valid ''Nano SIM'' card on the 5G module.
 +
 +=== Setup 5G Module ===
 +
 +Setting to ''pcie'' mode.
 +
 +```shell
 +echo -e "AT+qcfg=\"data_interface\",1,0\r\n" > /dev/ttyUSB2 
 +```
 +
 +5G module needs power down and restart to switch mode. Unplug your SBC and plug again. 5G module now works in ''pcie'' mode.
 +
 +<WRAP info >
 +How to restore your 5G module to usb mode?
 +
 +```
 +echo -e "AT+qcfg=\"data_interface\",0,0\r\n" > /dev/ttyUSB2 
 +```
 +
 +Unplug your SBC and plug again to switch back to usb mode.
 +</WRAP>
  
 ===== Linux ===== ===== Linux =====
  
 +==== Upgrade System ====
 +
 +You need to [[products:sbc:common:configurations:upgrade-system|]] to latest version.
 +
 +=== Enable PCIe Port (VIM3 Only) ===
 +
 +<WRAP important >
 +If you use the VIM3 board, you need to enable the PCIe function.
 +</WRAP>
 +
 +
 +Khadas VIM3 PCIe/USB3.0 share one data port,and the default mode is USB 3.0.So when we need to use 5G module, we need to switch it to PCIe port.
 +
 +```shell
 +$ echo 1 > /sys/class/mcu/usb_pcie_switch_mode
 +$ sudo reboot
 +```
 +''Reboot'' the system to bring changes into effect.
  
 ==== Disable ModemManager ==== ==== Disable ModemManager ====
Line 89: Line 133:
 ===== Andoid ===== ===== Andoid =====
  
 +It will support automaticly.
  
Last modified: 2022/09/29 09:37 by nick