当前位置:网站首页>5g communication test manual based on Ti am5728 + artix-7 FPGA development board (dsp+arm)
5g communication test manual based on Ti am5728 + artix-7 FPGA development board (dsp+arm)
2022-06-11 19:02:00 【Tronlong】
front said
This article is mainly based on our company TL5728F-EVM Evaluation board + Move away RM500Q 5G Module demonstration 5G The function of the network .
This guidance document is applicable to the development environment :
Windows development environment :Windows 7 64bit、Windows 10 64bit
Linux development environment :Ubuntu14.04.3 64bit
virtual machine :VMware15.1.0
U-Boot:U-Boot-2017.01
Kernel:Linux-4.9.65、Linux-RT-4.9.65
Linux Processor SDK:ti-processor-sdk-linux-rt-am57xx-evm-04.03.00.05
Hardware device :5G modular ( Move away RM500Q)、SIM card (5G telecom )
Chuang long technology TL5728F-EVM It's based on TI Sitara series AM5728( Dual core ARM Cortex-A15 + Floating point dual core DSP C66x) + Xilinx Artix-7 FPGA High end heterogeneous multi-core evaluation board for processor design , It consists of core plate and evaluation base plate .AM5728 And Artix-7 Inside the core board through GPMC、I2C Communication bus connection , Pass the evaluation board PCIe Communication bus connection .


The core board has been professionally PCB Layout And high and low temperature tests to verify , Stable and reliable , It can meet various industrial application environments . Evaluation board interface resources are rich , Lead out dual Gigabit network port 、 dual SFP Smooth mouth 、USB 3.0、CAN、RS485、SATA、HDMI、GPMC、FMC Such as the interface , It is convenient for users to quickly carry out product scheme evaluation and technology pre research . Typical applications : Motion control 、 Test measurement 、 Machine vision 、 Smart power 、 Video tracking 、 Positioning navigation .
Case function
This case is located in the product data “4- Software data \Demo\tl-linux-application\module-demos\” Under the table of contents , The directory structure is shown in the following table :
surface 1
Catalog | describe |
bin | Store program executable files |
driver | Store driver files and driver source code |
src | Stored program source code |
tool | Deposit Python Scripting tools |
The case includes 4 A test program and 1 individual Python Script , The following functions are realized respectively :
- quectel-CM: Realize network function . Move away from the official automatic dial-up Internet program , Through to GobiNet Drive generated "/dev/qcqmiX" The device node operates , It can automatically set network connection parameters 、 obtain IP and DNS etc. , If you need to use the Internet function continuously , Keep the program running in the background .
- rm500q_phone_call: Realize voice call function .
- rm500q_send_sms: Realize the function of sending SMS .
- rm500q_get_location: Realize the function of obtaining longitude and latitude .
- speedtest.py: be based on Python Developed script program , Take advantage of speedtest.net To measure the uplink and downlink broadband , List the distance from the server room according to the physical speed measurement . It can also measure the speed of a server , Generate a URL Used to share speed measurement results .
Case test
Please put 5G modular ( Move away RM500Q) Antenna interface on ANT0、ANT1 and ANT3 Connect 5G The antenna ,ANT2_GNSSL Connect GPS The antenna , take 5G Module installation to M.2 turn USB Adapter plate . The evaluation board is not connected to the network cable , Use USB turn Type-C The data cable is connected to the... Of the evaluation board USB1 DRD 3.0 Interface and M.2 turn USB Of adapter plate USB Type-C Interface .

chart 1

chart 2 5G( Move away RM500Q) modular
Before use, please 5G Insert a functional... Into the module SIM card , Make sure 5G Antennas and GPS The antenna (GPS The words face up ) Installed properly , And then GPS The antenna is placed in an open place ( Indoor test GPS The function may cause the longitude and latitude acquisition to fail ).
Take this case bin Program executable in directory 、"driver/image/" Drive image file in directory 、tool Copy the script in the directory to the evaluation board file system . In the directory where the drive image file is located , Execute the following command to load the driver , After loading, it will generate usbX Network device node , as well as "/dev/qcqmiX" Device node .
Target# modprobe usbnet
Target# insmod GobiNet.ko

chart 3
Execute the following command to shut down other network device nodes , query-generated usbX Network device node .
Target# ifconfig eth0 down
Target# ifconfig eth1 down
Target# ifconfig

chart 4
Network function test
Execute the following command , Run the Internet dial-up program provided by the official mobile phone , And run it in the background .
Target# ./quectel-CM &

chart 5
Network function test
After dialing successfully , Execute the following command to test the network communication function .
Target# ping www.baidu.com

chart 6
If you need to exit the Internet function , Please execute the following command .
Target# killall quectel-CM

chart 7
Network bandwidth performance test
Ensure that the Internet dial-up program is running in the background , adopt speedtest.py Script to test . Description of script usage :
- Test Download and upload speed , No parameters required , Carry out orders :./speedtest.py
- Test the speed of upload and download ( In bytes ), Carry out orders :./speedtest.py --bytes
- Only required Ping, Get the results of upload and download , Carry out orders :./speedtest.py --simple
- List speedtest.net The physical distance between all servers and the host , The unit is kilometer (km), Carry out orders :./speedtest.py --list
- Measure the speed of the specified server ( Use "./speedtest.py --list" Command to get the server ID), Carry out orders :./speedtest.py --server [server ID]
5G Mode test rate
In the directory where the script is located , Execute the following command , To test .
Target# ./speedtest.py

chart 8
It can be seen from the above figure , The downlink rate is 118.77Mbit/s, The uplink rate is 91.23Mbit/s, The real time Ping by 25.236ms.
remarks :5G The signal bandwidth is related to the signal coverage location , The test data are for reference only .
4G Mode test rate
take 5G The module retains only any 1 root 5G Antenna connection , That is to say 4G Pattern , During this test, only ANT0 The antenna . In the directory where the script is located , Execute the following command , To test .
Target# ./speedtest.py

chart 9
It can be seen from the above figure , The downlink rate is 57.78Mbit/s, The uplink rate is 40.85Mbit/s, The real time Ping by 106.935ms.
If used speedtest.py The script appears "ERROR: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>" error , Please add the following content to the script :
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
SMS function test
The test command :./rm500q_send_sms <device> <phonenumber> <text>
Command specification :<device> For device nodes , With "ls /dev/ttyUSB*" The result of command view shall prevail , After restarting the evaluation board, it may change .<phonenumber> Target mobile phone number for sending SMS .<text> Send content for SMS , There must be no space between the characters in the text message , Otherwise, the error will be prompted .
Program description : Set SMS sending mode , And send SMS content .
Enter the evaluation board file system , stay rm500q_send_sms Execute the following command under the path where the file is located to test whether the SMS function is normal .
Target# ./rm500q_send_sms /dev/ttyUSB2 131******** www.tronlong.com

chart 10

chart 11
Voice call function test
The test command :./rm500q_phone_call <device> <phonenumber>
Command specification :<device> For device nodes , With "ls /dev/ttyUSB*" The result of command view shall prevail , After restarting the evaluation board, it may change .<phonenumber> To dial the target mobile number .
Program description : Test the voice call function .
Enter the evaluation board file system , stay rm500q_phone_call Execute the following command under the path where the file is located to test whether the voice call function is normal .
Target# ./rm500q_phone_call /dev/ttyUSB2 131********

chart 12

chart 13
Get latitude and longitude function test
The test command :./rm500q_get_location <device> <timeout>
Command specification :<device> For device nodes , With "ls /dev/ttyUSB*" The result of command view shall prevail , After restarting the evaluation board, it may change .<timeout> Is the time to wait for the return of longitude and latitude information ( The unit is in seconds ).
Program description : adopt GPS The antenna obtains longitude and latitude information , And print the results .
Enter the evaluation board file system , stay rm500q_get_location Execute the following command test under the path where the file is located GPS Whether the positioning function is normal .
Target# ./rm500q_get_location /dev/ttyUSB2 1

chart 14
Here's the picture , If the longitude and latitude information acquisition fails 、 Overtime , Please check whether the antenna is connected properly , And ensure that the test is conducted in an outdoor open space .

chart 15
Case compilation
Drive compilation
The case driver The driver source code under the directory GobiNet Copy to Ubuntu Working directory , Execute the following command to specify the cross compilation tool and compile .
Host# export PATH=/home/tronlong/ti-processor-sdk-linux-rt-am57xx-evm-04.03.00.05/linux-devkit/sysroots/x86_64-arago-linux/usr/bin:$PATH
Host# make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- KDIR=/home/tronlong/AM57x/Kernel/Linux-4.9.65
remarks :"/home/tronlong/AM57x/Kernel/Linux-4.9.65" by Linux Kernel source path , And you need to compile the kernel first .

chart 16
Compile the complete , Generate driver in current directory GobiNet.ko.
Program compilation
Put the case in the directory src Copy the program source code to Ubuntu Working directory , Execute the following command to load SDK Environment and compile .
Host# source /home/tronlong/ti-processor-sdk-linux-rt-am57xx-evm-04.03.00.05/linux-devkit/environment-setup
Host# make

chart 17
Compile the complete , Generate the test program executable in the current directory .
Key code description
rm500q_send_sms.c
Open and set the serial port .

chart 18
Set text mode .

chart 19
Send a text message .

chart 20
rm500q_phone_call.c
Open and initialize the serial port .

chart 21
Send voice call command .

chart 22
rm500q_get_location.c
Open and set the serial port .

chart 23
Inquire about GPS Function on or off .

chart 24
Turn on GPS function .

chart 25
If GPS Function is on , Shut down first GPS To clear the location data , And open GPS.

chart 26
Obtain longitude and latitude information and print .

chart 27
边栏推荐
- 北京邮电大学2023级工商管理硕士MBA(非全日制)已开启
- 【Multisim仿真】利用运算放大器产生锯齿波
- Niu Ke's questions -- two sorting methods
- Cool visualization tool: first introduction to processing
- 使用图像处理技术和卷积神经网络(CNN)的作物病害检测
- Cf:d. black and white stripe
- Friendly tanks fire bullets
- Kubernetes binary installation (v1.20.15) (VIII) deploying network plug-ins
- 一款自适应的聊天网站-匿名在线聊天室PHP源码
- Replace the backbone of target detection (take the fast RCNN as an example)
猜你喜欢
2022成年礼,致每一位高考学子

视觉SLAM十四讲笔记-10-1

On the translation of rich text storage database format
![Cf:e. price maximization [sort + take mod + double pointer + pair]](/img/a0/410f06fa234739a9654517485ce7a3.png)
Cf:e. price maximization [sort + take mod + double pointer + pair]

cf:F. Shifting String【字符串按指定顺序重排 + 分组成环(切割联通分量) + 各组最小相同移动周期 + 最小公倍数】

【图像去噪】基于马尔可夫随机场实现图像去噪附matlab代码

Niu Ke's questions -- two sorting methods

《经济学人》:WTO MC12重启 数字经济成为全球经济复苏和增长的核心引擎

疫情下远程办公沟通心得|社区征文
![[Multisim Simulation] generate square wave and triangular wave generators by operational amplifier](/img/44/11a6a78877e8eebcae495871af8cb5.png)
[Multisim Simulation] generate square wave and triangular wave generators by operational amplifier
随机推荐
leetcode:剑指 Offer 56 - II. 数组中数字出现的次数 II【简单排序】
About my experience of "binary deployment kubernetes cluster"
Niu Ke's questions -- binary search tree and bidirectional linked list
【信号去噪】基于非线性滤波器实现语音自适应去噪附matlab代码
Today's sleep quality record is 60 points
User group actions
Balanced search binary tree -- AVL tree
用户信息管理的功能开发
Replace the backbone of target detection (take the fast RCNN as an example)
uni-app 慕客热搜项目实战(一)tabBar的制作
Niuke brush questions part8
Overall process of software development
開發中必備的文件的上傳與下載
Experience of remote office communication under epidemic situation | community essay solicitation
Visual slam lecture notes-10-1
7-3 combinatorial problems (*)
On the sequence traversal of binary tree
如何在 SAP BTP 上 手动执行 workflow
Pymysql uses cursor operation database method to encapsulate!!!
[image denoising] impulse noise image denoising based on absolute difference median filter, weighted median filter and improved weighted median filter with matlab code attached