一、Introduction

Product introduction

EC20

_images/ec20.png

This module does not support voice calls and SMS, if you need support, please contact business sales@t-firefly.com

Shipping list

PCIE interface

_images/ec20_shop_list_pcie_en.png

USB interface

_images/ec20_shop_list_usb_en.png

Detailed parameters

Model EC20 R2.1 Mini PCIe
Working frequency band TDD-LTE: B38/B39/B40/B41
FDD-LTE: B1/B3/B8
WCDMA: B1/B8
TD-SCDMA: B34/B39
GSM: 900/1800 MHz
Data transmission TDD-LTE: Max 130Mbps (DL) Max 35Mbps (UL)
FDD-LTE: Max 150Mbps (DL) Max 50Mbps (UL)
DC-HSPA+: Max 42Mbps (DL) Max 5.76Mbps (UL)
UMTS: Max 384Kbps (DL) Max 384Kbps (UL)
TD-SCDMA: Max 4.2Mbps (DL) Max 2.2Mbps (UL)
CDMA: Max 3.1Mbps (DL) Max 1.8Mbps (UL)
EDGE: Max 236.8Kbps (DL) Max 236.8Kbps (UL)
GPRS: Max 85.6Kbps (DL) Max 85.6Kbps (UL)
Interface connector USB: USB 2.0 high-speed interface, 480Mbps
digital voice: 1 digital voice interface (optional))
USIM: 1.8/3.3V
network indicator: ×2, NET_STATUS and NET_MODE
UART: x1 UART
reset: low level
PWRKEY: low level
antenna interface: 3 (main antenna, diversity antenna and GNSS antenna interface)
ADC: x2
Structure size 51.0mm x 30.0mm x 4.9mm
Weight about 10.5 g
Certification: CCC/NA*/TA

二、Usage

Hardware connection

Module connection

USB connection

_images/ec20_usb.png

SIM insertion

_images/ec20_sim.png

三、Firmware and Resource download

Related documents and firmware download, see the official website Resource Download

四、Tutorial

Compile the firmware

PX30 platform

System Board
Android8.1 AIO-PX30-JD4
Ubuntu AIO-PX30-JD4
Buildroot AIO-PX30-JD4

RK3128 platform

System Board
Android5.1 Firefly-RK3128, AIO-3128C

RK3288 platform

System Board
Android5.1 Firefly-RK3288, AIO-3288J, AIO-3288C
Ubuntu Firefly-RK3288, AIO-3288J, AIO-3288C
Buildroot Firefly-RK3288, AIO-3288J, AIO-3288C

RK3308 platform

System Board
Buildroot ROC-RK3308-CC, ROC-RK3308B-CC-PLUS

RK3328 platform

System Board
Android7.1 ROC-RK3328-CC
Android8.1 ROC-RK3328-CC
Android10.0 ROC-RK3328-PC
Ubuntu ROC-RK3328-CC, ROC-RK3328-PC

RK3399Pro platform

System Board
Android9.0 AIO-3399Pro-JD4, AIO-3399ProC
Ubuntu AIO-3399Pro-JD4, AIO-3399ProC

RK3566 platform

System Board
Android11.0 AIO-3566JD4, ROC-RK3566-PC
Ubuntu AIO-3566JD4, ROC-RK3566-PC
Buildroot AIO-3566JD4, ROC-RK3566-PC

RK3568 platform

System Board
Android11.0 AIO-3568J, ROC-RK3568-PC, ROC-RK3568-PC SE
Ubuntu AIO-3568J, ROC-RK3568-PC
Buildroot AIO-3568J, ROC-RK3568-PC

RV1126_RV1109 platform

System Board
Buildroot AIO-1126-JD4, AIO-1109-JD4, CAM-C1126S2U, CAM-C1109S2U

EC20 GNSS Function(optional)

EC20 module supports wireless network data communication, including GNSS and without GNSS:

  • Suffix SNNS: not support GNSS

  • Suffix SGNS: support GNSS

GNSS is supported by public firmware, but disabled by default

Parameters

EC20 module supports GPS, GLONASS, GALILEO and BEIDOU, and is compatible with standard NMEA 0183 protocol. It can output NMEA information of 1Hz frequency through USB NMEA interface. The default output serial port is /dev/ttyUSB1 and baud rate is 115200 bit/s.

Antenna Requirements

Parameter
Frequency range 1559MHz~1609MHz
Polarization RHCP or Linear
VSWR < 2(Typical)
Active antenna noise figure < 1.5dB
Active antenna gain > 0dB
LNA gain embedded in active antenna < 17dB

How to enable GPS and modify serial port Configuration

Android Temporary modification method

  • Enable ADB, and how to enable ADB, please refer to wiki tutorial ADB Use

  • Set system readable and writable

    adb shell setprop persist.sys.root_access 3
    adb root && adb remount
    
  • Modify Parameters

    • Enabled GPS:Modify the parameter ro.factory.hasGPS in /vendor/build.prop on the machine to true to enable GPS. It will take effect after soft restarting the machine.

    • Modify serial port configuration: change SERIAL_DEVICE and SERIAL_BAUD_RATE in /system/etc/u-blox.conf to /dev/ttyusb1 and 115200 respectively. It takes effect after soft restarting the machine.

Android Code modification method

  • Enabled GPS

    • Modify the BOARD_HAS_GPS in the SDK directory device/rockchip/{CPU}/{PRODUCT}/{PRODUCT}.mk to true to enable GPS function. Then, recompile the SDK and upgrad the firmware to take effect.

  • Modify serial port configuration (serial port node or baud rate)

    • Set SERIAL_DEVICE in device/rockchip/{CPU}/{PRODUCT}/GPS/u-blox.conf to /dev/ttyUSB1. SERIAL_BAUD_RATE is changed to 115200. Then, recompile the SDK and upgrad the firmware to take effect.