226: Camp AVR Vs. Camp Microchip

Embedded.fm · 14 Dec 2017 · 1h 20m · Episode 226

What this episode covers

Jay Carlson, a PhD student and electrical engineer, explains his methodology for comparing 21 microcontrollers under $1, covering architecture, performance, and tooling. He details the significant impact of flash prefetching on execution speed and power, and critiques the poor compiler performance of Keil C51 compared to GCC. Carlson also evaluates various debuggers and IDEs, recommending the J-Link for ARM and criticizing Microchip's MPLAB and PIC toolchain.

Mentioned

Companies
Microchip, Segger, Silicon Labs, NXP, Atmel, Nordic, TI, Digi, Arrow, Newark
Chips
AVR, PIC, STM32, EFM8
Tools
J-Link, MPLAB, Keil, GCC
Also
Jay Carlson, The Amazing $1 Microcontroller

Other shows on the same ground, closest first.

  • Predictable Designs Podcast · 18m

    Microcontroller Showdown: Selecting the Best One for Your Project

    Host John Teel explains how to select the right microcontroller for electronic products, warning against mid-project changes and emphasizing the need for 'room to grow' in GPIO and performance. He categorizes microcontrollers into 8-bit, 16-bit, and 32-bit families, detailing specific architectures like the 8051, PIC, AVR, MSP430, STM32, and ESP32. Teel compares their costs, peripherals, and development ecosystems, noting that 32-bit chips like the STM32 and ESP32 have become cost-competitive with 8-bit options while offering superior features.

  • The Spark Gap · 36m

    The Spark Gap - Episode 1

    Hosts Karl and Corey discuss the role of microcontrollers in embedded electronics, starting with a clarification that Arduino is a software ecosystem and community rather than a microcontroller itself. They analyze the trade-offs of abstraction in Arduino, citing a specific failure where the library's slow ADC sampling rate made it unsuitable for audio processing. The conversation then compares various manufacturers, highlighting Microchip's longevity and documentation, NXP's I2C ecosystem, and the challenges of using Freescale parts due to fragmented documentation and lack of community support.

  • Predictable Designs Podcast · 18m

    Microcontroller or Microprocessor - Which Do You Need for Your Project?

    John Teel, host of the Predictable Designs Podcast, explains how to choose between a microcontroller (MCU) and a microprocessor (MPU) for electronic products. He argues that 90% of projects should start with an MCU, citing the STM32F469 as a high-performance example that bridges the gap for displays. Specific use cases like 1080p video, USB 3.0, and complex GUIs require an MPU, while battery life and simple control favor an MCU. Teel also contrasts development platforms like Arduino and Raspberry Pi to guide prototype-to-production decisions.

  • The Spark Gap · 43m

    The Spark Gap - Episode 17

    Hosts Carl and Corey discuss the fragmented landscape of in-circuit programmers and debuggers for embedded systems, highlighting the pain of dealing with incompatible protocols like JTAG, SWD, and proprietary interfaces from vendors such as NXP, Microchip, and ST. They detail the high cost of commercial tools like the SEGGER J-Link and the risks of relying on bootloaders, citing a $58,000 loss by SparkFun on their MicroView Kickstarter due to a bootloader overwrite error. The hosts advocate for understanding memory maps and linker scripts, and suggest building custom programmers or using open-source tools like OpenOCD to gain deeper knowledge of microcontroller internals and avoid vendor lock-in.

  • The Spark Gap · 1h 00m

    The Spark Gap - Episode 28

    Andrew Retallack of Crash Bang Prototype discusses his journey from software to hardware, focusing on his T-board and Toadstool projects designed to move developers away from Arduino abstraction. He details the technical benefits of using Atmel microcontrollers directly, including faster analog reads and register-level control, while comparing the MSP430 and ATmega platforms. Retallack also covers his manufacturing challenges in South Africa, his use of KiCad and Blender for design, and his plans for crowdfunding.

The summary, chapters and topics are generated from the episode’s audio by this directory, not written by Embedded.fm. The episode itself belongs to its publisher.