Arduino Technology
Arduino vs. Maple – early impressions

mapleAndArduino_cc.jpg

For those that haven’t heard, LeafLabs’ Maple board is an Arduino-compatible microcontroller platform based on an STM32 ARM Cortex-M3 chip. The full feature list includes –

  • Microcontroller: STM32 F103RB
  • Clock Speed: 72 MHz
  • Operating Voltage: 3.3V
  • Input Voltage (recommended): 3.0V-18V
  • Digital I/O Pins: 39
  • Analog Input Pins: 16
  • Flash Memory: 128 KB
  • SRAM: 20KB
  • 64 Channel nested vector interrupt handler (including external interrupt on GPIO’s)
  • Integrated SPI/I2C and 7 Channels of Direct Memory Access (DMA)
  • Supplies up to 800mA @ 3.3v
  • Support for low power and sleep modes (<500uA)
  • Dimensions: 2.05″x2.1″

I recently got my hands on one of these new boards, and although a fully-functioning version of the Maple IDE has yet to be released, I compiled available source files from the project’s repository, allowing me to upload a sketch from Windows XP (via Parallels on OS X).

My example sketch uses the shiftOut function to create a sine waveform via an MCP4921 DAC chip. I also ran the same test setup on an Arduino Duemilanove (ATMega328p) and superimposed the two resulting signals for the sake of comparison –

arduinoVSMaple-sine.jpgArduino Duemilanove (ATMega328p) in blue, LeafLabs Maple (STM32F103RB) in green
Note – differing voltage ranges due to difference in DAC VREF (5V, 3.3V)

As expected, Maple’s STM32 (running @ 72MHz) updates the DAC a whole lot faster than Arduino’s ATMega328p (@ 16MHz) – in fact about 9 times faster! This was a bit of a surprise to me as I’d only expected a 4.5x speed boost considering the difference in clock speeds. Definitely good news for Arduino users in need of extra clock cycles, but for most, the Duemilanove still offers big advantages – specifically:

  • Maple IDE software still in prerelease development stage
  • ATMega328p available in easily replaceable DIP package
  • Lower-level code (i.e. – port manipulation, timer interrupts) used with Arduino would need to be rewritten for the STM32
  • Arduino widely available in multiple forms, great big user community

In any case, it’s very cool to see more options (and speed!) made available to the Arduino community. It’ll definitely be interesting to see how things progress with the Maple and its slated relatives.

103 thoughts on “Arduino vs. Maple – early impressions

  1. Only snag I can see with that is the surface mounted chip.

    When you frag that one, how will you replace it? Indeed, how will we take the programmed chip and put it into a waiting board?

    Faster and better is good. Smaller? Not so much, any more.

    1. yups – and I’ve yet to see any DIP chips offering similar performance.

      Perhaps an stm32 header board design could be produced to make the Maple more modular – then again 64pins is a lot of headers :/

      1. Its been said this feature (replaceable DIPs) is a big part of arduino>wiring. Its essentially EASIER to do this with smaller avr’s, but with a 64pin tqfp package, the extra headers would add significantly to the cost and would be quite cumbersome. Furthermore, the real added benefit of being able to plop the dip onto a breadboard would mean youd have to line up 32 pins in a column and would be huge. Im just not sure a DIP adapter is right for the stm32. But hey, if people really want it, well make it! Replacement dips wouldnt be cheap either, probably around 20$ before high volume. Message received though. Headers are expensive!

  2. Pingback: safest wow gold
  3. Pingback: Lululemon Outlet
  4. Pingback: ray bans replica
  5. Pingback: asics gel noosa
  6. Pingback: cheap asics
  7. Pingback: asics gel 2000
  8. Pingback: asics noosa tri 9
  9. Pingback: asics gel kinsei 5
  10. Pingback: cheap asics
  11. Pingback: mens asics
  12. Pingback: Air Max Baratas
  13. Pingback: Air Max 90 Baratas
  14. Pingback: air max homme
  15. Pingback: cheap asics
  16. Pingback: mens asics
  17. Pingback: cheap asics
  18. Pingback: asics gel series
  19. Pingback: asics chafe free
  20. Pingback: asics kinsei 4
  21. Pingback: toms SKO
  22. Pingback: Lululemon Outlet
  23. Pingback: Coach Wallets
  24. Pingback: asics gt 2170
  25. Pingback: Coach Purses
  26. Pingback: Cheap Beats dr dre
  27. Pingback: fastest wow gold
  28. Pingback: asics kinsei 4
  29. Pingback: asics gt 2170
  30. Pingback: safest wow gold
  31. Pingback: asics kinsei 4
  32. Pingback: cheap asics
  33. Pingback: asics noosa tri 9
  34. Pingback: Cheap Beats by dre
  35. Pingback: cheap asics
  36. Pingback: asics gel kinsei 5
  37. Pingback: asics gt 2170
  38. Pingback: cheap asics
  39. Pingback: asics gt 2170
  40. Pingback: asics kayano 19
  41. Pingback: cheap asics
  42. Pingback: fastest wow gold
  43. Pingback: safest wow gold

Comments are closed.

Tagged