1.. zephyr:board:: az3166_iotdevkit 2 3Overview 4******** 5 6The AZ3166 IoT DevKit from MXChip is a development board designed for IoT (Internet of Things) 7projects. It's an all-in-one board powered by an Arm Cortex-M4 processor. On-board peripherals 8include an OLED screen, headphone output, stereo microphone and abundant sensors like humidity & 9temperature, pressure, motion (accelerometer & gyroscope) and magnetometer. 10 11More information about the board can be found at the `MXChip AZ3166 website`_. 12 13Hardware 14******** 15 16The MXChip AZ3166 IoT DevKit has the following physical features: 17 18* STM32F412 Arm Cortex M4F processor at 96 MHz 19* Working voltage: 3.3v or USB power supply 20* Supports 3.3V DC-DC, maximum current 1.5A 21* OLED display, 128x64 pixels 22* 2 programmable buttons 23* 1 RGB LED 24* 3 LED for status indicators ("Wi-Fi", "Azure", "User") 25* Security encryption chip 26* Infrared emitter for IR remote control or interaction 27* Motion sensor (LSM6DSL) 28* Magnetometer sensor (LIS3MDL) 29* Atmospheric pressure sensor (LPS22HB) 30* Temperature and humidity sensor (HTS221) 31* EMW3166 Wi-Fi module with 256K SRAM,1M+2M Byte SPI Flash 32 33 34Supported Features 35================== 36 37The az3166_iotdevkit board configuration supports the following 38hardware features: 39 40+-----------+------------+----------------------+ 41| Interface | Controller | Driver/Component | 42+===========+============+======================+ 43| NVIC | on-chip | nested vector | 44| | | interrupt controller | 45+-----------+------------+----------------------+ 46| SYSTICK | on-chip | system clock | 47+-----------+------------+----------------------+ 48| UART | on-chip | serial port | 49+-----------+------------+----------------------+ 50| GPIO | on-chip | gpio | 51+-----------+------------+----------------------+ 52| I2C | on-chip | i2c | 53+-----------+------------+----------------------+ 54| SPI | on-chip | spi | 55+-----------+------------+----------------------+ 56 57.. note:: 58 59 The EMW3166 Wi-Fi module is currently not supported. 60 61Programming and Debugging 62************************* 63 64Flashing 65======== 66 67Build and flash applications as usual (see :ref:`build_an_application` and 68:ref:`application_run` for more details). 69 70Here is an example for the :zephyr:code-sample:`hello_world` application. 71 72First, run your favorite terminal program to listen for output. 73 74.. code-block:: console 75 76 $ minicom -D <tty_device> -b 115200 77 78Replace :code:`<tty_device>` with the port where the micro:bit board 79can be found. For example, under Linux, :code:`/dev/ttyACM0`. 80 81Then build and flash the application in the usual way. 82 83.. zephyr-app-commands:: 84 :zephyr-app: samples/hello_world 85 :board: az3166_iotdevkit 86 :goals: build flash 87 88 89References 90********** 91 92.. target-notes:: 93 94.. _MXChip AZ3166 website: https://www.mxchip.com/en/az3166 95