Embedded Computing
  • About
  • Blog
  • Hardware
    • Which Platform?
    • Controller Platforms >
      • Adafruit Platform
      • Arduino Plaform
      • BBC micro:bit
      • Espressif Platform
      • LaunchPad Plaform
      • Microsoft Azure IoT DevKit
      • Seeeduino Platform
      • Teensy Plaform
    • Computer Platforms >
      • BeagleBone Platform
      • Mediatek Platform
      • UDOO Platform
    • Legacy Platforms >
      • chipKIT Plaform >
        • chipKIT Uno32 and uC32
        • chipKIT WF32 and WiFire
        • Compatibility
        • chipKIT PGM Programmer-Debugger
        • 4D Systems PICadillo-35T
        • Shields for chipKIT Uno32
        • 4D Systems Platform >
          • 4D Systems PICadillo-35T
          • 4D Systems gen4-IoD-28T
      • Cosa, an Alternative Framework for AVR Boards
      • DFRobot Platform >
        • DFRobot BLuno
        • DFRobot Wido
      • Digistump Platform >
        • Digispark
        • Oak
      • Intel Platform >
        • Intel Curie with Neural Network
        • Intel Edison
      • LightBlue Bean
      • Little Robot Friends
      • Maple Plaform >
        • LeafLabs Maple
      • Microduino Plaform >
        • Microduino
      • Particle Platform >
        • Particle Core
        • Particle Photon
        • Particle Tools
      • Protostack Platform >
        • Protostack Boards
      • RedBear Platform >
        • RedBearLab CC3200
        • RedBearLab WiFi Mini
        • RedBear Duo
      • Wiring Plaform >
        • Wiring S
        • Wiring Play Shield
    • Boards and Plugs
    • I²C Logic Level Converter
    • Peripherals >
      • BoosterPacks for LaunchPads
      • Shields
      • Grove System
      • Ten Years with the Grove System
      • Sensors
      • Actuators
    • Displays >
      • Pervasive Displays e-Paper Screens
      • FRAM-based E-Paper Screen Controller
      • The 2.8" HY28A LCD Screen
      • High-Definition 480x320 3.5" Screen With Touch and Fonts
      • Kentec 3.5" LCD SPI with Touch BoosterPack
      • 4D Systems Intelligent Screens
      • East Rising 5" LCD with RA8875, Touch, Fonts, Flash and SD-card
      • East Rising 5" LCD with SSD1963, Touch, Flash and SD-card
  • Software
    • The IDE Question >
      • The Battle of IDEs
      • More IDE Options
      • Looking for a Better IDE
      • Assessing the Next Generation of IDEs
    • Exploring RTOS with Galaxia >
      • Event Library
      • Semaphore Library
      • Mailbox Library
      • Timer Library
      • Clock Library
      • SWI Library
      • Task Library
    • Ultra-Low Power with EnergyTrace >
      • Ultra-Low Power with MSP430
      • Ultra-Low Power with Energia MT and Galaxia
    • Using Integers Instead of Reals
  • IoT
    • IoT Platforms: Which Hardware?
    • IoT Services: Which Solution? >
      • Recommended IoT Solutions
      • Platform-Specific IoT Solutions
      • Other IoT Solutions
      • Not tested IoT Solutions
      • Notification Solutions
    • Get Date and Time from Internet with NTP
    • Fast and Easy WiFi Connection with QR-Code
  • Tools
    • How to Start?
    • Reference >
      • Asking for Help
      • LaunchPad and BoosterPack Boards Pins Maps
      • Ruler
      • Standards for Connectors
    • Training >
      • Texas Instruments Workshops
      • Embedded Systems: Shape The World — MOOC edX UTAustinX UT.6.02x
      • Embedded Systems - Shape The World: Microcontroller Input/Output — MOOC edX UTAustinX UT.6.10x
      • Embedded Systems - Shape The World: Multi-Threaded Interfacing — MOOC edX UTAustinX UT.6.20x
      • Real-Time Bluetooth Networks: Shape the World — MOOC edX UTAustinX UT.RTBN.12.01x
      • Systems Thinking with Texas Instruments Robotics System Learning Kit
    • Books >
      • Getting Started with the MSP430 LaunchPad
      • Getting Started with Arduino
      • Arduino Cookbook
    • IDEs >
      • Texas Instruments Code Composer Studio 6
      • Texas Instruments Code Composer Studio Cloud
      • Energia
      • Tools for Documentation
    • Equipment >
      • Saleae Logic Analyser
      • Rigol DS1102E Oscilloscope
      • XDS110 Debug Probe with EnergyTrace​
      • Segger J-Link Programmer-Debugger
  • Projects
    • Libraries >
      • Master I²C Software Library
      • Date and Time Library
      • highView Library Suite
      • LCD_screen Library Suite
      • Others Libraries
    • smartDevices >
      • I²C smartColours Smart Sensor
      • I²C smartRFID Smart Sensor
      • I²C smartLED Display
      • I²C smartControls Smart Device
      • I²C smartWiFi Smart Device
      • I²C smartBLE Smart Device
      • I²C smartNode Smart Device
    • IoT Projects >
      • Remote e-Paper Messages Panel
      • Industrial IoT Project
      • Remote Contactless Temperature Monitor
      • Using Node-RED for IIoT
      • Low Power Home Network Weather Monitoring
      • Updated Low Power Home Network Weather Monitoring
      • Weather and Security Station with Blynk
      • SensorTag to Blynk Using Node-RED
      • Pervasive Reporting
    • AI Projects >
      • Colour Recognition with Neural Network
    • Other Projects >
      • Portable Particulate​ Matter Monitor
      • FRAM-based E-Paper Screen Controller
      • General Purpose 3.5" Screen
      • Colour Recognition with Neural Network
      • A Low Power Weather Station
      • Digital Volt-Amp-Watt Meter
      • Mobile Measurement with LCD Display
      • Screen with SRAM for GUI
      • Volt-Amp-Watt-Meter for Grove
      • Multi-Touch Project with CapTIvate

chipKIT Uno32 and uC32

After some time with the Arduino, I faced with insufficient resources, either memory or processing power.

The Arduino Mega might have been an option, but it's based on the ATmega2560 which remains an 8-bit processor. Price comparison was also a factor.

I went for the 32-bit board chipKIT Uno32 designed by Digilent and built around the Microchip® PIC32MX320F128. The chipKIT uC32 was released later on, with the PIC32MX340F512H.
Picture
Main specifications of the Uno32 include 80 Mhz 32-bit MIPS, 128 kB of Flash, 16 kB of RAM, Arduino™ Uno form factor and 42 available I/Os. The uC23 comes with more memory, 512 kB of Flash and 32 kB of RAM.

The programming IDE is exactly the same as for the Arduino, except it handles both AVR and PIC32-based environments through the selection of the board. It is called mpide for multi-platform IDE. 

Claiming a 100% compatibility with Arduino may seem misleading since an 80 MHz 32-bit platform doesn't act as a 16 MHz 8-bit one.

Find here how to cope with the compatibility issues.
Picture
The IDE or integrated development environment is called MPIDE for Multiple Platform IDE. It comes in two versions, one compatible with the Wiring / Arduino 0023 framework and another with the 1.5 framework.

As Processing-based Wiring-derived Arduino-like, both are platform-agnostic and run on Windows, Mac OS X or Linux.  

Looking for more features, I designed embedXcode, a template I could use with Xcode.
Picture

Three chipKIT Uno32 Customisations

Here are three customisations for the chipUNO32:
  • A built-in real time clock,
  • A shield with an I²C to serial bridge, with 2 I²C connectors and 1 serial connector,
  • Another shield with a prototype area and 1 serial connector for Serial1. 
Picture

Conclusion

I like the many GPIOs available, the fast MCU and the large memory, especially on the uC32.

The Uno32 is listed at USD27 while the uC32 goes for USD35. The larger memory is worth the extra USD8, especially when used with the WiFi shield. 


The chipKIT WiFi shield is based on the MRF24WG0MA, which unfortunately requires a software TCP/IP stack. There is still a quantified overhead for the libraries provided by Microchip and Digilent, albeit optimised for a light footprint. For example, the WiFiScan sketch weights 80 kB. 

Whatever the choice, both boards offer unparalleled value and performance when compared with the Arduino Uno board.
Picture

Pros

  • A 32-bit micro-controller
  • Lost of I/Os, large memory, fast micro-controller, a second hardware UART port
  • An Arduino form-factor
  • Processing-based Wiring-derived Arduino-like MPIDE

Cons

  • Sketches require some adaptation due to high speed and 32-bit
  • Two releases of MPIDE, 0023 and 1.5

Wrap-Up

  • A 32-bit micro-controller at the price of an 8-bit 
  • Early compatibility issues have been solved

Links

  • chipKIT Uno32 and uC32
  • chipKIT WF32 and chipKIT WiFire 
  • MPIDE
  • chipKIT website and chipKIT forum
  • Digilent website and Diligent forum
Picture
Picture
Picture
This platform is supported by embedXcode, embedded computing on Xcode.
Powered by Create your own unique website with customizable templates.