Giter VIP home page Giter VIP logo

pic32reach's Introduction

PIC32Reach

Blink five LEDs on a PIC32MX550F256L dev board from Reach Robotics. Millisecond timer interrupt generated by Timer 1. Also sends characters to all five USARTs, generates PWM on OC1 and OC2, and accepts analog input from a pot on AN6. Two SPI channels configured to send data, SPI2 at 2MHz and SPI3 at 1MHz. SPI2 sends a 16-bit word every 22.6us (44.1kHz). SPI3 sends variable-length packets at certain times in the main loop.

Connections

Name Port Pin Activity
LED1 RE6 4 LED, active-LOW
LED2 RE7 5 LED, active-LOW
LED3 RE1 94 LED, active-LOW
LED4 RA7 91 LED, active-LOW
LED5 RA6 92 LED, active-LOW
U1TX RE5 3 UART1 transmit
U2TX RG0 90 UART2 transmit
U3TX RF1 88 UART3 transmit
U4TX RD4 81 UART4 transmit
U5TX RD12 79 UART5 transmit
SCK2 RG6 10 SPI Clock
SDO2 RC13 73 SPI MOSI
SS2 RD9 69 SPI CS
SCK3 RF13 39 SPI Clock
SDO3 RG8 12 SPI MOSI
SS3 RA0 17 SPI CS
PWM1 RD8 68 OC1 PWM output
PWM2 RD0 72 OC2 PWM output
Pot RB6 26 AN6 analog input

PIC32 pin numbers are for the 100-pin package.

LEDs light when the pin is pulled LOW.

PIC32 Toolchain

MPLAB X V3.45 and 'xc32' V2.15. These are quite old versions now, so I really ought to upgrade!

PIC32 Programmer

Microchip ICD3. Other programmers should work, e.g. ICD4 or PICkit4.

pic32reach's People

Contributors

anachrocomputer avatar

Watchers

 avatar  avatar

pic32reach's Issues

Rename repo to mention Reach dev PCB

This isn't really a general-purpose Blinky. It uses too many of the chips on the Reach dev board, like the EEPROMs and the IMU. This should be in the repo name, and another repo should be set up for PIC32MXBlinky which relies on nothing more than LEDs.

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.