トップ 差分 一覧 ソース 検索 ヘルプ RSS ログイン

tips-SeeeduinoXIAO

  Seeeduino XIAO ボード

Amazon の広告で勢いで買った

amazon

秋月

を試してみる ( 1個600円くらい )

Spec

https://cdn.sparkfun.com/datasheets/Dev/Arduino/Boards/Atmel-42181-SAM-D21_Datasheet.pdf

https://wiki.seeedstudio.com/Seeeduino-XIAO/#specification

ARM Cortex M0+ CPU (SAMD21G18) 48MHz
DAC
 10-bit, 350ksps Digital-to-Analog Converter (DAC)
ADC
One 12-bit, 350ksps Analog-to-Digital Converter (ADC) with up to 20 channels
 Differential and single-ended input
 1/2x to 16x programmable gain stage
 Automatic offset and gain error compensation
 Oversampling and decimation in hardware to support 13-, 14-, 15- or 16-bit resolution

arduino ide の変更

 File > Preference,
 https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json
を追加

PINassign

USB-TypeC
DAC D0 A0 VIN(5v)
D1 A1 GND
D2 A2 3V3
D3 A3 A10 D10 MOSI
SDA D4 A4 A9 D9 MISO
SCL D5 A5 A8 D8 SCK
TX D6 A6 A7 D7 RX
I2C:SDA/SCL
SPI:MOSI/MISO/SCK
UART:TX/RX
5V:500mA
3V3:200mA
DAC:10bit
ADC:12bit

Reset

USB コネクタの近くのPADをショート
( 短く2回ショートすると bootloader モード )

シングルサイクルIO

https://lab.sasapea.mydns.jp/2020/03/16/seeeduino-xiao/

ADC

https://lab.sasapea.mydns.jp/2020/06/11/atsamd21-adc/

Python

https://circuitpython.org/board/seeeduino_xiao/

Source

https://github.com/adafruit/circuitpython

https://learn.adafruit.com/circuitpython-essentials/circuitpython-essentials

https://wiki.seeedstudio.com/jp/Seeeduino-XIAO-CircuitPython/

https://qiita.com/fujioka244kogacity/items/da5842a4c6b7b68ce29c
MU が Serial で接続しない
./mu/mu/modes/circuitpython.py" 43行目 付近に

       (0x239A, None),  # Any Adafruit Boards
+      (0x2886, 0x002f),  # Seeeduino XIAO
       # Non-Adafruit boards
       (0x1209, 0xBAB1),  # Electronic Cats Meow Meow

を追加

ToolChain

https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm

Tips

https://wiki.seeedstudio.com/Seeeduino-XIAO/#software

https://qiita.com/nanase/items/0fed598975c49b1d707e