Embedded Computing
  • About
  • Blog
  • Hardware
    • Which Platform?
    • Controller Platforms >
      • Adafruit Platform
      • Arduino Plaform
      • BBC micro:bit
      • Espressif Platform
      • LaunchPad Plaform
      • Raspberry Pi Platform (MCU)
      • Seeeduino Platform
      • Teensy Plaform
    • Computer Platforms >
      • BeagleBone Platform
      • Raspberry Pi Platform (SBC)
      • UDOO Platform
    • Peripherals >
      • BoosterPacks for LaunchPads
      • Shields
      • Grove System
      • Sensors
      • Actuators
    • Displays >
      • E-Paper Displays
      • Reflective Displays
      • TFT Displays
      • LCD Displays
    • Legacy Platforms
  • Software
    • 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
      • Boards Pins Maps
      • Ruler
      • Boards and Plugs
      • I²C Logic Level Converter
      • 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
    • IDE >
      • The Battle of IDEs >
        • Arduino IDE 2.0
      • More Options
      • Assessing the Next Generation of IDEs
      • Tools for Documentation
    • Equipment >
      • Saleae Logic Analyser
      • Rigol DS1102E Oscilloscope
      • XDS110 Debug Probe with EnergyTrace​
      • Segger J-Link Programmer-Debugger
      • Nordic Power Profiler Kit II
  • Projects
    • Libraries >
      • Master I²C Software Library
      • Date and Time Library
      • highView 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 Pictures Panel
      • 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 >
      • Driving a Large E-Paper Display with a Compact Xiao RP2040
      • Low-Power E-Paper Weather Station
      • 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
Powered by Create your own unique website with customizable templates.