Score
0
402 Unstar Star 2.2K Fork 489

OpenHarmony / docsApache-2.0

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Open source documentation of OpenHarmony | OpenHarmony开发者文档 spread retract

Clone or download
introduction-to-the-hi3861-development-board.md 15.62 KB
Copy Edit Web IDE Raw Blame History
NEEN authored 2020-09-25 09:48 . !134 Docs Update 0924

Introduction to the Hi3861 Development Board

This document describes how to quickly start with the Hi3861 WLAN module, including the development environment setup, version compiling and building, device burning, source code modification, debugging and verification. Following this guide, you can start developing services with the basic understanding of the Hi3861 WLAN module.

Hi3861

The Hi3861 WLAN module is a development board with 2 x 5 cm form factor. It contains a 2.4 GHz WLAN SoC that highly integrates the IEEE 802.11b/g/n baseband and radio frequency (RF) circuit. This module provides open and easy-to-use development and debugging environments for running OpenHarmony.

Figure 1 Appearance of Hi3861 WLAN module

The Hi3861 WLAN module can also be connected to the Hi3861 mother board to expand its peripheral capabilities. The following figure shows the Hi3861 mother board.

Figure 2 Appearance of the Hi3861 mother board

  • The RF circuit includes modules such as the power amplifier (PA), low noise amplifier (LNA), RF Balun, antenna switch, and power management. It supports a standard bandwidth of 20 MHz and a narrow bandwidth of 5 MHz or 10 MHz, and provides a maximum rate of 72.2 Mbit/s at the physical layer.

  • The Hi3861 WLAN baseband supports the orthogonal frequency division multiplexing (OFDM) technology and is backward compatible with the direct sequence spread spectrum (DSSS) and complementary code keying (CCK) technologies. In addition, the Hi3861 WLAN baseband supports various data rates specified in the IEEE 802.11 b/g/n protocol.

  • The Hi3861 chip integrates the high-performance 32-bit microprocessor, hardware security engine, and various peripheral interfaces. The peripheral interfaces include the Synchronous Peripheral Interface (SPI), Universal Asynchronous Receiver & Transmitter (UART), the Inter Integrated Circuit (I2C), Pulse Width Modulation (PWM), General Purpose Input/Output (GPIO) interface, and Analog to Digital Converter (ADC). The Hi3861 chip also supports the high-speed Secure Digital Input/Output (SDIO) 2.0 interface, with a maximum clock frequency of 50 MHz. This chip has a built-in static random access memory (SRAM) and flash memory, so that programs can run independently or run from a flash drive.

  • The Hi3861 chip applies to Internet of Things (IoT) devices such as smart home appliances.

    Figure 3 Hi3861 functions

Resources and Constraints

As the Hi3861 only offers 2 MB Flash and 352 KB RAM, use them efficiently when compiling code.

Development Board Specifications

Table 1 Hi3861 WLAN module specifications

Type

Description

General specifications

  • Operates over 1×1 2.4 GHz frequency band (ch1-ch14).
  • The physical layer (PHY) complies with the IEEE 802.11b/g/n protocol.
  • The media access control (MAC) layer complies with the IEEE802.11 d/e/h/i/k/v/w protocol.
  • Includes the built-in public address (PA) and local area network (LAN); integrates transmit-receive (Tx/Rx) switch and Balun.
  • Supports the station (STA) and access point (AP) modes. When the Hi3861 WLAN module functions as an AP, a maximum of six STAs are supported.
  • Supports WFA WPA, WFA WPA2 personal, and WPS2.0.
  • Supports three kinds of packet traffic arbiter (PTA) (2- , 3- , or 4-wire PTA), each of which coexists with the BT or BLE chip.
  • The input voltage ranges from 2.3 V to 3.6 V.
  • The input/output (I/O) power voltage can be 1.8 V or 3.3 V.
  • Supports self-calibration for RF hardware.
  • Performs with low power consumption:
    • Ultra deep sleep mode: 5 μA @ 3.3 V
    • DTIM1: 1.5 mA @ 3.3 V
    • DTIM3: 0.8 mA @ 3.3 V

PHY features

  • Supports all data rates of the single antenna required by the IEEE802.11b/g/n protocol.
  • Supports a maximum rate of 72.2 Mbps@HT20 MCS7
  • Supports the standard bandwidth (20 MHz) and narrow bandwidth (5 MHz or 10 MHz).
  • Supports space-time block coding (STBC).
  • Supports short guard interval (Short-GI).

MAC features

  • Supports aggregate MAC service data unit (A-MPDU) and aggregate MAC protocol data unit (A-MSDU).
  • Supports block acknowledgment (Blk-ACK).
  • Supports quality of service (QoS), meeting customer's service requirements.

CPU subsystem

  • Integrates a high-performance 32-bit microprocessor with a maximum operating frequency of 160 MHz.
  • Includes built-in 352 KB SRAM and 288 KB ROM.
  • Includes a built-in 2 MB flash memory.

Peripheral interfaces

  • Include one SDIO interface, two SPI interfaces, two I2C interfaces, three UART interfaces, 15 GPIO interfaces, seven ADC inputs, six PWM interfaces, and one I2S interface (Note: These interfaces are all multiplexed.)
  • The frequency of the external primary crystal oscillator is 40 MHz or 24 MHz.

Other information

  • Package: QFN-32, 5 mm x 5 mm
  • Operating temperature: –40°C to +85°C

Key Features

OpenHarmony provides a series of available capabilities based on the Hi3861 platform. The following table describes the available key components.

Table 2 Key components

Component

Description

wlan

Provides WLAN service, such as connecting to or disconnecting from a station or hotspot, and querying the state of a station or hotspot.

iot controller

Provides the capability of operating peripherals, including the I2C, I2S, ADC, UART, SPI, SDIO, GPIO, PWM and FLASH.

soft bus

Provides the capabilities of device discovery and data transmission in the distributed network.

hichainsdk

Provides the capability of securely transferring data between devices when they are interconnected.

huks

Provides capabilities of key management, encryption, and decryption.

system ability manager

Provides a unified OpenHarmony service development framework based on the service-oriented architecture.

bootstrap

Provides the entry identifier for starting a system service. When the system service management is started, the function identified by bootstrap is called to start a system service.

syspara

Provides capabilities of obtaining and setting system attributes.

utils

Provides basic and public capabilities, such as file operations and key-value (KV) storage management.

DFX

Provides the DFX capabilities, such as logging and printing.

XTS

Provides a set of OpenHarmony certification test suites.

1
https://openharmony.gitee.com/openharmony/docs.git
git@openharmony.gitee.com:openharmony/docs.git
openharmony
docs
docs
master

Search