Giter Site home page Giter Site logo

otterpill_zephyr's Introduction

OtterPill

Overview

STM32F072 devboard with USB 2.0 and USB-PD capability in Arduino Nano form factor. More information about the board can be found in the OtterPill GitHub Repo [1].

Photo of the OtterPill board

Hardware

The OtterPill features an STM32F072, a FUSB302B USB Type-C controller and a 3.3V regulator with up to 27V input range. Pinout and size are Arduino Nano compatible.

Supported Features

The OtterPill board supports the following hardware features:

Interface Controller Driver/Component
NVIC on-chip nested vector interrupt controller
UART on-chip serial port-polling; serial port-interrupt
PINMUX on-chip pinmux
GPIO on-chip gpio
CLOCK on-chip reset and clock control
FLASH on-chip flash memory
I2C on-chip i2c controller
USB on-chip USB device

Pin Mapping

For a diagram, refer to the Pinout section in the OtterPill README [2].

Default Zephyr Peripheral Mapping:

  • UART_1_TX : PA9
  • UART_1_RX : PA10
  • I2C1_SCL : PB6
  • I2C1_SDA : PB7
  • SPI2_SCK : PB13
  • SPI2_MISO : PB14
  • SPI2_MOSI : PB15

This corresponds to where UART, I2C and SPI are on the Arduino Nano pinout, but those can be remapped to other pins on this board.

I2C2 is used internall to connect the FUSB302B USB-PD controller to the STM32.

One user-programmable LED is available as led0 and the DFU button is available for general use as sw0.

Programming and Debugging

Flashing

The board can be flashed via USB with dfu-util by holding the DFU button while plugging in power. Alternatively, it can be flashed via the SWD pins with openocd, which is configured by default to use an STLink programmer.

Debugging

Using the SWD interface and an STLink programmer, you can debug the board as described in :ref:`west-debugging`.

References

[1]https://github.com/Jana-Marie/OtterPill
[2]https://github.com/Jana-Marie/OtterPill#pinout

otterpill_zephyr's People

Contributors

ottojo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.