SIM7600 Series_Open Linux
UART&SPI_Application
Note
LTE Module
SIMCom Wireless Solutions Limited
Building B, SIM Technology Building, No.633, Jinzhong Road
Changning District, Shanghai P.R. China
Tel: 86-21-31575100
support@simcom.com
www.simcom.com
SIM7600 Series_Open Linux UART&SPI_Application Note_V2.00
SIM7600 Series_Open Linux UART&SPI_Application Note
2.00
2020.8.6
Released
Document Title:
Version:
Date:
Status:
GENERAL NOTES
SIMCOM OFFERS THIS INFORMATION AS A SERVICE TO ITS CUSTOMERS, TO SUPPORT
APPLICATION AND ENGINEERING EFFORTS THAT USE THE PRODUCTS DESIGNED BY SIMCOM.
THE INFORMATION PROVIDED IS BASED UPON REQUIREMENTS SPECIFICALLY PROVIDED TO
SIMCOM BY THE CUSTOMERS. SIMCOM HAS NOT UNDERTAKEN ANY INDEPENDENT SEARCH
FOR ADDITIONAL RELEVANT INFORMATION, INCLUDING ANY INFORMATION THAT MAY BE IN THE
CUSTOMER’S POSSESSION. FURTHERMORE, SYSTEM VALIDATION OF THIS PRODUCT
DESIGNED BY SIMCOM WITHIN A LARGER ELECTRONIC SYSTEM REMAINS THE RESPONSIBILITY
OF THE CUSTOMER OR THE CUSTOMER’S SYSTEM INTEGRATOR. ALL SPECIFICATIONS
SUPPLIED HEREIN ARE SUBJECT TO CHANGE.
COPYRIGHT
THIS DOCUMENT CONTAINS PROPRIETARY TECHNICAL INFORMATION WHICH IS THE PROPERTY
OF SIMCOM WIRELESS SOLUTIONS LIMITED COPYING, TO OTHERS AND USING THIS DOCUMENT,
ARE FORBIDDEN WITHOUT EXPRESS AUTHORITY BY SIMCOM. OFFENDERS ARE LIABLE TO THE
PAYMENT OF INDEMNIFICATIONS. ALL RIGHTS RESERVED BY SIMCOM IN THE PROPRIETARY
TECHNICAL INFORMATION ,INCLUDING BUT NOT LIMITED TO REGISTRATION GRANTING OF A
PATENT , A UTILITY MODEL OR DESIGN. ALL SPECIFICATION SUPPLIED HEREIN ARE SUBJECT TO
CHANGE WITHOUT NOTICE AT ANY TIME.
SIMCom Wireless Solutions Limited
Building B, SIM Technology Building, No.633 Jinzhong Road, Changning District, Shanghai P.R.China
Tel: +86 21 31575100
Email: simcom@simcom.com
For more information, please visit:
https://www.simcom.com/download/list-863-en.html
For technical support, or to report documentation errors, please visit:
https://www.simcom.com/ask/ or email to: support@simcom.com
Copyright © 2020 SIMCom Wireless Solutions Limited All Rights Reserved.
www.simcom.com
2 / 17
SIM7600 Series_Open Linux UART&SPI_Application Note_V2.00
About Document
Version History
Version
V2.00
Date
2020.8.6
Owner
Zhichong Huang
What is new
Update document format
www.simcom.com
3 / 17
SIM7600 Series_Open Linux UART&SPI_Application Note_V2.00
Contents
About Document............................................................................................................ 3
Version History.........................................................................................................................................................3
Scope...................................................................................................................................... 错误!未定义书签。
Contents........................................................................................................................... 4
1.
2.
3.
2.1
3.1
3.2
Document Overview........................................................................................5
Hardware interface.......................................................................................... 6
Description of related PIN.........................................................................................................................6
3.1.1
3.1.2
3.1.3
UART................................................................................................................... 7
High speed UART...................................................................................................................................... 7
PIN6-9 Configure high speed UART..........................................................................................7
PIN6-9 Configures BT...................................................................................................................9
PIN66-71 configures high speed UART.................................................................................. 10
Low speed UART..................................................................................................................................... 11
PIN7,8 configures low speed UART.........................................................................................11
PIN68,71 configures low speed UART....................................................................................13
3.2.1
3.2.2
4.
SPI........................................................................................................................14
PIN6-9 configures SPI.............................................................................................................................14
PIN66-71 configures SPI........................................................................................................................ 17
4.1
4.2
www.simcom.com
4 / 17
SIM7600 Series_Open Linux UART&SPI_Application Note_V2.00
1. Document Overview
This document explains the compilation and configuration of the module's UART interface and SPI
interface.
www.simcom.com
5 / 17
SIM7600 Series_Open Linux UART&SPI_Application Note_V2.00
2. Hardware interface
2.1 Description of related PIN
PIN No.
PIN name
6
7
8
9
66
67
68
71
SPI_CLK
SPI_MISO
SPI_MOSI
SPI_CS
UART_RTS
UART_CTS
UART_RX
UART_TX
Default
Function
UART_RTS
UART_RX
UART_TX
UART_CTS
UART_RTS
UART_CTS
UART_RX
UART_TX
Function1
Function2
SPI_CLK
SPI_MISO
SPI_MOSI
SPI_CS
UART_RTS
UART_CTS
UART_RX
UART_TX
UART_RTS
UART_RX
UART_TX
UART_CTS
SPI_CLK
SPI_CS
SPI_MISO
SPI_MOSI
www.simcom.com
6 / 17
SIM7600 Series_Open Linux UART&SPI_Application Note_V2.00
3. UART
3.1 High speed UART
3.1.1 PIN6-9 Configure high speed UART
.\kernel\arch\arm\boot\dts\qcom\ mdm9607.dtsi:
blsp1_uart3: uart@78b1000 {
compatible = "qcom,msm-hsuart-v14";
reg = <0x78b1000 0x200>,
<0x7884000 0x2b000>;
reg-names = "core_mem", "bam_mem";
interrupt-names = "core_irq", "bam_irq";
#address-cells = <0>;
interrupt-parent = <&blsp1_uart3>;
interrupts = <0 1>;
#interrupt-cells = <1>;
interrupt-map-mask = <0xffffffff>;
interrupt-map = <0 &intc 0 119 0
1 &intc 0 238 0>;
qcom,bam-tx-ep-pipe-index = <4>;
qcom,bam-rx-ep-pipe-index = <5>;
qcom,master-id = <86>;
qcom,dev-id = <0>;
clock-names = "core_clk", "iface_clk";
clocks = <&clock_gcc clk_gcc_blsp1_uart3_apps_clk>,
<&clock_gcc clk_gcc_blsp1_ahb_clk>;
pinctrl-names = "sleep", "default";
pinctrl-0 = <&blsp1_uart3_sleep>;
pinctrl-1 = <&blsp1_uart3_active>;
qcom,msm-bus,name = "blsp1_uart3";
qcom,msm-bus,num-cases = <2>;
qcom,msm-bus,num-paths = <1>;
www.simcom.com
7 / 17
SIM7600 Series_Open Linux UART&SPI_Application Note_V2.00
qcom,msm-bus,vectors-KBps =
<86 512 0 0>,
<86 512 500 800>;
status = "disabled";
};
.\kernel\arch\arm\boot\dts\qcom\ mdm9607-mtp.dtsi:
&blsp1_uart3 {
status = "ok";
};
/* remove spi_2 config
&spi_2 {
status = "ok";
};
*/
Modify as shown above , PIN6,7,8,9 are configured as UART function, and the system generates
/dev/ttyHS0 device node after system start up.
qcom,dev-id = <0>;
The above configuration does not support RX wake-up. Applications are required to manage device
Determine the generated device node serial number
power, and configuration can also be modified to support RX wake-up sleep.
blsp1_uart3: uart@78b1000 {
…
interrupt-names = "core_irq", "bam_irq", "wakeup_irq";
#address-cells = <0>;
interrupt-parent = <&blsp1_uart3>;
interrupts = <0 1 2>;
#interrupt-cells = <1>;
interrupt-map-mask = <0xffffffff>;
interrupt-map = <0 &intc 0 119 0
1 &intc 0 238 0
2 &tlmm_pinmux 1 0>;
qcom,inject-rx-on-wakeup;
qcom,rx-char-to-inject = <0xFD>;
qcom,bam-tx-ep-pipe-index = <4>;
qcom,bam-rx-ep-pipe-index = <5>;
…
status = "disabled";
www.simcom.com
8 / 17