AcSiP Technology AI7697HD 802.11 IoT Module User Manual

AcSiP Technology Corporation 802.11 IoT Module

Contents

User Manual

Product Name
Version
Date
AI7697HD
MT7697D IoT SiP Module
A
2017.10.13
AI7697HD
MT7697D IoT SiP Module
A
2017.10.13
1 of 12
Product Name
Version
Date
Page
1. Description
AcSiP Technology Corp. introduces a low-cost and low-power consumption IoT module. This
stand-alone module is an operating system designed for wearable or internet of things (IoT) devices
with smart connection and cloud application/services.
AI7697HD is a highly integrated SIP module which features an application processor, a low power
1x1 dual-band Wi-Fi subsystem, a Bluetooth subsystem, and a Power Management Unit. The
application processor subsystem contains an ARM Cortex-M4F MCU, which has many peripherals,
including UART, I2C, SPI, I2S, PWM, IrDA, and auxiliary ADC. AI7697HD also includes embedded
SRAM/ROM and an external 4MB serial flash.
The Wi-Fi subsystem contains the 802.11a/b/g/n radio, baseband, and MAC that are designed to
meet both the low power and high throughput application. It also contains a 32-bit RISC CPU that
could fully offload the application processor.
The Bluetooth subsystem contains the Bluetooth radio, baseband, link controller. It also uses the
same 32-bit RISC CPU for the Bluetooth protocols.
1.1. Platform Features
General
ARM Cortex M4 MCU with FPU with up to
192MHz clock speed
352KB SRAM / 64KB boot / 4MB Flash
Supports external serial flash with Quad
Peripheral Interface (QPI) mode
Supports eXecute In Place (XIP) on flash
32KB cache in XIP mode
Hardware crypto engines including AES, DES/3DES,
SHA2 for network security
Two UART interfaces with hardware flow control
and one UART for debug, all multiplexed with
GPIO
One SPI slave interface multiplexed with GPIO
Two I2C master interface multiplexed with GPIO
One I2S interface multiplexed with GPIO
Four channel 12-bit ADC multiplexed with GPIO
Dedicated high-performance 32-bit RISC CPU N9
up to 160MHz clock speed
IEEE 802.11 a/b/g/n compliant
Supports 20MHz,40MHz bandwidth in 2.4/5GHz
Dual-band 1T1R mode with data rate up to
150Mbps
Supports STBC, LDPC
Greenfield, mixed mode, legacy modes support
IEEE 802.11 d/e/h/i/k/r/w support
Security support for WFA WPA/WPA2 personal,
WPS2.0, WAPI
Supports 802.11w protected managed frames
QoS support of WFA WMM, WMM PS
Integrated LNA, PA, and T/R switch
Optional external LNA and PA support.
RX diversity support with additional RX input
Bluetooth 4.2 Low Energy (LE)
AI7697HD
MT7697D IoT SiP Module
A
2017.10.13
2 of 12
Product Name
Version
Date
Page
2. Block Diagram
2.1. Specification
AI7697HD
Chipset
MT7697D
Core
ARM Cortex-M4 MCU
FPU Clock Speed
192MHz
SRAM
352KB
External Flash
4MB
Antenna connector
MHF4 series: 20449-001E
Support 5G Band(MHz)
5150~5250(Band1)5725~5850(Band4)
Operation Condition
Temperature
Operating : -40 ~ +85
Storage : -40 ~ +105
Humidity
Operating : 10 ~ 95% (Non-Condensing)
Storage : 5 ~ 95% (Non-Condensing)
Mechanical Information
Dimension
18mm X 18mm X 1.7mm (Typ.)
Package
LGA 44Pin Stamp hole type
AI7697HD
MT7697D IoT SiP Module
A
2017.10.13
3 of 12
Product Name
Version
Date
Page
3.Pin Definition
3.1 Detailed Pin Description
NC.
GND
GPIO33
GPIO34
GPIO35
GPIO36
3V3
GPIO37
GPIO38
SYS_RST_N
20
19
18
17
16
15
14
13
12
11
GND
21
10
GPIO39
GND
22
9
GPIO57
GPIO0
23
8
GPIO58
GPIO1
24
GND
GND
7
GPIO59
GPIO2
25
6
GPIO60
GPIO3
26
5
PMU_EN_WF
GPIO6
27
GND
GND
4
GPIO27
GPIO7
28
3
GPIO28
GPIO5
29
2
GPIO30
GPIO24
30
1
GPIO29
31
32
33
34
35
36
37
38
39
40
GPIO25
GPIO26
GPIO4
RTC_3V3
GND
PMU_EN_RTC
GPIO32
GPIO31
3V3
GND
AI7697HD
MT7697D IoT SiP Module
A
2017.10.13
4 of 12
Product Name
Version
Date
Page
Operating Block
2.4GHz. 5GHz
Dual-Band Antenna
AI7697HD
AI7697HD
MT7697D IoT SiP Module
A
2017.10.13
5 of 12
Product Name
Version
Date
Page
PuTTY Program
Command
AI7697HD
MT7697D IoT SiP Module
A
2017.10.13
6 of 12
Product Name
Version
Date
Page
Software operating
Connect the board to PC with a serial port cable.
- Build the example project and download the binary file to the MT7687.
- Reboot the HDK, the console will show "FreeRTOS Running" message to
indicate the HDK is booting up.
- Use '?' and enter to query the available command line options.
Note that the command line options are still under development and subject to
change without notice.
- Below are two examples to demonstrate the Wi-Fi station and Wi-Fi access
point modes of MT7687.
- Example 1. Wi-Fi station mode.
- Find your Wi-Fi access point settings:
Before connecting to a Wi-Fi access point, the following information
needs to be collected:
1. What is the SSID of your Wi-Fi access point?
2. What is the authentication mode of your Wi-Fi access point?
In general, it is WPA PSK or WPA2 PSK. If you want to use different
settings, please read the table 'Table 1. Supported AuthMode(s)' at
the bottom of this example.
AI7697HD
MT7697D IoT SiP Module
A
2017.10.13
7 of 12
Product Name
Version
Date
Page
3. What is the password of your Wi-Fi access point?
4. What is the encryption mode of your Wi-Fi access point?
In general, AES or TKIP is used. If you want to use different settings,
please read the table 'Table 2. Supported EncrypType(s)' at the bottom
of this example.
- Once you have this information, use the following commands to configure
the HDK. This example assumes you want to use either WPA PSK or WPA2 PSK,
your packets are encrypted with TKIP or AES, the access point SSID is
'myhome' (length 6), and the password of WPA or WPA2 is '12345678'
(length 8).
config write STA AuthMode 9
config write STA EncrypType 8
config write STA Ssid myhome
config write STA SsidLen 6
config write STA WpaPsk 12345678
config write STA WpaPskLen 8
config write common OpMode 1
AI7697HD
MT7697D IoT SiP Module
A
2017.10.13
8 of 12
Product Name
Version
Date
Page
press the reset button on the LinkIt 7687 HDK to restart the system.
- Boot up with the new configuration.
If everything is correct, similar messages will be shown in the console
to notify your HDK has received an IP address.
************************
DHCP got IP:10.10.10.101
************************
- PING from the LinkIt 7687 HDK (SDK v3.1.0)
If the IP address is fetched and the network is operating, the LinkIt
7687 can ping other devices/computer on the network with the following
command in the console.
f 11 10.10.10.254 3 64
The ping stops after sending three packets to 10.10.10.254.
The ping usage is: f 11 <ip address> <times> <ping packet length>
AI7697HD
MT7697D IoT SiP Module
A
2017.10.13
9 of 12
Product Name
Version
Date
Page
- Wi-Fi configuration options for AuthMode and EncrypType.
+---+-------------------------------------+
| 0 | open, no security |
+---+-------------------------------------+
| 4 | WPA PSK |
+---+-------------------------------------+
| 7 | WPA2 PSK |
+---+-------------------------------------+
| 9 | Support both WPA and WPA2 PSK |
+---+-------------------------------------+
Table 1. Supported AuthMode(s)
+---+------------------------+
| 0 | WEP |
+---+------------------------+
| 1 | No encryption |
+---+------------------------+
| 4 | TKIP |
AI7697HD
MT7697D IoT SiP Module
A
2017.10.13
10 of 12
Product Name
Version
Date
Page
+---+------------------------+
| 6 | AES |
+---+------------------------+
| 8 | Support TKIP and AES |
+---+------------------------+
Table 2. Supported EncrypType(s)
- Example 2. Wi-Fi access point mode.
- Decide Wi-Fi access point settings:
- SSID
- Authentication Mode
- Encryption Type.
- Password
You need the above settings before proceeding.
- Once the information is collected, use the following commands to
configure the LinkIt 7687 HDK. This example assumes WPA2 PSK is used for
authentication, AES for encryption, 'iot_ap' (length 6) for the SSID,
and the password of WPA2 as '87654321' (length 8).
AI7697HD
MT7697D IoT SiP Module
A
2017.10.13
11 of 12
Product Name
Version
Date
Page
config write AP Ssid iot_ap
config write AP SsidLen 6
config write AP AuthMode 7
config write AP EncrypType 6
config write AP WpaPsk 87654321
config write AP WpaPskLen 8
config write common OpMode 2
press reset button on the LinkIt 7687 HDK to restart the system.
- Use a handheld device or a laptop computer to connect to the access point
'iot_ap'. In the MT7687 console, the IP address assigned to the cellphone
or laptop is shown as below.
[DHCPD:DBG]lease_ip:10.10.10.2
BLE mode
Use the command 'ble ?' and enter to query the available Bluetooth command line options.
- Input the command "ble gap start_scan 0 0024 0011 1 0" in the serial tool
to scan for the nearby Bluetooth enabled devices.
- 0, passive scan.
- 0024, scan interval (36 * 0.625 ms). Two bytes long HEX value.
- 0011, scan window (17 * 0.625 ms). Two bytes long HEX value.
- 1, own address type, 1 means random address.
- 0, filter policy.
A similar log is written to the output:
@code
AI7697HD
MT7697D IoT SiP Module
A
2017.10.13
12 of 12
Product Name
Version
Date
Page
Find a device A,
[I][APP] BT_GAP_LE_ADVERTISING_REPORT_IND Success
[I][APP] ========================================
[I][APP] Address: [RANDOM] 73-2c-d4-3f-d3-b2
[I][APP] Event Type: ADV_IND
[I][APP] AD Flags: LE General Discoverable Mode
[I][APP] RAW DATA=0x02011a14ff4c000100000000040000000000000000000000
[I][APP] ========================================
Find a device B,
[I][APP] ========================================
[I][APP] Address: [RANDOM] ff-76-f0-01-a4-1a
[I][APP] Event Type: ADV_IND
[I][APP] Complete Name: WeLoop B08 DEF4D4
[I][APP] AD Flags: LE Limited Discoverable Mode
[I][APP] RAW DATA=0x120957654c6f6f702042303820444546344434031934120201050303e7fe
[I][APP] ========================================
@endcode
- Connect the device with the command "ble gap connect 1 732cd43fd3b2".
- 1, random address, based on the [RANDOM] tag. 0, public address based on
the [PUBLIC] tag.
- 732cd43fd3b2: remote device address.
The output log indicates the connection is established with a remote device.
@code
[I][APP] BT_GAP_LE_CONNECT_IND Success
[I][APP] connection handle=0x0200
[I][APP] role=Master
[I][APP] peer address:[RANDOM] 73-2c-d4-3f-d3-b2
@endcode

Navigation menu