December Circuit Cellar: Sneak Preview

The December issue of Circuit Cellar magazine is coming next week. Don’t miss this last issue of Circuit Cellar in 2018. Pages and pages of great, in-depth embedded electronics articles prepared for you to enjoy.

Not a Circuit Cellar subscriber?  Don’t be left out! Sign up today:

 

Here’s a sneak preview of December 2018 Circuit Cellar:

AI, FPGAs and EMBEDDED SUPERCOMPUTING

Embedded Supercomputing
Gone are the days when supercomputing levels of processing required a huge, rack-based systems in an air-conditioned room. Today, embedded processors, FPGAs and GPUs are able to do AI and machine learning kinds of operation, enable new types of local decision making in embedded systems. In this article, Circuit Cellar’s Editor-in-Chief, Jeff Child, looks at these technology and trends driving embedded supercomputing.

Convolutional Neural Networks in FPGAs
Deep learning using convolutional neural networks (CNNs) can offer a robust solution across a wide range of applications and market segments. In this article written for Microsemi, Ted Marena illustrates that, while GPUs can be used to implement CNNs, a better approach, especially in edge applications, is to use FPGAs that are aligned with the application’s specific accuracy and performance requirements as well as the available size, cost and power budget.

NOT-TO-BE-OVERLOOKED ENGINEERING ISSUES AND CHOICES

DC-DC Converters
DC-DC conversion products must juggle a lot of masters to push the limits in power density, voltage range and advanced filtering. Issues like the need to accommodate multi-voltage electronics, operate at wide temperature ranges and serve distributed system requirements all add up to some daunting design challenges. This Product Focus section updates readers on these technology trends and provides a product gallery of representative DC-DC converters.

Real Schematics (Part 1)
Our magazine readers know that each issue of Circuit Cellar has several circuit schematics replete with lots of resistors, capacitors, inductors and wiring. But those passive components don’t behave as expected under all circumstances. In this article, George Novacek takes a deep look at the way these components behave with respect to their operating frequency.

Do you speak JTAG?
While most engineers have heard of JTAG or have even used JTAG, there’s some interesting background and capabilities that are so well know. Robert Lacoste examines the history of JTAG and looks at clever ways to use it, for example, using a cheap JTAG probe to toggle pins on your design, or to read the status of a given I/O without writing a single line of code.

PUTTING THE INTERNET-OF-THINGS TO WORK

Industrial IoT Systems
The Industrial Internet-of-Things (IIoT) is a segment of IoT technology where more severe conditions change the game. Rugged gateways and IIoT edge modules comprise these systems where the extreme temperatures and high vibrations of the factory floor make for a demanding environment. Here, Circuit Cellar’s Editor-in-Chief, Jeff Child, looks at key technology and product drives in the IIoT space.

Internet of Things Security (Part 6)
Continuing on with his article series on IoT security, this time Bob Japenga returns to his efforts to craft a checklist to help us create more secure IoT devices. This time he looks at developing a checklist to evaluate the threats to an IoT device.

Applying WebRTC to the IoT
Web Real-time Communications (WebRTC) is an open-source project created by Google that facilitates peer-to-peer communication directly in the web browser and through mobile applications using application programming interfaces. In her article, Callstats.io’s Allie Mellen shows how IoT device communication can be made easy by using WebRTC. With WebRTC, developers can easily enable devices to communicate securely and reliably through video, audio or data transfer.

WI-FI AND BLUETOOTH IN ACTION

IoT Door Security System Uses Wi-Fi
Learn how three Cornell students, Norman Chen, Ram Vellanki and Giacomo Di Liberto, built an Internet connected door security system that grants the user wireless monitoring and control over the system through a web and mobile application. The article discusses the interfacing of a Microchip PIC32 MCU with the Internet and the application of IoT to a door security system.

Self-Navigating Robots Use BLE
Navigating indoors is a difficult but interesting problem. Learn how these two Cornell students, Jane Du and Jacob Glueck, used Received Signal Strength Indicator (RSSI) of Bluetooth Low Energy (BLE) 4.0 chips to enable wheeled, mobile robots to navigate towards a stationary base station. The robot detects its proximity to the station based on the strength of the signal and moves towards what it believes to be the signal source.

IN-DEPTH PROJECT ARTICLES WITH ALL THE DETAILS

Sun Tracking Project
Most solar panel arrays are either fixed-position, or have a limited field of movement. In this project article, Jeff Bachiochi set out to tackle the challenge of a sun tracking system that can move your solar array to wherever the sun is coming from. Jeff’s project is a closed-loop system using severs, opto encoders and the Microchip PIC18 microcontroller.

Designing a Display System for Embedded Use
In this project article, Aubrey Kagan takes us through the process of developing an embedded system user interface subsystem—including everything from display selection to GUI development to MCU control. For the project he chose a 7” Noritake GT800 LCD color display and a Cypress Semiconductor PSoC5LP MCU.

November Circuit Cellar: Sneak Preview

The November issue of Circuit Cellar magazine is coming soon. Clear your decks for a new stack of in-depth embedded electronics articles prepared for you to enjoy.

Not a Circuit Cellar subscriber?  Don’t be left out! Sign up today:

 

Here’s a sneak preview of November 2018 Circuit Cellar:

SOLUTIONS FOR SYSTEM DESIGNS

3D Printing for Embedded Systems
Although 3D printing for prototyping has existed for decades, it’s only in recent years that it’s become a mainstream tool for embedded systems development. Today the ease of use of these systems has reached new levels and the types of materials that can be used continues to expand. This article by Circuit Cellar’s Editor-in-Chief, Jeff Child looks at the technology and products available today that enable 3D printing for embedded systems.

Add GPS to Your Embedded System
We certainly depend on GPS technology a lot these days, and technology advances have brought fairly powerful GPS functionally into our pockets. Today’s miniaturization of GPS receivers enables you to purchase an inexpensive but capable GPS module that you can add to your embedded system designs. In this article, Stuart Ball shows how to do this and take advantage of the GPS functionality.

FCL for Servo Drives
Servo drives are a key part of many factory automation systems. Improving their precision and speed requires attention to fast-current loops and related functions. In his article, Texas Instruments’ Ramesh Ramamoorthy gives an overview of the functional behavior of the servo loops using fast current loop algorithms in terms of bandwidth and phase margin.

FOCUS ON ANALOG AND POWER

Analog and Mixed-Signal ICs
Analog and mixed-signal ICs play important roles in a variety of applications. These applications depend heavily on all kinds of interfacing between real-world analog signals and the digital realm of processing and control. Circuit Cellar’s Editor-in-Chief, Jeff Child, dives into the latest technology trends and product developments in analog and mixed-signal chips.

Sleeping Electronics
Many of today’s electronic devices are never truly “off.” Even when a device is in sleep mode, it draws some amount of power—and drains batteries. Could this power drain be reduced? In this project article, Jeff Bachiochi addresses this question by looking at more efficient ways to for a system to “play dead” and regulate power.

BUILDING CONNECTED SYSTEMS FOR THE IoT EDGE

Easing into the IoT Cloud (Part 1)
There’s a lot of advantages for the control/monitoring of devices to communicate indirectly with the user interface for those devices—using some form of “always-on” server. When this server is something beyond one in your home, it’s called the “cloud.” Today it’s not that difficult to use an external cloud service to act as the “middleman” in your system design. In this article, Brian Millier looks at the technologies and services available today enabling you to ease in to the IoT cloud.

Sensors at the Intelligent IoT Edge
A new breed of intelligent sensors has emerged aimed squarely at IoT edge subsystems. In this article, Mentor Graphics’ Greg Lebsack explores what defines a sensor as intelligent and steps through the unique design flow issues that surround these kinds of devices.

FUN AND INTERESTING PROJECT ARTICLES

MCU-Based Project Enhances Dance Game
Microcontrollers are perfect for systems that need to process analog signals such as audio and do real-time digital control in conjunction with those signals. Along just those lines, learn how two Cornell students Michael Solomentsev and Drew Dunne recreated the classic arcade game “Dance Dance Revolution” using a Microchip Technology PIC32 MCU. Their version performs wavelet transforms to detect beats from an audio signal to synthesize dance move instructions in real-time without preprocessing.

Building an Autopilot Robot (Part 2)
In part 1 of this two-part article series, Pedro Bertoleti laid the groundwork for his autopiloted four-wheeled robot project by exploring the concept of speed estimation and speed control. In part 2, he dives into the actual building of the robot. The project provides insight to the control and sensing functions of autonomous electrical vehicles.

… AND MORE FROM OUR EXPERT COLUMNISTS

Embedded System Security: Live from Las Vegas
This month Colin O’Flynn summarizes a few interesting presentations from the Black Hat conference in Las Vegas. He walks you through some attacks on bitcoin wallets, x86 backdoors and side channel analysis work—these and other interesting presentations from Black Hat.

Highly Accelerated Product Testing
It’s a fact of life that every electronic system eventually fails. Manufacturers use various methods to weed out most of the initial failures before shipping their product. In this article, George Novacek discusses engineering attempts to bring some predictability into the reliability and life expectancy of electronic systems. In particular, he focuses on Highly Accelerated Lifetime Testing (HALT) and Highly Accelerated Stress Screening (HASS).

Security Takes Center Stage for MCUs

Enabling Secure IoT

Embedded systems face security challenges unlike those in the IT realm. To meet those needs, microcontroller vendors continue to add ever-more sophisticated security features to their devices—both on their own and via partnerships with security specialists.

By Jeff Child, Editor-in-Chief

For embedded systems, there is no one piece of technology that can take on all the security responsibilities of a system on their own. Indeed, everything from application software to firmware to data storage has a role to play in security. That said, microcontollers have been trending toward assuming a central role in embedded security. One driving factor for this is the Internet-of-Things (IoT). As the IoT era moves into full gear, all kinds of devices are getting more connected. And because MCUs are a key component in those connected systems, MCUs have evolved in recent years to include more robust security features on chip.

That trend has continued over the last 12 months, with the leading MCU vendors ramping up those embedded security capabilities in a variety of ways—some on their own and some by teaming up with hardware and software security specialists.

Built for IoT Security

Exemplifying these trends, Microchip Technology in June released its SAM L10 and SAM L11 MCU families (Figure 1). The devices were designed to address the increasing risks of exposing intellectual property (IP) and sensitive information in IoT-based embedded systems. The MCU families are based on the Arm Cortex-M23 core, with the SAM L11 featuring Arm TrustZone for Armv8-M, a programmable environment that provides hardware isolation between certified libraries, IP and application code. Security features on the MCUs include tamper resistance, secure boot and secure key storage. These, combined with TrustZone technology, protect applications from both remote and physical attacks.

Figure 1
The SAM L10 and SAM L11 MCU families provide TrustZone for Armv8-M hardware isolation between certified libraries, IP and application code. The MCUs also feature tamper resistance, secure boot and secure key storage.

In addition to TrustZone technology, the SAM L11 security features include an on-board cryptographic module supporting Advanced Encryption Standard (AES), Galois Counter Mode (GCM) and Secure Hash Algorithm (SHA). The secure boot and secure key storage with tamper detection capabilities establish a hardware root of trust. It also offers a secure bootloader for secure firmware upgrades.

Microchip has partnered with Trustonic, a member of Microchip’s Security Design Partner Program, to offer a comprehensive security solution framework that simplifies implementation of security and enables customers to introduce end products faster. Microchip has also partnered with Secure Thingz and Data I/O Corporation to offer secure provisioning services for SAM L11 customers that have a proven security framework.

Wireless MCU

Likewise focusing on IoT security, NXP Semiconductor in February announced its K32W0x wireless MCU platform. According to NXP, it’s the first single-chip device with a dual-core architecture and embedded multi-protocol radio. It provides a solution for miniaturizing sophisticated applications that typically require a larger, more costly two-chip solution. Examples include consumer devices such as wearables, smart door locks, thermostats and other smart home devices.

The K32W0x embeds a dual-core architecture comprised of an Arm Cortex-M4 core for high performance application processing and a Cortex-M0+ core for low-power connectivity and sensor processing. Memory on chip includes 1.25 MB of flash and 384 KB of SRAM. Its multi-protocol radio supports Bluetooth 5 and IEEE 802.15.4 including the Thread IP-based mesh networking stack and the Zigbee 3.0 mesh networking stack.

Figure 2
Security features of the K32W0x MCU include a cryptographic sub-system that has a dedicated core, dedicated instruction and data memory for encryption, signing and hashing algorithms including AES, DES, SHA, RSA and ECC.

Features of the K32W0x’s security system include a cryptographic sub-system that has a dedicated core, dedicated instruction and data memory for encryption, signing and hashing algorithms including AES, DES, SHA, RSA and ECC. Secure key management is provided for storing and protecting sensitive security keys (Figure 2). Support is enabled for erasing the cryptographic sub-system memory, including security keys, upon sensing a security breach or physical tamper event. The device has a Resource Domain Controller for access control, system memory protection and peripheral isolation. Built-in secure boot and secure over-the-air programming is supported to assure only authorized and authenticated code runs in the device.

To extend the on-chip security features of the K32W0x MCU platform, NXP has collaborated with B-Secur, an expert in biometric authentication, to develop a system that uses an individual’s unique heart pattern (electrocardiogram/ECG) to validate identity, making systems more secure than using an individual’s fingerprint or voice.

IP Boosts Security

For its part, Renesas Electronics addressed the IoT security challenge late last year when it expanded its RX65N/RX651 Group MCU lineup.  …

Read the full article in the October 339 issue of Circuit Cellar

Don’t miss out on upcoming issues of Circuit Cellar. Subscribe today!

Note: We’ve made the October 2017 issue of Circuit Cellar available as a free sample issue. In it, you’ll find a rich variety of the kinds of articles and information that exemplify a typical issue of the current magazine.

High-Performance MCUs Serve IoT Device Needs

STMicroelectronics has added two new lines to its STM32 MCU family, the STM32F7x0 and H7x0 Value Line. The MCUs are aimed at enabling system designers to create affordable performance-oriented systems including real-time IoT devices, without compromising features or cyber protection.

These new lines trim embedded flash to the essential, still allowing secure boot, sensitive code and real-time routines to run safely on-chip, leveraging access times over 25 times faster than for external Flash (for cache miss). If needed, applications can scale-up either by adding off-chip serial or parallel (up to 32-bit) memories and leveraging the MCUs’ broad external interfaces and eXecute in Place (XiP) capability, or by porting to other pin-to-pin compatible STM32F7 or STM32H7 MCU lines, with up to 2 MB Flash and up to 1 MB RAM, supported by the same ecosystem with the same easy-to-use tools.

The Value Lines retain powerful STM32F7 and H7 features, such as the state-of-the-art peripherals, hardware accelerators, and the real-time architecture with ultra-fast internal buses, short interrupt latency, and fast (approximately 1 ms) boot-up. The MCUs are also energy efficient, with flexible power modes, gated power domains, and on-chip power management that simplify design and reduce BOM cost.

With execution performance up to 2020 CoreMark at the heart of a secure and power-efficient architecture, the new Value Line devices are the entry point to IoT innovation in medical, industrial, and consumer applications. CoreMark is the EEMBC standardized benchmark for embedded-CPU performance. With up to 125°C as the maximum junction temperature, developers can leverage the full core and peripherals performance even when ambient temperature increases.

The entry-level STM32F730 delivers 1082 CoreMark performance running at 216MHz aided by ST’s unique ART Accelerator for zero-wait-state execution from Flash. Features include cryptographic hardware acceleration, a USB 2.0 High Speed port with PHY, and a CAN interface. There is a 64Kbyte Flash, 8KByte Instruction and data caches for high-performance execution from internal or external memories, 256KB of system RAM and 16 KB plus 64 KB of Tightly Coupled Memory (TCM) for the most critical routines and data.

The STM32F750 adds a TFT-LCD controller with ST’s proprietary Chrom-ART Graphics Accelerator. It has hardware acceleration for hash algorithms, two CAN interfaces, an Ethernet MAC, camera interface, and two USB 2.0 interfaces with Full Speed PHY. There are 64Kbytes of Flash, 4Kbyte instruction and 4 KB data caches, 320 KB of system RAM and 16 KB plus 64 KB TCM.

The high-end STM32H750 delivers 2020 CoreMark performance at 400 MHz and adds a hardware JPEG coder/decoder to the TFT controller and Chrom-ART Accelerator for even faster GUI performance. There is also a CANFD port and additional CANFD with time-trigger capability and best-in-class operational amplifiers and 16-bit ADCs running at up to 3.6 Msample/s. The 128 KB flash, 16 KB instruction and data caches, 864 KB system RAM and the 64 KB+128 KB of TCM all feature ECC (Error Correction Code) for safe execution from internal or external memory.

The STM32F730, STM32F750, and STM32H750 Value Line MCUs are in production, in various LQFP and BGA package options from 64-pin to 240-pin. Prices start from $1.64 for the STM32F730, $2.39 for the STM32F750 and $2.69 for the STM32H750 for orders of 1,000 pieces.

STMicroelectronics | www.st.com

Compact MCU Offers Enhanced Security Features

Maxim Integrated Products has announced the MAX32558 “DeepCover” family of secure microcontrollers that provide advanced cryptography, secure key storage and tamper detection in a 50% smaller package. As electronic products become smaller and increasingly connected, there is a growing threat to sensitive information and privacy, requiring manufacturers to keep security top of mind when designing their devices. While designers should prevent security breaches at the device level, they often struggle with the tradeoff of enhanced security with minimized board space, as well as the cost of design complexity and meeting time to market goals.
The MAX32558 DeepCover Arm Cortex-M3 flash-based secure microcontroller solves these challenges by delivering strong security in a small footprint while simplifying design integration and speeding time to market. It integrates several security features into a small package, including secure key storage, a secure bootloader, active tamper detection and secure cryptographic engines. It also supports multiple communications channels such as USB, serial peripheral interface (SPI), universal asynchronous receiver-transmitter (UART) and I2C, making it ideal for a wide range of applications. Maxim’s long-standing reputation and experience in payment terminal certifications as well as its established support and technology can help streamline the certification process for customers, reducing the process up to 6 months’ time (rather than the typical 12 to 18 months).

Security:Features:

  • Shields sensitive data by providing the most secure key storage available
  • Offers secure bootloader, active tamper detection and secure cryptographic engines
  • Compliant with Federal Information Processing Standard (FIPS) 140-2 L3&4 certification

Compared to a secure authenticator, the MAX32558 provides 30x more general-purpose input/output (GPIO) in the same PCB footprint (4.34 mm x 4.34 mm) wafer-level package (WLP). The closest competitor, meanwhile, offers a device with similar features but in a much larger package (8 mm x 9 mm ball-grid array 121 (BGA121)). The devices reduces footprint by embedding a number of security features to address point-of-sale Payment Card Industry (PCI) pin transaction security (PTS) requirements, as well as several analog interfaces. It provides 512 KB of internal flash and 96 KB of internal SRAM

Easy design integration is enabled by a complete software framework including real-time operating system (RTOS) integration and code examples in evaluation kit. Code can be easily ported from one device to another as it shares the same API software library as the rest of the product family. A pre-certified Europay, Mastercard and Visa (EMV)-L1 stack for smartcard interface is provided. Extensive documentation and code is provided for managing the device lifecycle, such as secure firmware signing and device personalization. The MAX32558 is available at Maxim’s website for $3.80 (1,000-up).

Maxim Integrated | www.maximintegrated.com

September Circuit Cellar: Sneak Preview

The September issue of Circuit Cellar magazine is coming soon. Clear your decks for a new stack of in-depth embedded electronics articles prepared for you to enjoy.

Not a Circuit Cellar subscriber?  Don’t be left out! Sign up today:

 

Here’s a sneak preview of September 2018 Circuit Cellar:

MOTORS, MOTION CONTROL AND MORE

Motion Control for Robotics
Motion control technology for robotic systems continues to advance, as chip- and board-level solutions evolve to meet new demands. These involve a blending of precise analog technologies to control position, torque and speed with signal processing to enable accurate, real-time motor control. Here, Circuit Cellar’s Editor-in-Chief, Jeff Child, looks the latest technology and product advances in motion control for robotics.

Electronic Speed Control (Part 3)
Radio-controlled drones are one among many applications that depend on the use of an Electronic Speed Controller (ESC) as part of its motor control design. After observing the operation of a number of ESC modules, in this part Jeff Bachiochi focuses in more closely on the interaction of the ESC with the BLDC motor.

BUILDING CONNECTED SYSTEMS

Product Focus: IoT Gateways
IoT gateways are a smart choice to facilitate bidirectional communication between IoT field devices and the cloud. Gateways also provide local processing and storage capabilities for offline services as well as near real-time management and control of edge devices. This Product Focus section updates readers on these technology trends and provides a product gallery of representative IoT gateways.

Wireless Weather Station
Integrating wireless technologies into embedded systems has become much easier these days. In this project article, Raul Alvarez Torrico describes his home-made wireless weather station that monitors ambient temperature, relative humidity, wind speed and wind direction, using Arduino and a pair of cheap Amplitude Shift Keying (ASK) radio modules.

FOCUS ON ANALOG AND POWER TECHNOLOGY

Frequency Modulated DDS
Prompted by a reader’s query, Ed became aware that you can no longer get crystal oscillator modules tuned to specific frequencies. With that in mind, Ed set out to build a “Channel Element” replacement around a Teensy 3.6 board and a DDS module. In this article, Ed Nisley explains how the Teensy’s 32-bit datapath and 180 MHz CPU clock affect the DDS frequency calculations. He then explores some detailed timings.

Power Supplies / Batteries
Sometimes power decisions are left as an afterthought in system designs. But your choice of power supply or battery strategy can have a major impact on your system’s capabilities. Circuit Cellar’s Editor-in-Chief, Jeff Child, dives into the latest technology trends and product developments in power supplies and batteries.

Murphy’s Laws in the DSP World (Part 3)
Unpredictable issues crop up when you move from the real world of analog signals and enter the world of digital signal processing (DSP). In Part 3 of this article series, Mike Smith and Mai Tanaka focuses on strategies for how to—or how to try to—avoid Murphy’s Laws when doing DSP.

SYSTEM DESIGN ISSUES IN VIDEO AND IMAGING

Virtual Emulation for Drones
Drone system designers are integrating high-definition video and other features into their SoCs. Verifying the video capture circuitry, data collection components and UHD-4K streaming video capabilities found in drones is not trivial. In his article, Mentor’s Richard Pugh explains why drone verification is a natural fit for hardware emulation because emulation is very efficient at handling large amounts of streamed data.

LIDAR 3D Imaging on a Budget
Demand is on the rise for 3D image data for use in a variety of applications, from autonomous cars to military base security. That has spurred research into high precision LIDAR systems capable of creating extremely clear 3D images to meet this demand. Learn how Cornell student Chris Graef leveraged inexpensive LIDAR sensors to build a 3D imaging system all within a budget of around $200.

AND MORE FROM OUR EXPERT COLUMNISTS

Velocity and Speed Sensors
Automatic systems require real-life physical attributes to be measured and converted to electrical quantities ready for electronic processing. Velocity is one such attribute. In this article, George Novacek steps through the math, science and technology behind measuring velocity and the sensors used for such measurements.

Recreating the LPC Code Protection Bypass
Microcontroller fuse bits are used to protect code from being read out. How well do they work in practice? Some of them have been recently broken. In this article Colin O’Flynn takes you through the details of such an attack to help you understand the realistic threat model.

MCUs Bring Enhanced Security to IoT Systems

Microchip has announced its SAM L10 and SAM L11 MCU families addressing the growing need for security in IoT applications. The new MCU families are based on the Arm Cortex-M23 core, with the SAM L11 featuring Arm TrustZone for Armv8-M, a programmable environment that provides hardware isolation between certified libraries, IP and application code. Security features on the MCUs include tamper resistance, secure boot and secure key storage. These, combined with TrustZone technology, protect applications from both remote and physical attacks.

In addition to TrustZone technology, the SAM L11 security features include an on-board cryptographic module supporting Advanced Encryption Standard (AES), Galois Counter Mode (GCM) and Secure Hash Algorithm (SHA). The secure boot and secure key storage with tamper detection capabilities establish a hardware root of trust. It also offers secure bootloader for secure firmware upgrades.

Microchip has partnered with Trustonic, a member of Microchip’s Security Design Partner Program, to offer a comprehensive security solution framework that simplifies implementation of security and enables customers to introduce end products faster. Microchip has also partnered with Secure Thingz and Data I/O Corporation to offer secure provisioning services for SAM L11 customers that have a proven security framework.

Both MCU families offer Microchip’s latest-generation Peripheral Touch Controller (PTC) for capacitive touch capabilities. Designers can easily add touch interfaces that provide an impressively smooth and efficient user experience in the presence of moisture and noise while maintaining low power consumption. The touch interface makes the devices ideal for a myriad of automotive, appliance, medical and consumer Human Machine Interface (HMI) applications.

The SAM L10 and SAM L11 Xplained Pro Evaluation Kits are available to kick-start development. All SAM L10/L11 MCUs are supported by the Atmel Studio 7 Integrated Development Environment (IDE), IAR Embedded Workbench, Arm Keil MDK as well as Atmel START, a free online tool to configure peripherals and software that accelerates development. START also supports TrustZone technology to configure and deploy secure applications. A power debugger and data analyzer tool are available to monitor and analyze power consumption in real time and fine tune the consumption numbers on the fly to meet application needs. Microchip’s QTouch Modular Library, 2D Touch Surface Library and QTouch Configurator are also available to simplify touch development.

Devices in the SAM L10 series are available starting at $1.09 (10,000s). Devices in the SAM L11 series are available starting at $1.22 (10,000s).

Microchip Technology | www.microchip.com

Verifying Code Readout Protection Claims

Think Like an Attacker

How do you verify the security of microcontrollers? MCU manufacturers often make big claims, but sometimes it is in your best interest to verify them yourself. In this article, Colin discusses a few threats against code readout and looks at verifying some of those claimed levels.

By Colin O’Flynn

You’ve got your latest and greatest IoT toaster designed, and you’re looking to move forward with production. But one thing concerns you: How do you know this stellar code isn’t going to be cloned as soon as you release it to the market?

You turn to the firmware protection features of your chosen microcontroller, but how good is it? This article can’t hope to answer that question in general, rather it will instead give you a short example of how to help answer that question for any specific microcontroller.

In particular, it will teach you to “think like an attacker” when reading through datasheets. Look for small loopholes that could have big consequences, and you will have a much better time navigating the landscape of potential attacks.

Know What’s Out There

One of the most important things is to keep an eye out for new and interesting attacks against these devices. In my January 2018 article (Circuit Cellar 330) I described how there is a published attack against some of the NXP LPC devices, which makes it very easy to unlock them. You can see the presentation entitled “Breaking Code Read Protection on the NXP LPC-family Microcontrollers” by Chris Gerlinsky which describes this attack. Another recent one is an attack against STMicroelectronics’ STM32F0 devices entitled “Shedding Too Much Light on a Microcontroller’s Firmware Protection” by Johannes Obermaier and Stefan Tatschner. That one is a little more limited, but still has some interesting information regarding potential security attacks.

I’m hoping to distill some of these attacks down into common problems, which will help you close a few loopholes before someone rips off your IoT toaster design. At least now if it fails in the marketplace you have no one to blame but yourself.
To give you something concrete to read (and for me to reference), I’ve chosen to use the ST STM32F303 series because it’s a device I’ve been using myself lately. I’m not going to be revealing any unknown vulnerabilities—so if you’re reading this from your office at  STMicroelectronics, no need to sweat. It also has some pretty common configuration options, so makes for a nice reference you can apply to a range of other devices.

ST Read Protection (RDP)

The first step when you are looking at a new device should be to very carefully inspect the security or debug lock protection portion of the datasheet. They will typically go into a fair amount of detail around how the protection mechanism works.
The STM32F3 Reference Manual (RM0316) has this split into two sections. Section 5, entitled “Option byte description” provides information about how the flags are stored in flash. Section 4.3 entitled “Memory Protection” details how this is actually used to protect the code in your device.

Table 1
This excerpt from the datasheet shows how the flash memory read protection levels are defined for the STM32F3 device.

The two important pieces of information for us are replicated in Table 1 and
Table 2. They are the flash memory protection levels, and the associated access allowed at each level. The RDP byte is a special “option byte”, which is the value of a specific location in flash memory. Note the scheme they have chosen uses two bytes, where one is always programmed to be the complement of the other byte. This is presumably used for error checking, and if a byte is not matched with a complement, an error flag is set.

Table 2
Code protection levels 1 and 2 have differing protection abilities. This excerpt from the datasheet shows where flash memory can be read/written/executed from.

Right away you should notice that this scheme does not fall victim to the same problem as the LPC attack I talked about before. In particular the LPC attack exploited the fact a fault or glitch could corrupt the flag value, which caused the CPU to disable the protection.

With the STM32F303, these invalid levels will all map to Protection Level 1. This protection level does not allow external flash access, which “should” be a good sign. The highest protection level also claims to be impossible to remove, but if we could corrupt the value of the option bytes in memory we could downgrade from Protection Level 2 to Protection Level 1. In fact, this “downgrade” is exactly what was presented by Obermaier & Tatschner. The downgrade used a chip decapsulation and light to flip the bits, which is relatively invasive. Other fault attacks (such as voltage or EM) might work but would require investigation before assuming that. Such temporary fault attacks would require the value is read and latched.

But as a good designer, you should assume such faults could be made possible. In this case it would be possible to “downgrade” the device from Protection Level 2 to Protection Level 1. So, what happens if an attacker performed this downgrade? That takes us into the second part of this article. …

Read the full article in the July 336 issue of Circuit Cellar

Don’t miss out on upcoming issues of Circuit Cellar. Subscribe today!

Note: We’ve made the October 2017 issue of Circuit Cellar available as a free sample issue. In it, you’ll find a rich variety of the kinds of articles and information that exemplify a typical issue of the current magazine.

August Circuit Cellar: Sneak Preview

The August issue of Circuit Cellar magazine is coming soon. Be on the lookout for a whole shipload of top-notch embedded electronics articles for you to enjoy.

Not a Circuit Cellar subscriber?  Don’t be left out! Sign up today:

 

Here’s a sneak preview of August 2018 Circuit Cellar:

FPGAs REDEFINE THE DEFINITION OF “SYSTEM”

FPGA System Design
Long gone now are the days when FPGAs were thought of as simple programmable circuitry for interfacing and glue logic. Today, FPGAs are powerful system chips with on-chip processors, signal processing functionality and rich offerings or high-speed connectivity. Here, Circuit Cellar’s Editor-in-Chief, Jeff Child, looks at the latest technology and trends in FPGA system design.

Managing FPGA Design Complexity
Modern FPGAs can contain millions of logic gates and thousands of embedded DSP processors allowing FPGA hardware designers to create extremely sophisticated and complex application-specific hardware functions. In this article, Pentek’s Bob Sgandurra explores how today’s FPGA technology has revamped the roles of both hardware and software engineers as well as how dealing with on-chip IP adds new layers of complexity.

HIGH-INTEGRATION AT THE CHIP-
AND BOARD-LEVEL

Product Focus: Small and Tiny Embedded Boards
An amazing amount of computing functionality can be squeezed on to a small form factor board these days. These company—and even tiny—board-level products meet the needs of applications where extremely low SWaP (size, weight and power) beats all other demands. This Product Focus section updates readers on this technology trend and provides a product album of representative small and tiny embedded boards.

Microcontrollers and Processors
Today’s crop of microcontrollers and embedded processors provide a rich continuum of features, functions and capabilities. It’s hard to tell anymore where the dividing line is, especially when a lot of them use the same CPU cores. Circuit Cellar’s Editor-in-Chief, Jeff Child, delves into the technology and product trends of MCUs and embedded processors.

CAN’T STOP THE SIGNAL

Murphy’s Laws in the DSP World (Part 2)
Many unexpected issues come into play when you move from the real world of analog signals and enter the world of digital signal processing (DSP). Part 2 of this article series by Michael Smith, Mai Tanaka and Ehsan Shahrabi Farahani charges forward introducing “Murphy’s Laws of DSP” #7, #8 and #9 and looks at the spectral analysis of DSP signals.

Signature Analyzer Uses NXP MCU
Doing a signature analysis of a signal used to require an oscilloscope to display your results. In this article, Brian Millier shows how you can build a free-standing tester that uses mostly just the internal peripherals of an NXP ARM microcontroller. He described how the tester operates and how he implemented it using a Teensy 3.5 development module and an intelligent 4.3-inch TFT touch-screen display.

Pitfalls of Filtering Pulsed Signals
Filtering pulsed signals can be a tricky prospect. Using a recent customer implementation as an example, Robert Lacoste highlights various alternative approaches and describes the key concepts involved. Simulation results are provided to help readers understand what’s going on.

PROJECT-BASED STORIES WITH ALL THE DETAILS

Electronic Speed Control (Part 2)
In Part 1, Jeff Bachiochi discussed the mechanical differences between DC brushed and brushless DC (BLDC) motors. This time he dives into basics of an Electronic Speed Controller’s operations and its circuitry. And all this is illustrated via his ESC-based project that uses a Microchip PIC MCU.

Build an Audio Response Light Display
Light shows have been a part of entertainment situations seemingly forever, but the technology has evolved over time. These light shows have their origin in the primitive “light organs” of the 1960s in which each spectral band had its own color that pulsed in intensity with audio amplitudes within its range of frequencies. In this article, Devlin Gualtieri discusses his circuit design that implements a light organ using today’s IC and LED technologies.

AND MORE FROM OUR EXPERT COLUMNISTS

Internet of Things Security (Part 4)
In this next part of his article series on IoT security, Bob Japenga looks at how checklists and the common criteria framework can help us create more secure IoT devices. He covers how to create a list of security assets and to establish threat checklists that identify all the threats to your security assets.

Thermoelectric Cooling (Part 2)
In Part 1 George Novacek described how he built a test chamber using some electronics combined with components salvaged from his thermoelectric water cooler. To confirm his test results, he purchased another thermoelectric cooler and repeated the tests. In Part 2 he covers the results of these tests along with some theoretical performance calculations.

July Circuit Cellar: Sneak Preview

The July issue of Circuit Cellar magazine is coming soon. And we’ve rustled up a great herd of embedded electronics articles for you to enjoy.

Not a Circuit Cellar subscriber?  Don’t be left out! Sign up today:

 

Here’s a sneak preview of July 2018 Circuit Cellar:

TECHNOLOGIES FOR THE INTERNET-OF-THINGS

Wireless Standards and Solutions for IoT  
One of the critical enabling technologies making the Internet-of-Things possible is the set of well-established wireless standards that allow movement of data to and from low-power edge devices. Here, Circuit Cellar’s Editor-in-Chief, Jeff Child, looks at key wireless standards and solutions playing a role in IoT.

Product Focus: IoT Device Modules
The rapidly growing IoT phenomenon is driving demand for highly integrated modules designed to interface with IoT devices. This Product Focus section updates readers on this technology trend and provides a product album of representative IoT interface modules.

TOOLS AND TECHNIQUES AT THE DESIGN PHASE

EMC Analysis During PCB Layout
If your electronic product design fails EMC compliance testing for its target market, that product can’t be sold. That’s why EMC analysis is such an important step. In his article, Mentor Graphics’ Craig Armenti shows how implementing EMC analysis during the design phase provides an opportunity to avoid failing EMC compliance testing after fabrication.

Extreme Low-Power Design
Wearable consumer devices, IoT sensors and handheld systems are just a few of the applications that strive for extreme low-power consumption. Beyond just battery-driven designs, today’s system developers want no-battery solutions and even energy harvesting. Circuit Cellar’s Editor-in-Chief, Jeff Child, dives into the latest technology trends and product developments in extreme low power.

Op Amp Design Techniques
Op amps can play useful roles in circuit designs linking the real analog world to microcontrollers. Stuart Ball shares techniques for using op amps and related devices like comparators to optimize your designs and improve precision.

Wire Wrapping Revisited
Wire wrapping may seem old fashioned, but this tried and true technology can solve some tricky problems that arise when you try to interconnect different kinds of modules like Arduino, Raspberry Pi and so on. Wolfgang Matthes steps through how to best employ wire wrapping for this purpose and provides application examples.

DEEP DIVES ON MOTOR CONTROL AND MONITORING

BLDC Fan Current
Today’s small fans and blowers depend on brushless DC (BLDC) motor technology for their operation. In this article, Ed Nisley explains how these seemingly simple devices are actually quite complex when you measure them in action. He makes some measurements on the motor inside a tangential blower and explores how the data relates to the basic physics of moving air.

Electronic Speed Control (Part 1)
An Electronic Speed Controller (ESC) is an important device in motor control designs, especially in the world of radio-controlled (RC) model vehicles. In Part 1, Jeff Bachiochi lays the groundwork by discussing the evolution of brushed motors to brushless motors. He then explores in detail the role ESC devices play in RC vehicle motors.

MCU-Based Motor Condition Monitoring
Thanks to advances in microcontrollers and sensors, it’s now possible to electronically monitor aspects of a motor’s condition, like current consumption, pressure and vibration. In this article, Texas Instrument’s Amit Ashara steps through how to best use the resources on an MCU to preform condition monitoring on motors. He looks at the signal chain, connectivity issues and A-D conversion.

AND MORE FROM OUR EXPERT COLUMNISTS

Verifying Code Readout Protection Claims
How do you verify the security of microcontrollers? MCU manufacturers often make big claims, but sometimes it is in your best interest to verify them yourself. In this article, Colin O’Flynn discusses a few threats against code readout and looks at verifying some of those claimed levels.

Thermoelectric Cooling (Part 1)
When his thermoelectric water color died prematurely, George Novacek was curious whether it was a defective unit or a design problem. With that in mind, he decided to create a test chamber using some electronics combined with components salvaged from the water cooler. His tests provide some interesting insights into thermoelectric cooling.

 

June Circuit Cellar: Sneak Preview

The June issue of Circuit Cellar magazine is coming soon. And we’ve planted a lovely crop of embedded electronics articles for you to enjoy.

Not a Circuit Cellar subscriber?  Don’t be left out! Sign up today:

 

Here’s a sneak preview of June 2018 Circuit Cellar:

PCB DESIGN AND POWER: MAKING SMART CHOICES

PCB Design and Verification
PCB design tools and methods continue to evolve as they race to keep pace with faster, highly integrated electronics. Automated, rules-based chip placement is getting more sophisticated and leveraging AI in interesting ways. And supply chains are linking tighter with PCB design processes. Circuit Cellar Chief Editor Jeff Child looks at the latest PCB design and verification tools and technologies.

PCB Ground Planes
Tricky design decisions crop up when you’re faced with crafting a printed circuit board (PCB) for any complex system—and many of them involve the ground plane. There is dealing with noisy components and deciding between a common ground plane or separate ones—and that’s just the tip of the iceberg. Robert Lacoste shares his insights on the topic, examining the physics, simulation tools and design examples of ground plane implementations.

Product Focus: AC-DC Converters
To their peril, embedded system developers often treat their choice of power supply as an afterthought. But choosing the right AC-DC converter is critical to the ensuring your system delivers power efficiently to all parts of your system. This Product Focus section updates readers on these trends and provides a product album of representative AC-DC converter products.

SENSORS TAKE MANY FORMS AND FUNCTIONS

Sensors and Measurement
While sensors have always played a key role in embedded systems, the exploding Internet of Things (IoT) phenomenon has pushed sensor technology to the forefront. Any IoT implementation depends on an array of sensors that relay input back to the cloud. Circuit Cellar Chief Editor Jeff Child dives into the latest technology trends and product developments in sensors and measurement.

Passive Infrared Sensors
One way to make sure that lights get turned off when you leave a room is to use Passive Infrared (PIR) sensors. Jeff Bachiochi examines the science and technology behind PIR sensors. He then details how to craft effective program code and control electronics to use PIR sensors is a useful way.

Gesture-Recognition in Boxing Glove
Learn how two Boston University graduate students built a gesture-detection wearable that acts as a building block for a larger fitness telemetry system. Using a Linux-based Gumstix Verdex, the wearable couples an inertial measurement unit with a pressure sensor embedded in a boxing glove to recognize the user’s hits and classify them according to predefined, user-recorded gestures.

SECURITY, RELIABILITY AND MORE

Internet of Things Security (Part 3)
In this next part of his article series on IoT security, Bob Japenga looks at the security features of a specific series of microprocessors: Microchip’s SAMA5D2. He examines these security features and discusses what protection they provide.

Aeronautical Communication Protocols
Unlike ground networks, where data throughout is the priority, avionics networks are all about reliability. As a result, the communications protocols used in for aircraft networking seem pretty obscure to the average engineer. In this article, George Novacek reviews some of the most common aircraft comms protocols including ARINC 429, ARINC 629 and MIL-STD-1553B

DEEP DIVES ON PROCESSOR DESIGN AND DIGITAL SIGNAL PROCESSING

Murphy’s Laws in the DSP World (Part 1)
A Pandora’s box of unexpected issues gets opened the moment you move from the real world of analog signals and enter the world of digital signal processing (DSP). In Part 1 of this new article series, Mike Smith defines six “Murphy’s Laws of DSP” and provides you with methods and techniques to navigate around them.

Processor Design Techniques and Optimizations
As electronics get smaller and more complex day by day, knowing the basic building blocks of processors is more important than ever. In this article, Nishant Mittal explores processor design from various perspectives—including architecture types, pipelining and ALU varieties.

In-Circuit Programming/Debugging Tool Supports PIC MCUs

Microchip Technology has introduced the MPLAB PICkit 4 In-Circuit Debugger. This low-cost PICkit 4 in-circuit programming and debugging development tool is meant to replace the popular PICkit 3 programmer by offering five times faster programming, a wider voltage range (1.2 V to 5 V), improved USB connectivity and more debugging interface options. In addition to supporting Microchip’s PIC microcontrollers (MCUs) and dsPIC Digital Signal Controllers (DSCs), the tool also supports debugging and programming for the CEC1702 family of hardware cryptography-enabled devices.

This low-cost programming and debugging solution is well suited for those designing in the 8-bit space, but it is also perfectly suited for 16- and 32-bit development due, in part, to its 300 MHz, high-performance ATSAME70Q21B microcontroller on board. The benefits of faster programming time are less waiting and better productivity during development. This is especially important when designing with 32-bit microcontrollers with larger memory capacities.

The PICkit 4 development tool enables debugging and programing using the graphical user interface of MPLAB X Integrated Development Environment (IDE). The tool connects to the design engineer’s computer using a Hi-Speed USB 2.0 interface and can be connected to the target via an 8-pin single inline header that supports advanced interfaces such as 4-wire JTAG and serial wire debug with streaming data gateway. It is also backward compatible for demo boards, headers and target systems using 2-wire JTAG and In-Circuit Serial Programming (ICSP) compatibility.

The new interfaces make this low-cost tool compatible with Microchip’s CEC1702 hardware cryptography-enabled devices. This low-power, but powerful, 32-bit MCU offers easy-to-use encryption, authentication and private and public key capabilities. CEC1702 users can now benefit from using Microchip’s development tools and support rather than being required to invest in third-party tools for programming and debugging. The MPLAB PICkit 4 (PG164140) development tool is available today for $47.95.

Microchip Technology | www.microchip.com

April Circuit Cellar: Sneak Preview

The April issue of Circuit Cellar magazine is coming soon. And we’ve got a healthy serving of embedded electronics articles for you. Here’s a sneak peak.

Not a Circuit Cellar subscriber?  Don’t be left out! Sign up today:

 

Here’s a sneak preview of April 2018 Circuit Cellar:

NAVIGATING THE INTERNET-OF-THINGS

IoT: From Gateway to Cloud
In this follow on to our March “IoT: Device to Gateway” feature, this time we look at technologies and solutions for the gateway to cloud side of IoT.  Circuit Cellar Chief Editor Jeff Child examines the tools and services available to get a cloud-connected IoT implementation up and running.

Texting and IoT Embedded Devices (Part 2)
In Part 1, Jeff Bachiochi laid the groundwork for describing a project involving texting. He puts that into action this, showing how to create messages on his Espressif System’s ESP8266EX-based device to be sent to an email account and end up with those messages going as texts to a cell phone.

Internet of Things Security (Part 2)
In this next part of his article series on IoT security, Bob Japenga takes a look at side-channel attacks. What are they? How much of a threat are they? And how can we prevent them?

Product Focus: 32-Bit Microcontrollers
As the workhorse of today’s embedded systems, 32-bit microcontrollers serve a wide variety of embedded applications—including the IoT. This Product Focus section updates readers on these trends and provides a product album of representative 32-bit MCU products.

GRAPHICS, VISION AND DISPLAYS

Graphics, Video and Displays
Thanks to advances in displays and innovations in graphics ICs, embedded systems can now routinely feature sophisticated graphical user interfaces. Circuit Cellar Chief Editor Jeff Child dives into the latest technology trends and product developments in graphics, video and displays.

Color Recognition and Segmentation in Real-time
Vision systems used to require big, multi-board systems—but not anymore. Learn how two Cornell undergraduates designed a hardware/software system that accelerates vision-based object recognition and tracking using an FPGA SoC. They made a min manufacturing line to demonstrate how their system can accurately track and categorize manufactured candies carried along a conveyor belt.

SPECIFICATIONS, QUALIFICATIONS AND MORE

Component tolerance
We perhaps take for granted sometimes that the tolerances of our electronic components fit the needs of our designs. In this article, Robert Lacoste takes a deep look into the subject of tolerances, using the simple resistor as an example. He goes through the math to help you better understand accuracy and drift along with other factors.

Understanding the Temperature Coefficient of Resistance
Temperature coefficient of resistance (TCR) is the calculation of a relative change of resistance per degree of temperature change. Even though it’s an important spec, different resistor manufacturers use different methods for defining TCR. In this article, Molly Bakewell Chamberlin examines TCR and its “best practice” interpretations using Vishay Precision Group’s vast experience in high-precision resistors.

Designing of Complex Systems
While some commercial software gets away without much qualification during development, the situation is very different when safety in involved. For aircraft, vehicles or any complex system where failure unacceptable, this means adhering to established standards throughout the development life cycle. In this article, George Novacek tackles these issues and examines some of these standards namely ARP4754.

AND MORE IN-DEPTH PROJECT ARTICLES

Build a Marginal Oscillator Proximity Switch
A damped or marginal oscillator will switch off when energy is siphoned from its resonant LC tank circuit. In his article, Dev Gualtieri presents a simple marginal oscillator that detects proximity to a small steel screw or steel plate. It lights an LED, and the LED can be part of an optically-isolated solid-state relay.

Obsolescence-Proof Your UI (Part 1)
After years of frustration dealing with graphical interface technologies that go obsolete, Steve Hendrix decided there must be a better way. Knowing that web browser technology is likely to be with us for a long while, he chose to build a web server that could perform common operations that he needed on the IEEE-488 bus. He then built it as a product available for sale to others—and it is basically obsolescence-proof.

 

 

Partner Program to Focus on Security

Microchip Technology has also established a Security Design Partner Program for connecting developers with third-party partners that can enhance and expedite secure designs. Along with the program, the company has also released its ATECC608A CryptoAuthentication device, a secure element that allows developers to add hardware-based security to their designs.

Microchip 38318249941_bf38a56692_zAccording to Microchip, the foundation of secured communication is the ability to create, protect and authenticate a device’s unique and trusted identity. By keeping a device’s private keys isolated from the system in a secured area, coupled with its industry-leading cryptography practices, the ATECC608A provides a high level of security that can be used in nearly any type of design. The ATECC608A includes the Federal Information Processing Standard (FIPS)-compliant Random Number Generator (RNG) that generates unique keys that comply with the latest requirements from the National Institute of Standards and Technology (NIST), providing an easier path to a whole-system FIPS certification.

Other features include:

  • Boot validation capabilities for small systems: New commands facilitate the signature validation and digest computation of the host microcontroller firmware for systems with small MCUs, such as an ARM Cortex-M0+ based device, as well as for more robust embedded systems.
  • Trusted authentication for LoRa nodes: The AES-128 engine also makes security deployments for LoRa infrastructures possible by enabling authentication of trusted nodes within a network.
  •  Fast cryptography processing: The hardware-based integrated Elliptical Curve Cryptography (ECC) algorithms create smaller keys and establish a certificate-based root of trust more quickly and securely than other implementation approaches that rely on legacy methods.
  •  Tamper-resistant protections: Anti-tampering techniques protect keys from physical attacks and attempted intrusions after deployment. These techniques allow the system to preserve a secured and trusted identity.
  •  Trusted in-manufacturing provisioning: Companies can use Microchip’s secured manufacturing facilities to safely provision their keys and certificates, eliminating the risk of exposure during manufacturing.

In addition to providing hardware security solutions, customers have access to Microchip’s Security Design Partner Program. These industry-leading companies, including Amazon Web Services (AWS) and Google Cloud Platform, provide complementary cloud-driven security models and infrastructure. Other partners are well-versed in implementing Microchip’s security devices and libraries. Whether designers are looking to secure an Internet of Things (IoT) application or add authentication capabilities for consumables, such as cartridges or accessories, the expertise of the Security Design Partners can reduce both development cost and time to market.

For rapid prototyping of secure solutions, designers can use the new CryptoAuth Xplained Pro evaluation and development kit (ATCryptoAuth-XPRO-B) which is an add-on board, compatible with any Microchip Xplained or Xplained Pro evaluation board. The ATECC608A is available for $0.56 each in 10,000 unit quantities. The ATCryptoAuth-XPRO-B add-on development board is available for $10.00 each.

Microchip Technology | www.microchip.com

January Circuit Cellar: Sneak Preview

The January issue of Circuit Cellar magazine is coming soon. And it’s got a robust selection of embedded electronics articles for you. Here’s a sneak peak.

Not a Circuit Cellar subscriber?  Don’t be left out! Sign up today:

 

Here’s a sneak preview of January 2018 Circuit Cellar:

 

                                     IMPROVING EMBEDDED SYSTEM DESIGNS

Special Feature: Powering Commercial Drones
The amount of power a commercial drone can draw on has a direct effect on how long it can stay flying as well as on what tasks it can perform. Circuit Cellar Chief Editor Jeff Child examines solar cells, fuel cells and other technology options for powering commercial drones.

CC 330 CoverFPGA Design: A Fresh Take
Although FPGAs are well established technology, many embedded systems developers—particularly those used the microcontroller realm—have never used them before. In this article, Faiz Rahman takes a fresh look a FPGAs for those new to designing them into their embedded systems.

Product Focus: COM Express boards
COM Express boards provide a complete computing core that can be upgraded when needed, leaving the application-specific I/O on the baseboard. This brand new Product Focus section updates readers on this technology and provides a product album of representative COM Express products.

TESTING, TESTING, 1, 2, 3

LF Resonator Filter
In Ed Nisley’s November column he described how an Arduino-based tester automatically measures a resonator’s frequency response to produce data defining its electrical parameters. This time he examines the resultsand explains a tester modification to measure the resonator’s response with a variable series capacitance.

Technology Spotlight: 5G Technology and Testing
The technologies that are enabling 5G communications are creating new challenges for embedded system developers. Circuit Cellar Chief Editor Jeff Child explores the latest digital and analog ICs aimed at 5G and at the test equipment designed to work with 5G technology.

                                     MICROCONTROLLERS IN EVERYTHING

MCU-based Platform Stabilizer
Using an Inertial Measurement Unit (IMU), two 180-degree rotation servos and a Microchip PCI MCU, three Cornell students implemented a microcontroller-based platform stabilizer. Learn how they used a pre-programmed sensor fusion algorithm and I2C to get the most out of their design.

Designing a Home Cleaning Robot (Part 2)
Continuing on with this four-part article series about building a home cleaning robot, Nishant Mittal this time discusses the mechanical aspect of the design. The robot is based on Cypress Semiconductor’s PSoC microcontroller.

Massage Vest Uses PIC32 MCU
Microcontrollers are being used for all kinds of things these days. Learn how three Cornell graduates designed a low-cost massage vest that pairs seamlessly with a custom iOS app. Using the Microchip PIC32 for its brains, the massage vest has sixteen vibration motors that the user can control to create the best massage possible.

AND MORE FROM OUR EXPERT COLUMNISTS:

Five Fault Injection Attacks
Colin O’Flynn returns to the topic of fault injection security attacks. To kick off 2018, he summarizes information about five different fault injection attack stories from 2017—attacks you should be thinking about as an embedded designer.

Money Sorting Machines (Part 2)
In part 1, Jeff Bachiochi delved into the interesting world of money sort machines and their evolution. In part 2, he discusses more details about his coin sorting project. He then looks at a typical bill validator implementation used in vending systems.

Overstress Protection
Last month George Novacek reviewed the causes and results of electrical overstress (EOS). Picking up where that left off, in this article he looks at how to prevent EOS/ESD induced damage—starting with choosing properly rated components.