feature article
Subscribe Now

A Bluetooth/ZigBee Mashup

Freescale’s Kinetis MCUs Offer a Choice of Interface; or No Choice At All

Itching to invent your own electronic door locks? Freescale has the chip for you. Or your new LED lighting project. Or that home-automation system you’ve been meaning to create. If it’s small, cheap, and needs low-energy wireless communications – a trifecta that covers just about everything these days – you may want to look at the new Kinetis.

What’s that? Don’t know about the new Kinetis? You’re forgiven, because Freescale (soon to become part of NXP) has an awful lot of Kinetis chips already, and it’s not easy to keep them all straight. The ones you want to remember this week are called KW20, KW30, and KW40.

Like other Kinetis microcontrollers, these ones are ARM-based chips with a bit of on-chip RAM and ROM, making them standalone devices – if you’re lucky. What makes the new chips different from their Kinetis brethren is their wireless interfaces. The KW20 comes with an IEEE 802.15.4 interface; the KW30 has a Bluetooth Low Energy (BLE) interface, and the KW40 has both.

All three chips have the same ARM Cortex-M0+ CPU running at 48 MHz, so they ain’t fast, but that’s not the point. All three also come with crypto accelerators, an ADC and a DAC, timers, various serial interfaces, a random-number generator, and, surprisingly, a capacitive touchscreen interface. That smorgasbord of goodies is pretty typical among Kinetis chips (indeed, among microcontrollers in general), apart from the wireless interfaces. The 802.15.4 and Bluetooth interfaces make these a bit special. In fact, the KW40 is Freescale’s first Bluetooth Low Energy interface ever.

If you’ve ever implemented a Bluetooth interface, you know that it’s an insanely complicated standard. For all of their apparent simplicity, Bluetooth and BLE are remarkably complex under the hood. That’s why you want a dedicated MCU handling the protocol stack for you, and Freescale obliges by supplying all the software/firmware you’ll need to make the KW30 or KW40 jump through the appropriate hoops.

Conversely, 802.15.4 is… not like Bluetooth. Like a lot of IEEE standards, 802.15.4 is a “half standard.” That is, it defines the physical layers of the interface (even though “physical” seems oddly out of place with a wireless standard), but not the logical layers above it. That’s why it’s been incorporated as part of several other standards, most notably ZigBee. At any rate, 802.15.4 is a handy starting point for any low-power, short-distance, low-data-rate wireless communications protocol. You could even invent your own. That’s what the KW20 or KW40 are for.

Why would you want both wireless interfaces on the same chip? Isn’t that just hedging your RF bets? No, Freescale believes there is a category of gadgets that really do need both at the same time. An electronic door lock, for example, may use BLE to talk to the customer’s smartphone acting as a remote key fob. But said lock might also be part of a home-automation network, alerting the lighting controller or the thermostat that The Master has returned home.

So why not go whole hog and make a KW50 chip with BLE, 802.15.4, and Wi-Fi? You could talk to almost anything in the world! Yes, but you’d also burn a bit too much energy for the current Kinetis (Kinetii?), and the wee little Cortex-M0+ just really isn’t up to the task. If you want Wi-Fi with your Bluetooth, you’re going to have to do it off-chip. Or just look for a different microcontroller.

The energy thing brings us back to another KW20/30/40 feature: their on-chip DC/DC converters. While most MCUs can operate at fairly low voltages, the new chips make a point of playing nice with coin cells and/or alkaline batteries. The chips include both buck and boost converters, the former tolerating 2.1 – 4.2V, and the latter supporting 0.9 – 1.8V operation. No word on the static-electricity input option.

Prices for these little guys are in the $2 range, and packages are commensurately small. Oddly, the KW30 comes in a smaller package than the other two – a 32-pin QFN instead of a 48-pin package – on the theory that BLE designers are likely creating some sort of wearable device and are therefore obsessive about size and weight. The tradeoff for the skinny package is fewer I/O options, but that’s the deal you make. If you want 802.15.4, you get the larger package and the expanded pinout.

Atmel, Microchip, STMicroelectronics, and even NXP – Freescale’s soon-to-be-parent – make competing MCUs with 802.15.4 interfaces. They’re not hard to find. There are also other BLE-enable devices out there. The new Kinetis triplets aren’t a first for the industry, just a first for Freescale. But that’s still significant because (a) choice is a good thing, and (b) Freescale has some very nice prototyping and support options. A lot of designers just prefer Freescale, and vendor loyalty runs surprisingly strong in this industry. Nothing wrong with that. Now there are no more excuses for putting off that automated LED lock project. 

8 thoughts on “A Bluetooth/ZigBee Mashup”

  1. Pingback: GVK BIO
  2. Pingback: siap ppdb sulsel
  3. Pingback: zdporn
  4. Pingback: DMPK
  5. Pingback: ADME
  6. Pingback: Boliden
  7. Pingback: Diyala Engineering

Leave a Reply

featured blogs
Apr 18, 2024
Are you ready for a revolution in robotic technology (as opposed to a robotic revolution, of course)?...
Apr 18, 2024
Analog Behavioral Modeling involves creating models that mimic a desired external circuit behavior at a block level rather than simply reproducing individual transistor characteristics. One of the significant benefits of using models is that they reduce the simulation time. V...
Apr 16, 2024
Learn what IR Drop is, explore the chip design tools and techniques involved in power network analysis, and see how it accelerates the IC design flow.The post Leveraging Early Power Network Analysis to Accelerate Chip Design appeared first on Chip Design....

featured video

How MediaTek Optimizes SI Design with Cadence Optimality Explorer and Clarity 3D Solver

Sponsored by Cadence Design Systems

In the era of 5G/6G communication, signal integrity (SI) design considerations are important in high-speed interface design. MediaTek’s design process usually relies on human intuition, but with Cadence’s Optimality Intelligent System Explorer and Clarity 3D Solver, they’ve increased design productivity by 75X. The Optimality Explorer’s AI technology not only improves productivity, but also provides helpful insights and answers.

Learn how MediaTek uses Cadence tools in SI design

featured chalk talk

Electrical Connectors for Hermetically Sealed Applications
Sponsored by Mouser Electronics and Bel
Many hermetic chambers today require electrical pathways to provide internal equipment with power, data or signals, or to receive data and signals from equipment within the chamber. In this episode of Chalk Talk, Amelia Dalton and Brad Taras from Cinch Connectivity Solutions explore the role that seals and connectors play in the performance of hermetic chambers. They examine the methodologies to determine hermetic seal leaks, the benefits of epoxy hermetic seals, and how Cinch Connectivity’s epoxy-based seals and hermetic connectors can add value to your next design.
Aug 22, 2023
28,585 views