GithubHelp home page GithubHelp logo

maholli / sam32 Goto Github PK

View Code? Open in Web Editor NEW
42.0 42.0 6.0 70.47 MB

Feather-sized SAMD51 with M4 core serving as UART bridge to WROOM ESP32

Home Page: https://maholli.github.io/SAM32/

Python 94.56% C 5.21% Makefile 0.23%

sam32's Introduction

๐Ÿ›ฐ Hi!

I build electronic systems for harsh environments (like space).

Everything is open source, so check out PyCubed, KickSat-2, or V-R3X missions for more details!

๐Ÿ›  Like prototyping electronics?

Check out my soldering tutorial used in Stanford's EE department, Or build a SAM32, a "swiss-army knife" for embedded projects

sam32's People

Contributors

maholli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sam32's Issues

SPI issue when ESP32 coprocessor is active

There's a known issue with NINA firmware on the SAM32v2.4 causing it to dominate the SPI bus. This causes intermittent issues with concurrent ESP32 and SD card access (for example).

Adafruit has designed a fix for their boards and the same fix will be implemented in SAM32v2.5. See pic below from the Airlift express for an example of properly putting the MISO pin into a tri-state using a buffer gate:
image

Confirm SAM32 working on MacOS

symptoms: circuitpython on firmware_v1e.uf2 was unable to communicate with MacOS (while mounted as CIRCUITPY device).

  • CIRCUITPY would present itself, but was not responsive and eventually disappear.
  • MacOS could communicate with the board in bootloader mode (mounted as SAM32BOOT)

Test for possible issues when both ESP and SAMD try to access SD card concurrently

Both SAMD and ESP are configured as masters on the SPI bus to the SD card. If, through software mis-configuration, they both try to access the SD card at the same time, it may cause hardware issues. Test this and see if it actually causes a problem. If it does, a series resistor in the SPI lines from each microcontroller may solve the issue.

BUG: I2C labeled incorrectly on silkscreen

The pins labeled SDA and SCL on SAM32_v2 are incorrect. They're still perfectly fine GPIO, but they wont work for I2C if you try to assign them as such.

alternative I2C pins broken out to headers on the SAM32 boards are:

SDA SCL SERCOM # SERCOM GROUP
PAD[0] PAD[1]
PA04 PA05 0 D
PA08 PA09 0 C
PA09 PA08 2 D
PA12 PA13 2 C
PA16 PA17 1 C
PA17 PA16 3 D
PA22 PA23 3 C

note: these pins won't have on-board pull-up resistors

Camera Interface

(SAMD Parallel Capture Control)

  • need more RAM to buffer entire image?
    • can we just use direct-memory-access (DMA)?
  • What camera module?
    • preferred -> OVM9724
    • easy ->OV7670

NOTE this will need to be implemented in C (as opposed to python) in order to be fast enough

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.