Newer Posts >>
<< Older Posts
Team Blog

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 »

The long wait is over! Maple Native’s beta release is on sale! Hurray!

$74.99


Specifications

  • MCU: STM32F103ZET6, a 32-bit ARM Cortex M3 microprocessor.
  • Clock Speed: 72 MHz
  • 512 KB Flash, 64 KB SRAM (on-chip), 1 MB SRAM (external)
  • 106 GPIOs
  • 17 PWM pins, at 16 bit resolution
  • 21 ADC pins, at 12-bit resolution
  • 3 SPI peripherals
  • 2 I2C peripherals
  • 12 Channels of direct memory access (DMA), with 2 DMA controllers
  • 3 USARTs (serial port), 2 UARTs
  • 2 advanced, 4 general-purpose, and 2 basic timers
  • Dedicated USB port for programming and communications
  • Dimensions: 4″ × 2.1″

Why is this a Beta?

Experience has (finally) taught us that finalizing the design of a new board might take a couple of tries. Thus, rather than trumpeting this design’s utter perfection (from the rooftops or otherwise), we’re going to give ourselves a little wiggle room. That is to say, maybe we’ll move some pins around between now and the final version, like we did on Maple rev 5. Maybe we’ll mess with the silkscreen. Maybe we’ll fix a couple of bugs. Nothing major; just wiggles.

In addition to that, there are still some software issues which we’re working out before we declare this battle station fully operational. In particular, we’re working on making the 1 MB of external SRAM as easy to use as possible. Technical details for the curious after the jump.

Read the rest of this entry »

Posted by mbolivar on Friday, September 9th, 2011 | Comments Off

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?