TRACE32 Extends embOS Awareness to the Renesas RH850

Lauterbach has announced that it has extended the kernel awareness for the embOS RTOS from SEGGER Microcontroller to the RH850 Family of microprocessors from Renesas Electronics. TRACE32, the class leading debug tools from Lauterbach, already supports embOS on ARM, PowerPC, RX, SH and NIOS-II families and this tried and tested technology has now been extended to include RH850.

The embOS awareness plugin for TRACE32 allows the developer to visualise RTOS resources and objects such as task lists, mailboxes, timers and semaphores. Developers are free to investigate interrupt routines, drivers and application code all from within the familiar environment of TRACE32. When the awareness is configured, extra features become available, for instance the setting of task aware breakpoints.

All MPUs of the RH850 Family provide dedicated counter registers which can be accessed non-intrusively by the TRACE32 debugger. These can be configured to display minimum, maximum and mean runtimes for a user marked block of code or the runtimes of various tasks in the embOS system. If the target provides off-chip trace capabilities, TRACE32 can record processor cycles and can be configured to collect data on task switches. Using this information, a detailed analysis of the program history, including task switches, can be viewed.

All features of the TRACE32 awareness for embOS do not require any additional target configuration or any hooks or patches within the RTOS itself. The philosophy of TRACE32 is for the application to behave exactly the same in the debug environment as on the final product; only this way can 100% certainty of testing be achieved.

Lauterbach | www.lauterbach.com

Money Sorting Machines (Part 3)

Bill Validation

In this final article of his money sorting machine series, Jeff wraps up his coin sorting project and examines how a bill validator can tell one bill’s denomination from another.

By Jeff Bachiochi

Most of us connect Ben Franklin with kites and lightning. He was also a printer and might be best known for Poor Richard’s Almanack—a yearly publication that he published from 1732 to 1758 under the pseudonym of Richard Saunders. It was a best-seller and thanks to his wit and wisdom, his portrait was added to the cover of The Old Farmer’s Almanac in 1851—appearing opposite the founder Robert B. Thomas. It remains there today.

As a master printer and engraver, in 1730 Franklin began printing all paper money issued by Pennsylvania, New Jersey and Delaware. Paper money was first introduced in the region in 1723, but it remained a hot political issue. That’s because it helped farmers and tradesmen, while merchants and landowners wanted it eliminated or limited in its circulation. Paper money printed from ordinary type was easy to counterfeit, but Ben’s ingenuity solved that problem by printing pictures of leaves on every piece of money. Counterfeiters could not duplicate—or even imitate—the fine lines and irregular patterns. The process by which he made the printing plates was secret, but were probably cast in type metal from molds made by pressing leaves into plaster of Paris. There began the Feds vigilant effort to thwart counterfeiters.

Today every aspect of our paper currency is controlled—from its design to its printing, as well as its monitoring and destruction. The paper (which is not paper) and ink (multiple types and formulas) are fabricated for the express use by the Department of Engraving. That department is the Treasury bureau responsible for paper money—as opposed to the U.S Mint, which is the Treasury bureau responsible for coinage. US currency consists of 25% linen and 75% cotton and contains small randomly disbursed red and blue security fibers embedded throughout the material. Depending on the denomination the material is further enhanced by embedding security threads, ribbons and watermarks. Since 1996, printing with colored and color changing inks make the new currency pop. While older black and green currency is rather drab in comparison, it is still legal tender and remains the target of most counterfeiters.

The previous two parts of this article series (December 329 and January 330) centered around coinage. Before we look at bill validation for paper money, I need to finish up with that project. I had purchased a few Coin Acceptors and showed how they are used to identify coinage, especially but not limited to US coins. The acceptance and dispensing of money is presently used in many ways today, including vending machines and ATMs. The discussion also included National Automatic Merchandising Association (NAMA), the organization that developed the international specification for the Multi-Drop Bus/ Internal Communication Protocol (MDB/CP) released in July 2010. The MDB/ICP enables communication between a master controller and any of the peripheral hardware like Coin Acceptors and bill validators. By adhering to these guidelines, any manufacturer’s equipment is interchangeable.

Turns out the Coin Acceptors I purchased don’t have the MDB interface necessary to communicate with a Vending Machine Controller (VMC). I reviewed the protocol and VMC/Peripheral Communication Specifications required by the Coin Acceptor/Changer peripheral and began work on developing an MDB interface that would bridge my Coin Acceptor with the multi-drop bus. 

Read the full article in the February 331 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.

Kit for R-Car V3M SoC Speeds Development

Renesas Electronics has announced the R-Car V3M Starter Kit to simplify and speed up the development of New Car Assessment Program (NCAP) front camera applications, surround view system, and LiDARs. The new starter kit is based on the R-Car V3M image recognition system-on-chip (SoC), delivering a combination of low power consumption and high performance for the growing NCAP front camera market. By combining the R-Car V3M starter kit with supporting software and tools, system developers can easily develop front camera applications, contributing to reduced development efforts and faster time-to-market.

Renesas also announced an enhancement to the R-Car V3M by integrating a new, highly power-efficient hardware accelerator for high-performance convolutional neural networks (CNNs), which enables features such as road detection or object classification that are increasingly used in automotive applications. The R-Car V3M’s innovative hardware accelerator enables CNNs to execute at ultra-low power consumption levels that cannot be reached when CNNs are running on CPUs or GPUs.

The new R-Car V3M Starter Kit, the R-Car V3M SoC, and supporting software and tools including Renesas’ open-source e² studio IDE integrated development environment (IDE), are part of Renesas’ open, innovative, and trusted Renesas autonomy Platform for ADAS and automated driving that delivers total end-to-end solutions scaling from cloud to sensing and vehicle control.

The new starter kit is a ready-to-use kit. In addition to the required interface and tools, the kit provides essential components for ADAS and automated driving development, including 2GB RAM, 4GB eMMC (embedded multi-media controller) onboard memory, Ethernet, display outputs, and interfaces for debugging. The integrated 440-pin expansion port gives full freedom for system manufacturers to develop application-specific expansion boards for a wide range of computing applications, from a simple advanced computer vision development environment to prototyping of multi-camera systems for applications such as surround view. This board flexibility reduces the time needed for hardware development in addition to maintaining a high degree of software portability and reusability.

The R-Car V3M Starter Kit is supported by a Linux Board Support Package (BSP), which is available through elinux.org. Further commercial operating systems will be made available from next year onwards. Codeplay will enable OpenCL and SYCL on the starter kit in Q1 2018. Further tools, sample code and application notes for computer vision and image processing will be provided throughout 2018. Renesas enables several tools on the R-Car V3M Starter Kit including Renesas e² studio toolchain and tools for debugging, which ease the development burden and enable faster time-to-market.

In addition to the R-Car V3M Starter Kit, Renesas has enabled ultra-low power consumption for CNNs, which achieve image recognition and image classification, on the R-Car V3M SoC. The R-Car V3M allows the implementation of high-performance, low power consumption CNN networks in NCAP cameras that cannot be realized with traditional high power consuming CPU or GPU architectures. Renesas complements the IMP-X5, a subsystem for computer vision processing that is composed of an image processor and the programmable CV engine, with a new, innovative CNN hardware accelerator developed in house, that allows the implementation of high-performance CNNs at ultra-low low power. With this new IP, Renesas enables system developers to choose between the IMP-X5 or the new hardware accelerator to deploy CNNs. This heterogeneous approach allows system developers to choose the most efficient architecture, depending on required programming flexibility, performance and power consumption.

The Renesas R-Car V3M is available now. The R-Car V3M Starter Kit with a Linux BSP will be available in Q1 2018 initially in limited quantities. A complete offering with an extended software solution is scheduled for Q3 2018.

Renesas Electronics | www.renesas.com

Designing a Home Cleaning Robot (Part 2)

Part 2: Mechanical Design

Continuing with this four-part article series about building a home cleaning robot, Nishant and Jesudasan discuss the mechanical aspects of the design.

By Nishant Mittal and Jesudasan Moses
Cypress Semiconductor

In part one (Circuit Cellar 329, December 2017) of this home cleaning robot article series, I discussed the introduction to the concepts of cleaning robots and the crucial design elements that are part of a skeleton design. Apart from that I discussed various selection criteria of the components. In this part, with the help of my colleague Jesudasan Moses, I’ll explore the mechanical aspects of the design. This includes selecting materials, aligning all the components on base, designing the pulleys for optimal performance, selecting motors and so on. The mechanical design for such a system can be very challenging because it’s a moving system and that adds complexity to the process. While this part is focused on mechanical issues and making the base ready, all this paves the way for when we add the “brains” into the system in part three.

DESIGN ELEMENTS

Figure 1 shows the block diagram of the mechanical design for this project. The overall structure of this design requires a base that is strong, but not too heavy. Using a metal base isn’t a good option for this type of system because it would increase the overall weight. Such an increase might mean that a higher torque motor would be required. The next elements are the motors and wheels. We chose to include motors only in the back. Using a front motor would probably be an overdesign for such a system. If you examine professionally designed home cleaning robots—like those I covered in part one—all of them had only the back motors for movement.

Figure 1
Mechanical arrangement of the home cleaning robot

On the front side of the unit, only rollers are added. This gives the system a complete 360-degree freedom of movement. The most important parts of the system are the cleaner and the roller. These are placed toward the center of the system and are controlled using an arrangement of motors and pulleys. In the front of the system, side brushes are added that again are controlled using motors. Now let’s look at the selection of each of the design elements.

Selection of the base shape: The base shape selection is very important because it defines how efficiently your home cleaning robot can clean at corners. A circular base shape is the most recommended option. A circular base enables the robot to move around corners and thereby cover each and every part of the house. That said, for a hobby project like this one, a rectangular base means no advanced tools are needed to cut and shape the base. With that in mind, we chose to use an acrylic material in a square shape for the base.

Motor selection: For our design, we opted for two movement motors on the back of the unit and another motor at the back for the roller pulley. On the front, there are two more motors to move the side brushes. We’ll save the more technical discussion about motor selection in part three. Choice of motor size depends upon the total weight that the front and back need to handle. The total weight should be equalized, otherwise the system won’t remain stable when the robot is moving fast. The placement of the two movement motors should be aligned to their center of axis. That ensures that when the robot is moving straight, it won’t divert its direction. It’s also important to buy those two motors from the same vendor to make sure they share the same mechanical properties.

Wheel Selection: It’s very important to decide on the net height of the system early on. Wheel selection is the deciding factor for the net height. .

Read the full article in the January 330 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.

Op Amp Features Ultra-High Precision

Texas Instruments (TI) has introduced an op amp that combines ultra-high precision with low supply current. The LPV821 zero-drift, nanopower op amp enables engineers to attain the highest DC precision, while consuming 60% less power than competitive zero-drift devices, according to TI. The LPV821 is designed for use in precision applications such as wireless sensing nodes, home and factory automation equipment, and portable electronics.

LS-First-Page

The LPV821 is a single-channel, nanopower, zero-drift operational amplifier for “Always ON” sensing applications in wireless and wired equipment where low input offset is required. With the combination of low initial offset, low offset drift, and 8 kHz of bandwidth from 650 nA of quiescent current, the LPV821 is the industry’s lowest power zero-drift amplifier that can be used for end equipment that monitor current consumption, temperature, gas, or strain gauges.

The LPV821 zero-drift op amp uses a proprietary auto-calibration technique to simultaneously provide low offset voltage (10 μV, maximum) and minimal drift over time and temperature. In addition to having low offset and ultra-low quiescent current, the LPV821 amplifier has pico-amp bias currents which reduce errors commonly introduced in applications monitoring sensors with high output impedance and amplifier configurations with megaohm feedback resistors.

Engineers can pair the LPV821 op amp with the TLV3691 nanopower comparator or ADS7142 nanopower analog-to-digital converter (ADC) to program a threshold that will automatically wake up a microcontroller (MCU) such as the CC1310 SimpleLink Sub-1 GHz MCU, further reducing system power consumption.

Designers can download the TINA-TI SPICE model to simulate their designs and predict circuit behavior when using the LPV821 op amp. Engineers can also jump-start gas-sensing system designs using the LPV821 op amp with the Always-On Low-Power Gas Sensing with 10+ Year Coin Cell Battery Life Reference Design and Micropower Electrochemical Gas Sensor Amplifier Reference Design.

Pre-production samples of the LPV821 op amp are now available through the TI store and authorized distributors in a 5-pin small-outline transistor (SOT-23) package. Pricing starts at $0.80 in 1,000-unit quantities.

Texas Instruments | www.ti.com

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

HyperBus Interface Incorporated into JEDEC xSPI Standard

Cypress Semiconductor has announced the inclusion of Cypress’ high-bandwidth HyperBus 8-bit serial memory interface into the new eXpanded SPI (xSPI) electrical interface standard from the JEDEC Solid State Technology Association. The xSPI standard defines requirements for the compatibility of high-performance x8 serial interfaces, enabling controller and chipset manufacturers to design a universal memory controller. The inclusion of the HyperBus interface in the JEDEC xSPI standard simplifies designing in HyperBus-based memories and provides more flexibility to system designers to implement instant-on functionality in automotive, industrial and IoT applications.

According to Cypress, the company was the first NOR flash memory supplier to identify the market requirement for a high-speed, 8-bit bus and introduced the HyperBus interface in 2014, ushering in a new class of high-performance NOR flash and RAM solutions that enable instant-on functionality for autonomous driving and industry 4.0 applications. Cypress’ HyperBus-based memories include high-density HyperFlash NOR Flash devices with the bandwidth required for the highest-performance embedded systems and high-speed HyperRAM self-refresh DRAM devices for systems requiring expanded scratchpad memory.

The xSPI standard defines requirements for the compatibility of high-performance x8 serial interfaces, including read and write commands, electrical characteristics, signaling protocols for command and data transfers, and a standard pin-out in a BGA footprint.
hyperbus diagram

The 12-pin Cypress HyperBus interface consists of an 8-pin address/data bus, a differential clock (2 signals), one chip select and a read data strobe for the controller, reducing the overall cost of a system. Memories based on the interface enable faster systems with quicker response times and rich user experiences. The HyperBus interface enables a wide range of high-performance applications, such as automotive instrument clusters, infotainment and navigation systems and factory automation systems.

Cypress Semiconductor | www.cypress.com

Platform Enables Automated Vehicle Application Development

NXP Semiconductors has announced the availability of the NXP Automated Drive Kit, a software enabled platform for the development and testing of automated vehicle applications. The kit enables carmakers and suppliers to develop, test and deploy autonomous algorithms and applications quickly on an open and flexible platform with an expanding ecosystem of partners.

Taking on automated drive applications requires easy access to multiple hardware and software options. NXP has opened the door to hardware and software partners to foster a flexible development platform that meets the needs of a diverse set of developers. The NXP Automated Drive Kit provides a baseline for level 3 development and will expand to additional autonomy levels as the ecosystem’s performance scales.

The first release of the Automated Drive Kit will include a front vision system based on NXP’s S32V234 processor, allowing customers to deploy their algorithms of choice. The Kit also includes front camera application software APIs and object detection algorithms provided by Neusoft; a leading IT solutions and services provider in China and a strategic advanced driver assistance system (ADAS) and AD partner to NXP. Additionally, the Kit includes sophisticated radar options and GPS positioning technology. Customers choose from various LiDAR options and can add LiDAR Object Processing (LOP) modular software from AutonomouStuff, which provides ground segmentation and object tracking.

The NXP Automated Drive Kit is now available for ordering from AutonomouStuff as a standalone package that can be deployed by the customer in their own vehicle or as an integrated package with an AutonomouStuff Automated Research Development Vehicle.

NXP Semiconductors | www.nxp.com

Software Tool Aids STM32 MCU Programming

STMicroelectronics offers a new software tool, STM32CubeProgrammer, the provides device-programming and firmware upgrades for STM32 microcontrollers in a unified, multi-platform and user-configurable environment. Ready to run on Windows, Linux,or MacOS operating systems, the STM32CubeProgrammer can program the STM32 microcontroller’s on-chip Flash/RAM or external memories using various file formats. Further capabilities include whole-memory or sector erase and programming microcontroller option bytes. Users can also generate encrypted files for secure programming (Secure Firmware Install/Update) to authenticate production and protect intellectual property.

With this tool, users can program STM32 microcontrollers through the device’s SWD (Single-Wire Debug) or JTAG debugging ports, or the bootloader ports (such as UART and USB). Hence the STM32CubeProgrammer brings the individual capabilities of the ST Visual Programmer, DFUse Device Firmware Update tool, Flash Loader, and ST-Link utility together within the STM32Cube ecosystem. ST will extend the STM32CubeProgrammer’s capabilities by adding programming access via microcontroller I2C and CAN ports.

The STM32CubeProgrammer provides many opportunities to customize and configure features, using either the GUI or the command-line interface (CLI). Also, this all-in-one tool can be used in standalone mode or integrated and controlled from a custom application. Programming can be done manually or automated using scripts.

STMicroelectronics | www.st.com

MCU Vendors Embrace Amazon FreeRTOS

In a flurry of announcements concurrent with Amazon’s release of its new Amazon FreeRTOS operating system, microcontroller vendors are touting their collaborative efforts to support the OS. Amazon FreeRTOS extends the FreeRTOS kernel, a popular open source RTOS for microcontrollers, and includes software libraries for security, connectivity and updateability. Here’s a selection of announcements from the MCU community:

Microchip PIC32MZEF MCUs Support Amazon FreeRTOS
curiosityMicrochip Technology has expanded its collaboration with Amazon Web Services (AWS) to support cloud-connected embedded systems from the node to the cloud. Microchip’s PIC32MZ EF series of microcontrollers now support Amazon FreeRTOS.

STMicro Adds Amazon FreeRTOS to its IoT MCU Tool Suit
STMicroelectronics has announced its collaboration with Amazon Web Services (AWS) on Amazon FreeRTOS, the latest addition to the AWS Internet of Things (IoT) solution.

 

NXP MCU IoT Card with Wi-Fi Supports Amazon FreeRTOS
OM40007-LPC54018-IoT-ModuleNXP Semiconductors has introduced the LPC54018 MCU-based IoT module with onboard Wi-Fi and support for the new Amazon FreeRTOS on Amazon Web Services (AWS), offering developers universal connections to AWS.

 

TI SimpleLink™ MCU platform now supports new Amazon FreeRTOS (PRNewsfoto/Texas Instruments Incorporated)

TI Integrates SimpleLink MCU Platform with Amazon FreeRTOS
Texas Instruments (TI) has announced the integration of the new Amazon FreeRTOS into the SimpleLink microcontroller platform.

Renesas IoT Sandbox Supports RX65N MCU

Renesas Electronics America has expanded its Renesas IoT Sandbox lineup with the new RX65N Wi-Fi Cloud Connectivity Kit. The RX65N Wi-Fi Cloud Connectivity Kit provides an easy-to-use platform for connecting to the cloud, evaluating IoT solutions and creating IoT applications through cloud services and real-time workflows. The RX65N Wi-Fi Cloud Connectivity Kit integrates the high-performance Renesas RX65N microcontroller (MCU) and Medium One’s Smart Proximity demo with the data intelligence featured in Renesas IoT Sandbox.

RX65N_IoT_Sandbox_Wifi_Kit_UnpackedThe Renesas IoT Sandbox provides a fast path from IoT concept to prototype. It enables personalized data intelligence for system developers working with the Renesas SynergyTM Platform, the Renesas RL78 Family and RX Family of MCUs, and the Renesas RZ Family of microprocessors. The new RX65N Wi-Fi Cloud Connectivity Kit is based on the Renesas RX65N Group of MCUs, which is part of the high-performance RX600 Series of MCUs.

The new kit features the Smart Proximity demo implemented by Medium One. System developers can use workflows to extract data from the Ultrasonic Range Finder Sensor and then transmit distance data and duration length for objects close to the sensor to provide intelligence on end-user engagement with the objects. For instance, when deployed in retail environments, business owners can leverage the data to determine when and for how long shoppers view specific merchandise, providing greater insight on shoppers’ selection behaviors.

Developers can sign up for a Renesas IoT Sandbox account at www.renesas.com/iotsandbox. The data intelligence developer area is ready for immediate prototyping use. The RX65N Wi-Fi Connectivity Kit is available for order at Amazon for $59 per kit.

Renesas Electronics | www.renesas.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.

NXP MCU IoT Card with Wi-Fi Supports Amazon FreeRTOS

NXP Semiconductors has introduced the LPC54018 MCU-based IoT module with onboard Wi-Fi and support for newly launched Amazon FreeRTOS on Amazon Web Services (AWS), offering developers universal connections to AWS. Amazon FreeRTOS provides tools for users to quickly and easily deploy an MCU-based connected device and develop an IoT application without having to worry about the complexity of scaling across millions of devices. Once connected, IoT device applications can take advantage of the capabilities of the cloud or continue processing data locally with AWS Greengrass.

Amazon FreeRTOS enables security-strong orchestration with the edge-cluster to further leverage low latencies in edge computing configurations, which extends AWS Greengrass core devices’ reach to the nodes. Distributed and autonomous computing architectures become possible through the consistent interface provided between the nodes and their gateways, in both online and offline scenario.

OM40007-LPC54018-IoT-ModuleNXP’s IoT module, co-developed with Embedded Artists and based on the LPC54018 MCU, offers unlimited memory extensibility, a root of trust built on the embedded SRAM physical unclonable functions (PUF) and on-chip cryptographic accelerators. Together, LPC and Amazon FreeRTOS, with easy-to-use software libraries, bring multiple layers of network transport security, simplify cloud on-boarding and over-the-air device management.

NXP enables node-to-cloud AWS connectivity with its LPC54018-based IoT module available on Amazon.com and EmbeddedArtists.com at $35 direct to consumers.

NXP Semiconductors | www.nxp.com

Microchip PIC32MZEF MCUs Support Amazon FreeRTOS

Microchip Technology has expanded its collaboration with Amazon Web Services (AWS) to support cloud-connected embedded systems from the node to the cloud. Supporting Amazon Greengrass, Amazon FreeRTOS and AWS Internet of Things (IoT), Microchip provides all the components, tools, software and support needed to rapidly develop secure cloud-connected systems.

Microchip’s PIC32MZ EF series of microcontrollers now support Amazon FreeRTOS, an operating system that makes compact low-powered edge devices easy to program, deploy, secure and maintain. These high-performance MCUs incorporate industry-leading connectivity options, ample Flash memory, rich peripherals and a robust toolchain which empower embedded designers to rapidly build complex applications. Amazon FreeRTOS includes software libraries which make it easy to securely deploy over-the-air updates as well as the ability to connect devices locally to AWS Greengrass or directly to the cloud, providing a variety of data processing location options.

For systems requiring data collection and analysis at a local level, developers can use Microchip’s SAMA5D2 series of microprocessors with integrated AWS Greengrass software. This will enable systems to run local compute, messaging, data caching and sync capabilities for connected devices in a secure way. This type of execution provides improved event response, conserves bandwidth and enables more cost-effective cloud computing. The SAMA5D2 devices, also available in System-in-Package (SiP) variants, offer full Amazon Greengrass compatibility in a low-power, small form factor MPU targeted at industrial and long-life gateway and concentrator applications. Additionally, the integrated security features and extended temperature range allows these MPUs to be deployed in physically insecure and harsh environments.

In any cloud-connected design, security and ease of use are vital pieces of the puzzle. Microchip’s ATECC608A CryptoAuthentication device enables enhanced system security as well as easy-to-use registration. The secure element provides a unique, trusted and protected identity to each device that can be securely authenticated to protect a brand’s intellectual property and revenue. In addition to enhancing system security, the ATECC608A allows AWS customers to instantly connect to the cloud through the device’s Just-in-Time-Registration (JITR) powered by AWS IoT.

curiosityMicrochip has an extensive toolchain for rapid and reliable development. The Curiosity PIC32MZ EF development board (shown), to kick-start Amazon FreeRTOS-based designs, is a fully integrated 32-bit development platform which also includes two mikroBUS expansion sockets, enabling designers to easily add additional capabilities, such as Wi-Fi with the WINC1510 click board, to their designs. The SAMA5D2 Xplained Ultra board, which can be used for AWS Greengrass designs, is a fast prototyping and evaluation platform for the SAMA5D2 series of MPUs. Additionally, the CryptoAuth Xplained Pro evaluation and development kit is an add-on board for rapid prototyping of secure solutions on AWS IoT and is compatible with any Microchip Xplained or XplainedPro evaluation boards. AWS is also a part of Microchip’s Design Partner Program which provides technical expertise and cost-effective solutions in a timely manner.

PIC32MZ EF MCUs are available starting at $5.48 each in 10,000 unit quantities. The PIC32MZ EF Curiosity board (DM320104) is available for $47.99 each. SAMA5D2 MPUs are available starting at $4.42 each in 10,000 unit quantities. The SAMA5D2 Xplained Ultra board (ATSAMA5D2C-XULT) is available for $150 each. ATECC608A secure elements are available starting at $0.56 each in 10,000 unit quantities. The CryptoAuth Xplained Pro evaluation and development kit (ATCryptoAuth-XPRO-B) is available for $10 each.

Microchip Technology | www.microchip.com

STMicro Adds Amazon FreeRTOS to its IoT MCU Tool Suite

STMicroelectronics has announced its collaboration with Amazon Web Services (AWS) on Amazon FreeRTOS, the latest addition to the AWS Internet of Things (IoT) solution. Amazon FreeRTOS provides everything one needs to easily and securely deploy microcontroller-based connected devices and develop an IoT application without having to worry about the complexity of scaling across millions of devices. Once connected, IoT device applications can take advantage of all of the capabilities the cloud has to offer or continue processing data locally with AWS Greengrass.

ST’s collaboration with AWS speeds designers’ efforts to create easily connectable IoT nodes with the combination of ST’s semiconductor building blocks and Amazon FreeRTOS, which extends the leading free and open-source real-time operating-system kernel for embedded devices (FreeRTOS) with the appropriate libraries for local networking, cloud connectivity, security, and remote software updates.

For the STM32, ST’s family of 32-bit Arm Cortex-M microcontrollers, the modular and interoperable IoT development platform spans state-of-the-art semiconductor components, ready-to-use development boards, free software tools and common application examples. At the official release of Amazon FreeRTOS, a version of the OS and libraries were immediately made available to run on the ultra-low-power STM32L4 series of microcontrollers.

The starter kit for Amazon FreeRTOS is ST’s B-L475E-IOT01A Discovery kit for IoT node, a fully integrated development board that exploits low-power communication, multiway sensing, and a raft of features provided by the STM32L4 series microcontroller to enable a wide range of IoT-capable applications. The Discovery kit’s support for Arduino Uno V3 and PMOD connectivity ensures unlimited expansion capabilities with a large choice of specialized add-on boards.

STMicroelectronics | www.st.com