<< Older Posts
Team Blog

Recently, our friends over at Open Music Labs created an awesome little shield for Maple and Arduino they call the Audio Codec Shield. The Audio Codec Shield can pump 44k 16-bit audio samples per second into and out of your Maple sketches. What happens to those samples in a sketch is entirely up to you. The guys at Open Music Labs really went above and beyond and created a great library and set of examples to go along with the Codec Shield. In just a few seconds you can load up an example for a delay effect, a flanger, a tremolo, a sine generator, or an LFO. Overall, the shield is great!

By coincidence, we got one of these shields right around the same time as the Maple Native Beta boards came in. These boards have a full 1MB of external memory, so obviously we had to wire one up to an Audio Codec Shield and see what we could do with it. We were able to change just a few lines from the “fixed delay” example code and turn that 1MB of ram into a full 11 seconds of audio buffer for a loop pedal! Check out the video to see our little Maple Native Looper in action. Sorry for cheesy guitar playing! Check out the code to see how it works, and compare it against the effect.

Have you done anything fun with audio and a Maple? Let us know!

Posted by poslathian on Wednesday, November 16th, 2011 | 1 Comment »

We’ve got our blink on… Python style!

If you haven’t had a chance to check out the specs on Maple Native:

  • 72MHz
  • 1MB external SRAM
  • DACs
  • I2Cs
  • SPIs
  • UARTs
  • ADCs
  • FSMC

To summarize, its got some junk in the trunk.

Last week we had a meeting to figure out a good way to demonstrate why EVERYBODY will not be able to live without it, and AJ chimes in with: “Has anybody played around with PyMite?”

PYTHON!… on a microcontroller! That you can interact with!  At runtime! Tooo good to be true.

Took me a week of randomly banging on a keyboard but yesterday we typed blinky into interactive pymite (IPM) and… let’s just say I’m giddy.

Anyway, we think it might be ready for some users to play around with. It’s still rough around the edges, but if you’ve got a Maple Native or a Maple RET6 Edition and want to partake in some luscious Python goodness, then grab the latest release from our projects repo on GitHub (sorry, but this little slice of heaven is currently only usable from the command line toolchain):

$ git clone git://github.com/leaflabs/projects.git

Then follow the hastily written up instructions on the wiki.

Dave

Posted by cospan on Friday, September 23rd, 2011 | 12 Comments »

Maple IDE 0.0.12 is now available for your pleasure.

Changelog

New Stuff

  • Support for Maple Native Beta. The Native’s SRAM chip is turned on and accessible by default.
  • Dynamic memory allocation working on all boards.
  • FreeRTOS support.
  • HardwareSPI: pin accessor functions nssPin(), mosiPin(), misoPin(), and sckPin() added.
  • Vastly improved documentation for the low-level libmaple library.

Bugfixes

  • HardwareTimer::setPeriod() fixed (broken due to a typo in the last release).
  • Various fixes to low-level timer support in timer.c.
  • RAM builds working again on all boards. (RAM builds were broken on the RET6 boards, see the relevant forum thread here.

Miscellaneous

  • stm32.h expanded (and its declarations are more respected elsewhere in the codebase). This makes libmaple more portable to more ST chips.
  • Optimized EXTI and timer IRQ handlers.
  • Git tags have gone back to “vX.Y.Z” naming conventions, so “v0.0.12-maintenance” isntead of “0.0.12-maintenance”. This seems to be more common practice, and it’s what we used to do. The old branches and tags will still be around, but we’ll keep using the new conventions from now on.

Command line toolchain

  • Library folders are added to the include path, so they can be included directly.
  • Documentation sources were removed and broken out into their own repository.
  • New examples added, others improved.

Deprecations

  • usart.h rx_buf field in struct usart_dev is deprecated.
    The pointer is accessible via the rb field, so rx_buf is redundant. Having it at all implies that sizeof(struct usart_dev) is not a compile-time constant, which is undesirable. It also makes it impossible to dynamically allocate or reassign the buffer used by the rb field. This field will be removed in the next release.
  • stm32.h PCLK1, PCLK2, and NR_INTERRUPTS are deprecated. Use STM32_PCLK1, STM32_PCLK2, and STM32_NR_INTERRUPTS, respectively, instead.

Give it a test drive and let us know how it goes!

Posted by jessb on Wednesday, September 14th, 2011 | 1 Comment »

Maple Native Betas will be going on sale tomorrow morning at around this time (10:30 am EST). This is a limited run of one hundred boards, so act quickly if you’re desperate for one. See you all tomorrow!

Posted by jessb on Thursday, September 8th, 2011 | Comments Off

In the past couple of months we’ve been contacted by a few users who have had problems with the power circuitry on Maple, which has led to the discovery of a couple of issues we wanted to make sure everybody was aware of.

First, this has been corrected in the docs and errata for awhile but we didn’t have a blog post about it: although the silkscreen on Maple, Maple RET6, and Maple Mini indicates that you should be able to power the board at up to 18V, this is incorrect. The voltage regulators are rated only up to 16V; our tests indicate that they start behaving incorrectly at anything about 12V, even at low current loads, so this is recommended as the maximum voltage input for the board.

In addition, while the maximum continuous output current for the board is 250mA, if you are powering the board off higher voltages the amount off current it can supply goes down, due to the regulators needing to dissipate the extra power. So if you are powering the board off 12V, the max current is about 40mA at room temperature. In general (again, at room temperature) the max power dissipation (PD) for the chip is about .37W, and output current = PD/(Vin-Vout). For exact max current calculations, consult the data sheet here (PDF warning).

Last, and probably most serious, we’ve found that on several batches of Maples, one of the conditioning capacitors used was not up to the proper voltage rating. (Please note that this effects only Maples and RET6s, not Maple Mini.) The capacitor C11 should have been rated to 16V; instead, it’s only rated to 6V. This is a particularly devious problem since capacitors can be over-voltaged for a long time before failing. If you power your board exclusively from sources less than 6V (for example, USB is fine), you’re probably okay. But if you routinely power your board from greater than 6V, you risk eventually blowing this cap and shorting the board. This likely won’t happen immediately — we’ve been testing boards continuously at 12V for over a week now with no ill effects — but in general, “it ought not to be attempted.”

Probably the easiest fix for this problem is to simply remove C11, and in fact, for the foreseeable future we will be shipping Maples with C11 taken off. This picture indicates the appropriate capacitor to be removed with a yellow X:

Maple with C11 indicated

C11 is in the upper left quadrant of the board, the bottom in a column of six passives right to the left of the power selection header. If you need to power your board at over 6V and don’t have the ability to remove the capacitor yourself, please get in touch with us and we will work something out.

We truly apologize for any trouble or confusion this may have caused! Obviously, if these issues have caused catastrophic board failure for anybody, we are more than happy to replace or refund your board. Please feel free to contact us with any questions or concerns at info@leaflabs.com.

Posted by jessb on Friday, August 12th, 2011 | 1 Comment »

That’s the lot of ‘em, guys. Thanks so much for the super-successful sale. Of course, you can still buy Mini at the usual price of $34.99. Can’t wait to see what everybody does with them.

Posted by jessb on Tuesday, June 7th, 2011 | Comments Off



Contact webmaster@leaflabs.com with website issues

Powered by WordPress, nginx, Linux, and coffee.

This site intended to be valid HTML 4.01 Strict. Best viewed with any standards-compliant browser.

Copyright LeafLabs, LLC, ©2009-2011.
Unless otherwise noted, all content on this website is released under the Creative Commons Attribution Licence 3.0

Hello Anonymous! Login?