1.. _seeed_xiao_expansion_board: 2 3Seeed Studio XIAO Expansion Board 4################################# 5 6Overview 7******** 8 9Seeed Studio XIAO Expansion Board is a powerful functional expansion board 10for `Seeed Studio XIAO series`_ of only half Raspberry Pi 4 size. It enables 11building prototypes and projects in an easy and quick way. With its rich 12peripherals, you could explore the infinite possibilities of Seeed Studio 13XIAO series. 14 15.. figure:: img/seeed_xiao_expansion_board.webp 16 :align: center 17 :alt: Seeed Studio XIAO Expansion Board 18 19 Seeed Studio XIAO Expansion Board (Credit: Seeed Studio) 20 21Pin Assignments 22=============== 23 24+-----------------------+---------------------------------------------+ 25| Shield Connector Pin | Function | 26+=======================+=============================================+ 27| 0 | Grove*1 (A0, D0) | 28+-----------------------+---------------------------------------------+ 29| 1 | User button | 30+-----------------------+---------------------------------------------+ 31| 2 | MicroSD SPI CSn | 32+-----------------------+---------------------------------------------+ 33| 3 | Buzzer(A3) | 34+-----------------------+---------------------------------------------+ 35| 4 | Grove*2 I2C SDA | 36+-----------------------+---------------------------------------------+ 37| 5 | Grove*2 I2C SCL | 38+-----------------------+---------------------------------------------+ 39| 6 | Grove*1 UART TX | 40+-----------------------+---------------------------------------------+ 41| 7 | Grove*1 UART RX | 42+-----------------------+---------------------------------------------+ 43| 8 | MicroSD SPI SCK (Serial Clock Input) | 44+-----------------------+---------------------------------------------+ 45| 9 | MicroSD SPI MISO (Serial Data Input) | 46+-----------------------+---------------------------------------------+ 47| 10 | MicroSD SPI MOSI (Serial Data Output) | 48+-----------------------+---------------------------------------------+ 49 50Programming 51*********** 52 53LED Button Sample 54================= 55 56Set ``--shield seeed_xiao_expansion_board`` when you invoke ``west build``. For example: 57 58.. zephyr-app-commands:: 59 :zephyr-app: samples/basic/button 60 :board: xiao_ble/nrf52840 61 :shield: seeed_xiao_expansion_board 62 :goals: build 63 64LVGL Basic Sample 65========================== 66 67Set ``--shield seeed_xiao_expansion_board`` when you invoke ``west build``. For example: 68 69.. zephyr-app-commands:: 70 :zephyr-app: samples/subsys/display/lvgl 71 :board: xiao_ble/nrf52840 72 :shield: seeed_xiao_expansion_board 73 :goals: build 74 75.. _Seeed Studio XIAO series: 76 https://www.seeedstudio.com/XIAO-c-1964.html 77