|
| 1 | +.. _m5stack_atoms3_lite: |
| 2 | + |
| 3 | +M5Stack AtomS3 Lite |
| 4 | +################### |
| 5 | + |
| 6 | +Overview |
| 7 | +******** |
| 8 | + |
| 9 | +M5Stack AtomS3 Lite is an ESP32-based development board from M5Stack. |
| 10 | + |
| 11 | +It features the following integrated components: |
| 12 | + |
| 13 | +- ESP32-S3FN8 chip (240MHz dual core, Wi-Fi/BLE 5.0) |
| 14 | +- 512KB of SRAM |
| 15 | +- 384KB of ROM |
| 16 | +- 8MB of Flash |
| 17 | +- RGB Status-LED |
| 18 | + |
| 19 | + |
| 20 | +.. figure:: img/m5stack_atoms3_lite.webp |
| 21 | + :align: center |
| 22 | + :alt: M5Stack AtomS3 Lite |
| 23 | + |
| 24 | + M5Stack AtomS3 Lite |
| 25 | + |
| 26 | + |
| 27 | +Supported Features |
| 28 | +================== |
| 29 | + |
| 30 | +The Zephyr m5stack_atoms3_lite board configuration supports the following hardware features: |
| 31 | + |
| 32 | ++-----------+------------+-------------------------------------+ |
| 33 | +| Interface | Controller | Driver/Component | |
| 34 | ++===========+============+=====================================+ |
| 35 | +| NVIC | on-chip | nested vector interrupt controller | |
| 36 | ++-----------+------------+-------------------------------------+ |
| 37 | +| UART | on-chip | serial port-polling; | |
| 38 | +| | | serial port-interrupt | |
| 39 | ++-----------+------------+-------------------------------------+ |
| 40 | +| PINMUX | on-chip | pinmux | |
| 41 | ++-----------+------------+-------------------------------------+ |
| 42 | +| GPIO | on-chip | gpio | |
| 43 | ++-----------+------------+-------------------------------------+ |
| 44 | +| I2C | on-chip | i2c | |
| 45 | ++-----------+------------+-------------------------------------+ |
| 46 | +| SPI | on-chip | spi | |
| 47 | ++-----------+------------+-------------------------------------+ |
| 48 | +| CLOCK | on-chip | reset and clock control | |
| 49 | ++-----------+------------+-------------------------------------+ |
| 50 | +| COUNTER | on-chip | rtc | |
| 51 | ++-----------+------------+-------------------------------------+ |
| 52 | +| WATCHDOG | on-chip | independent watchdog | |
| 53 | ++-----------+------------+-------------------------------------+ |
| 54 | +| PWM | on-chip | pwm | |
| 55 | ++-----------+------------+-------------------------------------+ |
| 56 | +| ADC | on-chip | adc | |
| 57 | ++-----------+------------+-------------------------------------+ |
| 58 | +| DAC | on-chip | dac | |
| 59 | ++-----------+------------+-------------------------------------+ |
| 60 | +| die-temp | on-chip | die temperature sensor | |
| 61 | ++-----------+------------+-------------------------------------+ |
| 62 | + |
| 63 | + |
| 64 | +Start Application Development |
| 65 | +***************************** |
| 66 | + |
| 67 | +Before powering up your M5Stack AtomS3 Lite, please make sure that the board is in good |
| 68 | +condition with no obvious signs of damage. |
| 69 | + |
| 70 | +System requirements |
| 71 | +=================== |
| 72 | + |
| 73 | +Prerequisites |
| 74 | +------------- |
| 75 | + |
| 76 | +Espressif HAL requires WiFi and Bluetooth binary blobs in order work. Run the command |
| 77 | +below to retrieve those files. |
| 78 | + |
| 79 | +.. code-block:: shell |
| 80 | +
|
| 81 | + west blobs fetch hal_espressif |
| 82 | +
|
| 83 | +.. note:: |
| 84 | + |
| 85 | + It is recommended running the command above after :file:`west update`. |
| 86 | + |
| 87 | +Building & Flashing |
| 88 | +------------------- |
| 89 | + |
| 90 | +Build and flash applications as usual (see :ref:`build_an_application` and |
| 91 | +:ref:`application_run` for more details). |
| 92 | + |
| 93 | +.. zephyr-app-commands:: |
| 94 | + :zephyr-app: samples/hello_world |
| 95 | + :board: m5stack_atoms3_lite |
| 96 | + :goals: build |
| 97 | + |
| 98 | +The usual ``flash`` target will work with the ``m5stack_atoms3_lite`` board |
| 99 | +configuration. Here is an example for the :ref:`hello_world` |
| 100 | +application. |
| 101 | + |
| 102 | +.. zephyr-app-commands:: |
| 103 | + :zephyr-app: samples/hello_world |
| 104 | + :board: m5stack_atoms3_lite |
| 105 | + :goals: flash |
| 106 | + |
| 107 | +The baud rate of 921600bps is set by default. If experiencing issues when flashing, |
| 108 | +try using different values by using ``--esp-baud-rate <BAUD>`` option during |
| 109 | +``west flash`` (e.g. ``west flash --esp-baud-rate 115200``). |
| 110 | + |
| 111 | +You can also open the serial monitor using the following command: |
| 112 | + |
| 113 | +.. code-block:: shell |
| 114 | +
|
| 115 | + west espressif monitor |
| 116 | +
|
| 117 | +After the board has automatically reset and booted, you should see the following |
| 118 | +message in the monitor: |
| 119 | + |
| 120 | +.. code-block:: console |
| 121 | +
|
| 122 | + ***** Booting Zephyr OS vx.x.x-xxx-gxxxxxxxxxxxx ***** |
| 123 | + Hello World! m5stack_atoms3_lite |
| 124 | +
|
| 125 | +Debugging |
| 126 | +--------- |
| 127 | + |
| 128 | +M5Stack AtomS3 Lite debugging is not supported due to pinout limitations. |
| 129 | + |
| 130 | +Related Documents |
| 131 | +***************** |
| 132 | + |
| 133 | +- `M5Stack AtomS3 Lite schematic <https://static-cdn.m5stack.com/resource/docs/products/core/AtomS3%20Lite/img-4061fdd4-6954-4709-a7e7-b0f50e5ba52e.webp>`_ |
| 134 | +- `ESP32S3 Datasheet <https://www.espressif.com/sites/default/files/documentation/esp32-s3_datasheet_en.pdf>`_ |
0 commit comments