1 Star 0 Fork 117

xuanfen_ren / device_hisilicon_hispark_pegasus

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

HiSpark_pegasus

Introduction

HiSpark_pegasus (Hi3861 V100) is a 2 x 5 cm development board. It is a 2.4 GHz Wi-Fi SoC chip that highly integrates the IEEE 802.11b/g/n baseband and radio frequency (RF) circuit. 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 V100 Wi-Fi 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. It also supports various data rates specified in the IEEE 802.11 b/g/n protocol. Hi3861 V100 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 multi-channel Analog to Digital Converter (ADC). In addition, Hi3861 V100 supports the high-speed SDIO 2.0 Device 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. Hi3861 V100 applies to Internet of Things (IoT) devices such as smart home appliances.

The Hi3861 platform software shields the underlying layer from the application layer, providing application programming interfaces (APIs) for the application software to implement required functions. The following figure shows the typical system application architecture.

Figure 1 System application architecture

This framework consists of the following layers:

  • APP layer: represents the application layer. The sample code provided by the SDK is stored in the app\demo\src directory.

  • API layer: provides common APIs developed based on the SDK.

  • Platform layer: provides a board support package (BSP) for the SoC, including the following functions:

    • Chip and peripheral driver
    • Operating system
    • System management
  • Service layer: provides application protocol stacks such as Wi-Fi. It is used to send and receive data for upper-layer applications.

  • Third party: provides third-party software libraries for the service layer or application layer.

Features

Stable and reliable communication capability

  • Reliable communication algorithms such as TPC, automatic rate, and immunity against weak interference in complex environments

Flexible networking capability

  • 256-node mesh networking
  • Standard bandwidth (20 MHz) and narrow bandwidth (5 MHz or 10 MHz) networking

Comprehensive network support

  • IPv4 and IPv6-compliant networking
  • DHCPv4 and DHCPv6 Client and Server
  • DNS Client
  • mDNS
  • Basic CoAP, MQTT, HTTP and JSON components

Advanced security engine

  • AES-128 and AES-256 encryption and decryption algorithms
  • HASH-SHA256 and HMAC_SHA256 algorithms
  • RSA and ECC signature verification algorithms
  • True random number generation, meeting the FIPS140-2 random test standard
  • TLS and DTLS acceleration
  • eFUSE for secure storage, boot, and upgrade
  • Built-in MPU feature for memory isolation

Open operating system

  • Low power consumption, small memory, high stability, and high real-time performance
  • Flexible protocol support and extension capabilities
  • Interfaces for secondary development
  • Multi-layer development interfaces: operating system adaptation, system diagnosis, link layer, and network layer interfaces

Directory Structure

The root directory of the Hi3861 SDK is device\hisilicon\hispark_pegasus\sdk_liteos. Its directory structure is as follows:

device/hisilicon/hispark_pegasus/sdk_liteos
├── app                 # Application layer code, including the demo program
├── boot                # Flash bootloader code
├── build               # Library, link, and configuration files required for SDK construction
├── BUILD.gn            # GN building script
├── build_patch.sh      # File used for decompressing the U-Boot open-source code package and applying patches
├── build.sh            # Building script for startup, which can be customized using the sh build.sh menuconfig command
├── components          # Files related to the SDK platform
├── config              # SDK system configuration files
├── config.gni          # Configuration files supporting OpenHarmony
├── factory.mk          # Building script of the factory-test version
├── hm_build.sh         # Building script for adapting to OpenHarmony
├── include             # Header files declaring APIs
├── license             # License of the open-source SDK
├── Makefile            # File for building using the make or make all command
├── non_factory.mk      # Building script of the non-factory-test version
├── platform            # Files related to the SDK platform, including the kernel image and driver modules
├── SConstruct          # SCons build script
├── third_party         # Open-source third-party software
└── tools               # Tools provided by the SDK for Linux and Windows systems, including the NV making tool, signature tool, and Menuconfig

License Agreement

  • The Hi3861 V100 self-developed code uses the HiSilicon copyright notice licensed under the 2.0 version of the Apache License. The license and copyright information can be viewed at the beginning of the code:
  / *Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.Licensed under the Apache License,* ... * / 
  • The third-party code used by Hi3861 V100 complies with the open-source license notice delivered with the software version.
  • The generated library files are stored in build/libs in the root directory.
  • Some open-source software components may be used in Hi3861 V100. If the licenses applicable to those open-source software components conflict with this Agreement, the former ones shall prevail.

Repositories Involved

device/hisilicon/hispark_pegasus

vendor/hisilicon

Empty file

About

Hi3861 chip driver software, including license files, compilation scripts, configuration files, driver implementation, and tools | Hi3861芯片驱动软件,包含LICENSE、编译脚本、配置文件、驱动实现、工具等 expand collapse
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
1
https://gitee.com/xuanfen-ren/device_hisilicon_hispark_pegasus.git
git@gitee.com:xuanfen-ren/device_hisilicon_hispark_pegasus.git
xuanfen-ren
device_hisilicon_hispark_pegasus
device_hisilicon_hispark_pegasus
master

Search

14c37bed 8189591 565d56ea 8189591