Giter Club home page Giter Club logo

workstation40's Introduction

##Electronic Sweet Peas - WorkStation40 Library

This is a simple library for controlling the WorkStation40 module.

The WorkStation40 is a complex system boards that allows you to configure and use peripherals such as timers, A/D converters, D/A converters, GPIO and more. The hart of the module is a low power Cortex-M0 device from Atmel. This MCU together with a I2C based GPIO expander provides the functionality of the board.

Communication between the controller module and the WorkStation board is done with I2C. The module currently supports I2C communication up to 400Kbit/s, but we're looking in to having it run at 1Mbit/s.

The I2C port expander used on the module is the popular PCA9554A, an 8bit port expander with programmable interrupt and selectable polarity. This device is supported by the library with mehtods which are similar to that of the Arduino standard libraries. Look at the examples for more information on how to use the API.

The microcontroller found on the board is a device called SAMD10. The SAMD10 is a low-end Cortex-M0 based micro controller with a bunch of features. The API between the ESP210 and the Workstation40 board is extremly simple. It consists of two methods. One for reading 32bit words from the module and one method for writing 32 bit data to the module.

Data is read and written directly into the memory map of the microcontroller, making it possible to access any register or memory location inside the SAMD10. This is a very powerfull interface, but with power comes responsibilities. You need to make sure that the register or memory location that you are accessing is a valid one.

The SAMD10 microcontroller also has a I2C bootloader that allows you to replace the firmware. This allows you to upload updates to the firmware when it is available. You can also completely replace our firmware with your own, making any sorts of advanced communication schemes or interfaces possible.

workstation40's People

Contributors

pontuso avatar

Watchers

James Cloos avatar Electronic Sweet Peas avatar

Forkers

sthaugen

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.