January Circuit Cellar: Sneak Preview

Happy New Years! The January issue of Circuit Cellar magazine is coming soon. Don’t miss this first issue of Circuit Cellar’s 2019 year. Enjoy pages and pages of great, in-depth embedded electronics articles produced and collected for you to enjoy.

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

 

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

TRENDS & CHOICES IN EMBEDDED COMPUTING

Comms and Control for Drones
Consumer and commercial drones represent one of the most dynamic areas of embedded design today. Chip, board and system suppliers are offering improved ways for drones to do more processing on board the drone, while also providing solutions for implementing the control and communication subsystems in drones. This article by Circuit Cellar’s Editor-in-Chief Jeff Child looks at the technology and products available today that are advancing the capabilities of today’s drones.

Choosing an MPU/MCU for Industrial Design
As MCU performance and functionality improve, the traditional boundaries between MCUs and microprocessor units (MPUs) have become less clear. In this article, Microchip Technology’s Jacko Wilbrink examines the changing landscape in MPU vs. MCU capabilities, OS implications and the specifics of new SiP and SOM approaches for simplifying higher-performance computing requirements in industrial applications.

Product Focus: COM Express Boards
The COM Express architecture has found a solid and growing foothold in embedded systems. COM Express boards provide a complete computing core that can be upgraded when needed, leaving the application-specific I/O on the baseboard. This Product Focus section updates readers on this technology and provides a product album of representative COM Express products.

MICROCONTROLLERS ARE DOING EVERYTHING

Connecting USB to Simple MCUs
Sometimes you want to connect a USB device such as a flash drive to a simple microcontroller. Problem is most MCUs cannot function as a USB host. In this article, Stuart Ball steps through the technology and device choices that solve this challenge. He also puts the idea into action via a project that provides this functionality.

Vision System Enables Overlaid Images
In this project article, learn how these Cornell students Daniel Edens and Elise Weir designed a system to overlay images from a visible light camera and an infrared camera. They use software running on a PIC32 MCU to interface the two types of cameras. The MCU does the computation to create the overlaid images, and displays them on an LCD screen.

DATA ACQUISITION AND MEASUREMENT

Data Acquisition Alternatives
While the fundamentals of data acquisition remain the same, its interfacing technology keeps evolving and changing. USB and PCI Express brought data acquisition off the rack, and onto the lab bench top. Today solutions are emerging that leverage Mini PCIe, Thunderbolt and remote web interfacing. Circuit Cellar’s Editor-in-Chief, Jeff Child, dives into the latest technology trends and product developments in data acquisition.

High-Side Current Sensing
Jeff Bachiochi says he likes being able to measure things—for example, being able to measure load current so he can predict how long a battery will last. With that in mind, he recently found a high-side current sensing device, Microchip’s EMC1701. In his article, Jeff takes you through the details of the device and how to make use of it in a battery-based system.

Power Analysis Capture with an MCU
Low-cost microcontrollers integrate many powerful peripherals in them. You can even perform data capture directly to internal memory. In his article, Colin O’Flynn uses the ChipWhisperer-Nano as a case study in how you might use such features which would otherwise require external programmable logic.

TOOLS AND TECHNIQUES FOR EMBEDDED SYSTEM DESIGN

Easing into the IoT Cloud (Part 2)
In Part 1 of this article series Brian Millier examined some of the technologies and services available today enabling you to ease into the IoT cloud. Now, in Part 2, he discusses the hardware features of the Particle IoT modules, as well as the circuitry and program code for the project. He also explores the integration of a Raspberry Pi solution with the Particle cloud infrastructure.

Hierarchical Menus for Touchscreens
In his December article, Aubrey Kagan discussed his efforts to build a display subsystem and GUI for embedded use based on a Noritake touchscreen display. This time he shares how he created a menu system within the constraints of the Noritake graphical display system. He explains how he made good use of Microsoft Excel worksheets as a tool for developing the menu system.

Real Schematics (Part 2)
The first part of this article series on the world of real schematics ended last month with wiring. At high frequencies PCBs suffer from the same parasitic effects as any other type of wiring. You can describe a transmission line as consisting of an infinite number of infinitesimal resistors, inductors and capacitors spread along its entire length. In this article George Novacek looks at real schematics from a transmission line perspective.

LoRa SiP Devices Provide Low Power IoT Node Solution

Microchip Technology has introduced a highly integrated LoRa System-in-Package (SiP) family with an ultra-low-power 32-bit MCU, sub-GHz RF LoRa transceiver and software stack. The SAM R34/35 SiPs come with certified reference designs and interoperability with major LoRaWAN gateway and network providers. The devices also provide the ultra-low power consumption in sleep modes, offering extended battery life in remote IoT nodes.

Most LoRa end devices remain in sleep mode for extended periods of time, only waking up occasionally to transmit small data packets. Powered by the ultra-low-power SAM L21 Arm Cortex-M0+ based MCU, the SAM R34 devices provide sleep modes as low as 790 nA to significantly reduce power consumption and extend battery life in end applications. Highly integrated in a compact 6 mm x 6 mm package, the SAM R34/35 family is well suited for a broad array of long-range, low-power IoT applications that require small form factor designs and multiple years of battery life.

In addition to ultra-low-power consumption, the simplified development process means developers can accelerate their designs by combining their application code with Microchip’s LoRaWAN stack and quickly prototype with the ATSAMR34-XPRO development board (DM320111), which is supported by the Atmel Studio 7 Software Development Kit (SDK). The development board is certified with the Federal Communications Commission (FCC), Industry Canada (IC) and Radio Equipment Directive (RED), providing developers with the confidence that their designs will meet government requirements across geographies.
LoRa technology is designed to enable low-power applications to communicate over longer ranges than Zigbee, Wi-Fi and Bluetooth using the LoRaWAN open protocol. Ideal for a range of applications such as smart cities, agricultural monitoring and supply chain tracking, LoRaWAN enables the creation of flexible IoT networks that can operate in both urban and rural environments. According to the LoRa Alliance, the number of LoRaWAN operators has doubled from 40 to 80 over the last 12 months, with more than 100 countries actively developing LoRaWAN networks.

The SAM R34/35 family is supported by Microchip’s LoRaWAN stack, as well as a certified and proven chip-down package that enables customers to accelerate the design of RF applications with reduced risk. With support for worldwide LoRaWAN operation from 862 to 1,020 MHz, developers can use a single part variant across geographies, simplifying the design process and reducing inventory burden. The SAM R34/35 family supports Class A and Class C end devices as well as proprietary point-to-point connections.

Microchip’s SAM R34/35 LoRa family is available in six device variants. SAM R34 devices in a 64-lead TFBGA package begin at $3.76 each in 10,000-unit quantities. SAM R35 devices are available without a USB interface starting at $3.66 each in 10,000-unit quantities.

Microchip Technology | www.microchip.com

32-bit MCUs Optimized for Motor Control in Robotics and More

Renesas Electronics has unveiled the RX66T Group of microcontrollers (MCUs). The chips are the first members of Renesas’ flagship 32-bit RX MCU family based on the new third-generation RXv3 CPU core. The new MCUs leverage advanced CPU core technology to achieve substantially improved performance, as much as 2.5 times better than previous RX family MCUs.

Combining the powerful new RXv3 core with the strengths of the current RX62T and RX63T MCUs, the new RX66T MCUs address the real-time performance and enhanced stability required by inverter control. The new MCUs are ideal for use in industrial applications in next-generation smart factory equipment, such as industrial motors, power conditioners and robots, as well as smart home appliances, including air conditioners and washing machines.
When operating at 160 MHz, the RX66T MCUs achieve best-in-class performance of 928 CoreMark 2, enabling more precise inverter control. The MCUs can control up to four motors simultaneously, making them well-suited for conventional motor control and applications requiring multi-axis motor control, such as compact industrial robots and personal robots, which are quickly growing in popularity.

In addition, the RX66T’s extra processing capacity allows developers to add programs utilizing embedded AI (e-AI) for motor fault detection. Such programs can detect motor faults and identify fault location in real time based on the motor’s current or vibration characteristics. Providing this capability offers developers the significant value-add of productivity, safety, and quality. The RX66T MCUs also integrate a 5V power supply that delivers excellent noise tolerance.

With more and more devices ranging from robots and power conditioners to washers and dryers joining the Internet of Things, motorized devices in the field will require online firmware updates throughout their life cycles. Applying e-AI for predictive failure diagnostics requires endpoint MCUs to be securely updated with learning results generated in the cloud. The RX66T MCU Group incorporates Renesas’ Trusted Secure IP (TSIP), which has a track record of CAVP certification3 and provides secure firmware updates and encrypted communication.

Key Features of the RX66T MCU Group:

  • Supports inverter control with a maximum operating frequency of 160 MHz, 928 CoreMark, on-chip floating point-unit (FPU), and 5V power supply
  • High-speed flash memory with 120 MHz maximum read operation to reduce speed differential with the CPU and realize both high performance and a consistent execution
  • Reduces footprint and component count by generating three-phase complementary pulse width modulation (PWM) output for up to four motors using 112-pin and 144-pin package MCUs, and up to three motors using 64-pin, 80-pin and 100-pin package MCUs
  • Configurations available with 16 KB of error correction code (ECC) SRAM, and up to 128 KB of SRAM with single-cycle access and single-bit error detection (parity checking) for high reliability
  • Ability to generate high-resolution PWM signals with a minimum state change duration of 195 picoseconds (1.6 times better than existing RX products) for power conditioner or digital power supply control applications
  • Renesas’ Trusted Secure IP (TSIP) provides secure firmware updates and encrypted communication with a track record of CAVP certification

The Renesas Motor Workbench 2.0 supports 20kHz real-time debugging and adds 10 new functions and an RX66T CPU card for the 24V Motor Control Evaluation Kit are available now.

The new RX66T Group comprises 80 MCUs with pin counts ranging from 64 to 144 pins and on-chip flash memory sizes of 256 KB to 1,024 KB. Mass production starts today for the widely used 100-pin package MCU with 256 KB or 512 KB of program flash and 64 KB of SRAM. Other MCU versions will release over time. Pricing for the RX66T MCU Group starts at $3.25 per unit in 10,000-unit quantities.

Renesas Electronics | www.renesas.com

Secure MCU Family Targets Low Power, Small Footprint Designs

STMicroelectronics has added the new STM32G0 microcontrollers (MCUs) to the STM32 family. The new G0 series targets entry-level applications that require greater energy efficiency, functionality, security, and value, in a smaller footprint. Extremely flexible packaging and memory options enable designers to do more within less space, and save cost. A new power-distribution architecture reduces external power and ground connections to just a single pair of pins, allowing more of the package pins—a precious resource in many embedded projects—to be allocated for user connectivity.

In addition, ST is making large memory densities available in small and economical low-pin-count packages. On top of this, the new generation features power-saving innovations that trim consumption close to that of specialized ultra-low-power devices.

To provide robust security for today’s connected devices, the STM32G0 series introduces a variety of hardware-based features including memory protection to support secure boot. Some devices in the series add to these features an AES-256 hardware cryptographic accelerator with a true random number generator (TRNG) to aid encryption.

Another valuable feature that anticipates a growing need is support for the latest USB Type-C specifications that allow easy, high-speed connectivity and battery charging, including Power Delivery version 3.0.

The STM32G0 series is based on the Arm Cortex-M0+ core, which is conceived to deliver sharp performance within a tight power budget. It targets fast-evolving products in the connected world, including smartphones, smart kitchen equipment, and appliances, air conditioning, consumer or industrial motor controls, advanced user interfaces, IoT devices, rechargeable connected devices, drones, lighting systems and more.

Package options are available from 8-pin, enabling developers to easily upgrade aging 8-bit MCU designs, to 100-pin. Flash from 16 KB to 512 KB, with 512 KB available in packages as small as 32-pin, enables more sophisticated applications on small, low-cost products.

The maximum CPU frequency of 64 MHz permits high execution speeds, compared to typical entry-level MCUs. On the other hand, extremely flexible clock configuration allows users to tailor performance within the available power budget. The internal clock is remarkably stable and comparable to high-end devices, being accurate to within ±1% from 0-85°C and ±2% over the wider range from -40°C to 125°C. This not only saves the board space and pins needed to connect a dedicated external timing device, but also can trim at least 10 cents from the bill of materials.

The STM32G0 series is extremely efficient, running at less than 100µA/MHz in run mode, and provides multiple reduced-power operating modes to save energy and extend battery runtimes. Devices draw as little as 3-8µA in stop mode with the real-time clock (RTC) running, and just 500 nA in standby with RTC (all at 3.0V, 25°C).

Moreover, peripherals are upgraded to enhance performance, speed, and accuracy. The devices feature a 12-bit 2.5 MSPS ADC, with hardware oversampling for 16-bit precision. There is also a 2-channel DAC, fast comparators, and high-accuracy timers with 7.8 ns resolution.

In addition to permitting extra user-assignable I/Os, the internal (ST-patented) power-distribution scheme also helps save BoM costs by reducing the number of external power-supply decoupling components.

Enhanced internal prevention of electromagnetic susceptibility (EMS) is yet another feature that saves board space and BoM costs. Protection against fast-transient bursts above 4.5kV, in accordance with IEC 61000-4-4, relaxes the demands for surrounding filtering components and eases board layout. For product-development teams, the ability to easily ensure good electromagnetic behavior facilitates EMC certifications for faster time to market.

ST is planning several STM32G0 lines, including the STM32G071 and similar STM32G081 with hardware cryptographic enhancement. There are also Value Line STM32G070 devices for mass-market applications. Pricing starts from $0.69 for the STM32G070CBT6 Value Line MCU in a 48-pin package, with 128 KB flash, for orders of 10,000 pieces.

STMicroelectronics | www.st.com

Tuesday’s Newsletter: Microcontroller Watch

Coming to your inbox tomorrow: Circuit Cellar’s Microcontroller Watch newsletter. Tomorrow’s newsletter keeps you up-to-date on latest microcontroller news. In this section, we examine the microcontrollers along with their associated tools and support products.

Bonus: We’ve added Drawings for Free Stuff to our weekly newsletters. Make sure you’ve subscribed to the newsletter so you can participate.

Already a Circuit Cellar Newsletter subscriber? Great!
You’ll get your Microcontroller Watch newsletter issue tomorrow.

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

Our weekly Circuit Cellar Newsletter will switch its theme each week, so look for these in upcoming weeks:

IoT Technology Focus. (12/18) Covers what’s happening with Internet-of-Things (IoT) technology–-from devices to gateway networks to cloud architectures. This newsletter tackles news and trends about the products and technologies needed to build IoT implementations and devices.

Embedded Boards.(12/24) (Monday) The focus here is on both standard and non-standard embedded computer boards that ease prototyping efforts and let you smoothly scale up to production volumes.

Analog & Power. (1/2) (Wednesday) This newsletter content zeros in on the latest developments in analog and power technologies including DC-DC converters, AD-DC converters, power supplies, op amps, batteries and more.

Cypress Semi Teams with Arm for Secure IoT MCU Solution

Cypress Semiconductor has expanded its collaboration with Arm to provide management of IoT edge nodes. The solution integrates the Arm Pelion IoT Platform with Cypress’ low power, dual-core PSoC 6 microcontrollers (MCUs) and CYW4343W Wi-Fi and Bluetooth combo radios. PSoC 6 provides Arm v7-M hardware-based security that adheres to the highest level of device protection defined by the Arm Platform Security Architecture (PSA).
Cypress and Arm demonstrated hardware-secured onboarding and communication through the integration of the dual-core PSoC 6 MCU and Pelion IoT Platform in the Arm booth at Arm TechCon last month. In the demo, the PSoC 6 was running Arm’s PSA-defined Secure Partition Manager to be supported in Arm Mbed OS version 5.11 open-source embedded operating system, which will be available this December. Embedded systems developers can leverage the private key storage and hardware-accelerated cryptography in the PSoC 6 MCU for cryptographically-secured lifecycle management functions, such as over-the-air firmware updates, mutual authentication and device attestation and revocation. According to the company, Cypress is making a strategic push to integrate security into its compute, connect and store portfolio for the IoT.

The PSoC 6 architecture is built on ultra-low-power 40-nm process technology, and the MCUs feature low-power design techniques to extend battery life up to a full week for wearables. The dual-core Arm Cortex-M4 and Cortex-M0+ architecture lets designers optimize for power and performance simultaneously. Using its dual cores combined with configurable memory and peripheral protection units, the PSoC 6 MCU delivers the highest level of protection defined by the Platform Security Architecture (PSA) from Arm.

Designers can use the MCU’s software-defined peripherals to create custom analog front-ends (AFEs) or digital interfaces for innovative system components such as electronic-ink displays. The PSoC 6 MCU features the latest generation of Cypress’ industry-leading CapSense capacitive-sensing technology, enabling modern touch and gesture-based interfaces that are robust and reliable.

Cypress Semiconductor | www.cypress.com

Three Firms Team Up for Industrial IoT Security Effort

IAR Systems, Secure Thingz and Renesas Electronics have announced their collaboration to secure Industrial Internet of Things (IIoT) applications. As part of this collaboration, the companies will develop new solutions that combine IAR Systems’ software development technology, Secure Thingz’ expertise in advanced IoT security, and Renesas Electronics’ secure semiconductor technologies.

Security is an inherent risk when it comes to connected devices. In the Industrial IoT, incoming threats and system vulnerabilities can result in life-threatening or high-risk situations. Therefore, embedded applications in this area require very strong features for security and reliability. To meet these requirements, Secure Thingz’ Embedded Trust, which is a security development environment that leverages the IAR Embedded Workbench IDE from IAR Systems, will support Renesas microcontrollers (MCUs) when Embedded Trust is launched to the broader market in 2019. This new hardware and software solution will enable organizations to secure their systems, intellectual property (IP) and data.

“Despite legislation and new security standards mandating greater protection, the news stories of hacking, theft and counterfeiting still persist. It is now a question of when, and not if, you will be compromised,” says Haydn Povey, CEO, Secure Thingz. “At Secure Thingz, we are collaborating with trusted industry friends to secure the connected world and inhibit these compromises. The collaboration between Secure Thingz, IAR Systems and Renesas will help organizations conquer the security challenges of today and tomorrow.”

“To really deliver on the promise of the IoT, embedded applications will need to include security from start, both in hardware and software,” says Stefan Skarin, CEO, IAR Systems. “IAR Systems’ long-standing collaboration with Renesas has resulted in a number of successful activities and solutions. Now with connected IoT devices all around us and ongoing security threats, we as suppliers need to help our customers in the best way we can. IAR Systems and Secure Thingz are working together to make superior security available for all, and we are pleased to have Renesas with us on this journey.”

“With increased connectivity come greater security risks, and the growing number of connected industrial devices requires a stronger focus on security from the early stages of chip design to protect both the silicon solution and the application from potential security issues,” says Yoshikazu Yokota, Executive Vice President and General Manager of Industrial Solution Business Unit, Renesas Electronics Corporation. “For the past 30 years, our collaboration with IAR Systems has introduced reliable and high-performance solutions that have enabled the creation of innovative embedded designs, and with the addition of Secure Thingz moving forward, we are poised to support the next generation of Industrial IoT design with the security it needs.”

IAR Systems | www.iar.com

Secure Thingz | www.securethingz.com

Renesas Electronics | www.renesas.com

 

 

Tuesday’s Newsletter: Analog & Power

Coming to your inbox tomorrow: Circuit Cellar’s Analog & Power newsletter. Tomorrow’s newsletter content zeros in on the latest developments in analog and power technologies including ADCs, DACs, DC-DC converters, AD-DC converters, power supplies, op amps, batteries and more.

Bonus: We’ve added Drawings for Free Stuff to our weekly newsletters. Make sure you’ve subscribed to the newsletter so you can participate.

Already a Circuit Cellar Newsletter subscriber? Great!
You’ll get your Analog & Power newsletter issue tomorrow.

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

Our weekly Circuit Cellar Newsletter will switch its theme each week, so look for these in upcoming weeks:

Microcontroller Watch. (12/11) This newsletter keeps you up-to-date on latest microcontroller news. In this section, we examine the microcontrollers along with their associated tools and support products.

IoT Technology Focus. (12/18) Covers what’s happening with Internet-of-Things (IoT) technology–-from devices to gateway networks to cloud architectures. This newsletter tackles news and trends about the products and technologies needed to build IoT implementations and devices.

Embedded Boards.(12/24) The focus here is on both standard and non-standard embedded computer boards that ease prototyping efforts and let you smoothly scale up to production volumes.

IoT Door Security System Uses Wi-Fi

Control Via App or Web

Discover how these Cornell students built an Internet-connected door security system with wireless monitoring and control through web and mobile applications. The article discusses the interfacing of a Microchip PIC32 MCU with the Internet, and the application of IoT to a door security system.

By Norman Chen, Ram Vellanki and Giacomo Di Liberto

The idea for an Internet of Things (IoT) door security system came from our desire to grant people remote access to and control over their security system. Connecting the system with the Internet not only improves safety by enabling users to monitor a given entryway remotely, but also allows the system to transmit information about the traffic of the door to the Internet. With these motivations, we designed our system using a Microchip Technology PIC32 microcontroller (MCU) and an Espressif ESP8266 Wi-Fi module to interface a door sensor with the Internet, which gives the user full control over the system via mobile and web applications.

The entire system works in the following way. To start, the PIC32 tells the Wi-Fi module to establish a connection to a TCP socket, which provides fast and reliable communication with the security system’s web server. Once a connection has been established, the PIC32 enters a loop to analyze the distance sensor reading to detect motion in the door. Upon any detection of motion, the PIC32 commands the Wi-Fi module to signal the event to the web server. Each motion detection is saved in memory, and simultaneously the data are sent to the website, which graphs the number of motion detections per unit time. If the security system was armed at the time of motion detection, then the PIC32 will sound the alarm via a piezoelectric speaker from CUI. The alarm system is disarmed at default, so each motion detection is logged in the web application but no sound is played. From both the web and mobile application, the user can arm, disarm and sound the alarm immediately in the case of an emergency.

DESIGN

The PIC32 acts as the hub of the whole system. As shown in Figure 1, each piece of hardware is connected to the MCU, as it detects motion by analyzing distance sensor readings, generates sound for the piezoelectric speaker and commands the Wi-Fi module for actions that pertain to the web server. The distance sensor used in our system is rated to accurately measure distances of only 10 to 80 cm [1]. That’s because motion detection requires us only to measure large changes in distances instead of exact distances, the sensor was sufficient for our needs.

Figure 1
The schematic of the security system. Note that the door sensor runs on 5  V, whereas the rest of the components run on 3.3 V

In our design, the sensor is facing down from the top of the doorway, so the nearest object to the sensor is the floor at idle times, when there is no movement through the door. For an average height of a door, about 200 cm, the sensor outputs a miniscule amount of voltage of less than 0.5 V. If a human of average height, about 160 cm, passes through the doorway, then according to the datasheet [1], the distance sensor will output a sudden spike of about 1.5 V. The code on the PIC32 constantly analyzes the distance sensor readings for such spikes, and interprets an increase and subsequent decrease in voltage as motion through the door. The alarm sound is generated by having the PIC32 repeatedly output a 1,500 Hz wave to the piezoelectric speaker through a DAC. We used the DMA feature on the PIC32 for playing the alarm sound, to allow the MCU to signal the alarm without using an interrupt-service-routine. The alarm sound output therefore, did not interfere with motion detection and receiving commands from the web server.

The Wi-Fi module we used to connect the PIC32 to the Internet is the ESP8266, which has several variations on the market. We chose model number ESP8266-01 for its low cost and small form factor. This model was not breadboard-compatible, but we designed a mount for the device so that it could be plugged into the breadboard without the need for header wires. Figure 2 shows how the device is attached to the breadboard, along with how the rest of the system is connected.

Figure 2
The full system is wired up on a breadboard. The door sensor is at the bottom of the photo, and is attached facing down from the top of a doorway when in use. The device at the top of the figure is the PIC32 MCU mounted on a development board.

The module can boot into two different modes, programming or normal, by configuring the GPIO pins during startup. To boot into programming mode, GPIO0 must be pulled to low, while GPIO2 must be pulled high. To boot into normal mode, both GPIO0 and GPIO2 must be pulled high. Programming mode is used for flashing new firmware onto the device, whereas normal mode enables AT commands over UART on the ESP8266. Because we only needed to enable the AT commands on the module, we kept GPIO0 and GPIO2 floating, which safely and consistently booted the module into normal mode.

SENDING COMMANDS

Before interfacing the PIC32 with the Wi-Fi module, we used a USB-to-TTL serial cable to connect the module to a computer, and tested the functionality of its AT commands by sending it commands from a serial terminal. …

Read the full article in the December 341 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.

New CPU Core Boosts Performance for Renesas MCUs

Renesas Electronics has announced the development of its third-generation 32-bit RX CPU core, the RXv3. The RXv3 CPU core will be employed in Renesas’ new RX microcontroller families that begin rolling out at the end of 2018. The new MCUs are designed to address the real-time performance and enhanced stability required by motor control and industrial applications in next-generation smart factory, smart home and smart infrastructure equipment.

The RXv3 core boosts CPU core architecture performance with up to 5.8 CoreMark/MHz, as measured by EEMBC benchmarks, to deliver industry-leading performance, power efficiency and responsiveness. The RXv3 core is backwards compatible with the RXv2 and RXv1 CPU cores in Renesas’ current 32-bit RX MCU families. Binary compatibility using the same CPU core instruction sets ensures that applications written for the previous-generation RXv2 and RXv1 cores carry forward to the RXv3-based MCUs. Designers working with RXv3-based MCUs can also take advantage of the robust Renesas RX development ecosystem to develop their embedded systems.
The RX CPU core combines a design optimized for power efficiency and a fabrication process producing excellent performance. The new RXv3 CPU core is primarily a CISC (Complex Instruction Set Computer) architecture that offers significant advantages over the RISC (Reduced Instruction Set Computer) architecture in terms of code density. RXv3 utilizes a pipeline to deliver high instructions per cycle (IPC) performance comparable to RISC. The new RXv3 core builds on the proven RXv2 architecture with an enhanced pipeline, options for register bank save functions and double precision floating-point unit (FPU) capabilities to achieve high computing performance, along with power and code efficiency.

The enhanced RX core five-stage superscalar architecture enables the pipeline to execute more instructions simultaneously while maintaining excellent power efficiency. The RXv3 core will enable the first new RX600 MCUs to achieve 44.8 CoreMark/mA with an energy-saving cache design that reduces both access time and power consumption during on-chip flash memory reads, such as instruction fetch.

The RXv3 core achieves significantly faster interrupt response times with a new option for single-cycle register saves. Using dedicated instruction and a save register bank with up to 256 banks, designers can minimize the interrupt handling overhead required for embedded systems operating in real-time applications such as motor control. RTOS context switch time is up to 20 percent faster with the register bank save function.

The model-based development (MBD) approach has penetrated various application developments; it enables the DP-FPU to help reduce the effort of porting high precision control models to the MCU. Similar to the RXv2 core, the RXv3 core performs DSP/FPU operations and memory accesses simultaneously to substantially boost signal processing capabilities.

Renesas plans to start sampling shipments of RXv3-based MCUs before the end of Q4 2018.

Renesas Electronics | www.renesas.com

New IDE Version Shrinks Arm MCU Executable Program Sizes

After a successful beta period, Segger Microcontroller has added the new Linker and Link-Time Optimization (LTO) to the latest release build of their powerful cross-platform integrated development environments, Embedded Studio for ARM and Embedded Studio for Cortex-M.

The new product versions deliver on the promise of program size reduction, achieving a significant 5-12% reduction over the previous versions on typical applications, and even higher gains compared to conventional GCC tool chains. These savings are the result of the new LTO, combined with Segger’s Linker and Run-time library emLib-C. Through LTO, it is possible to optimize the entire application, opening the door for optimization opportunities that are simply not available to the compiler.

The Linker adds features such as compression of initialized data and deduplication, as well as the flexibility of dealing with fragmented memory maps that embedded developers have to cope with. Like all Segger software, it is written from scratch for use in deeply embedded computing systems. Additionally, the size required by the included runtime library is significantly lower than that of runtime libraries used by most GCC tool chains.

Segger Microcontroller | www.segger.com

Next Newsletter: Embedded Boards

Coming to your inbox tomorrow: Circuit Cellar’s Embedded Boards newsletter. Tomorrow’s newsletter content focuses on both standard and non-standard embedded computer boards that ease prototyping efforts and let you smoothly scale up to production volumes.

Bonus: We’ve added Drawings for Free Stuff to our weekly newsletters. Make sure you’ve subscribed to the newsletter so you can participate.

Already a Circuit Cellar Newsletter subscriber? Great!
You’ll get your
Embedded Boards newsletter issue tomorrow.

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

Our weekly Circuit Cellar Newsletter will switch its theme each week, so look for these in upcoming weeks:

Analog & Power. (12/4) This newsletter content zeros in on the latest developments in analog and power technologies including DC-DC converters, AD-DC converters, power supplies, op amps, batteries and more.

Microcontroller Watch (12/11) This newsletter keeps you up-to-date on latest microcontroller news. In this section, we examine the microcontrollers along with their associated tools and support products.

IoT Technology Focus. (12/18) Covers what’s happening with Internet-of-Things (IoT) technology–-from devices to gateway networks to cloud architectures. This newsletter tackles news and trends about the products and technologies needed to build IoT implementations and devices.

Tuesday’s Newsletter: IoT Tech Focus

Coming to your inbox tomorrow: Circuit Cellar’s IoT Technology Focus newsletter. Tomorrow’s newsletter covers what’s happening with Internet-of-Things (IoT) technology–-from devices to gateway networks to cloud architectures. This newsletter tackles news and trends about the products and technologies needed to build IoT implementations and devices.

Bonus: We’ve added Drawings for Free Stuff to our weekly newsletters. Make sure you’ve subscribed to the newsletter so you can participate.

Already a Circuit Cellar Newsletter subscriber? Great!
You’ll get your IoT Technology Focus newsletter issue tomorrow.

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

Our weekly Circuit Cellar Newsletter will switch its theme each week, so look for these in upcoming weeks:

Embedded Boards.(11/27) The focus here is on both standard and non-standard embedded computer boards that ease prototyping efforts and let you smoothly scale up to production volumes.

Analog & Power. (12/4) This newsletter content zeros in on the latest developments in analog and power technologies including DC-DC converters, AD-DC converters, power supplies, op amps, batteries and more.

Microcontroller Watch (12/11) This newsletter keeps you up-to-date on latest microcontroller news. In this section, we examine the microcontrollers along with their associated tools and support products.

December Circuit Cellar: Sneak Preview

The December issue of Circuit Cellar magazine is coming soon. 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.

MCU Family Serves Up Ultra-Low Power Functionality

STMicroelectronics has released its STM32L0x0 Value Line microcontrollers that provide an additional, low-cost entry point to the STM32L0 series The MCUs embed the Arm Cortex -M0+ core. With up to 128 KB flash memory, 20 KB SRAM and 512 byte true embedded EEPROM on-chip the MCUs save external components to cut down on board space and BOM cost. In addition to price-sensitive and space-constrained consumer devices such as fitness trackers, computer or gaming accessories and remotes, the new STM32L0x0 Value Line MCUs are well suited for personal medical devices, industrial sensors, and IoT devices such as building controls, weather stations, smart locks, smoke detectors or fire alarms.
The devices leverage ST’s power-saving low-leakage process technology and device features such as a low-power UART, low-power timer, 41µA 10 ksample/s ADC and wake-up from power saving in as little as 5µs. Designers can use these devices to achieve goals such as extending battery runtime without sacrificing product features, increasing wireless mobility, or endowing devices like smart meters or IoT sensors with up to 10-year battery-life leveraging the ultra-frugal 670 nA power-down current with RTC and RAM retention.

The Keil MDK-ARM professional IDE supports STM32L0x0 devices free of charge, and the STM32CubeMX configuration-code generator provides easy-to-use design analysis including a power-consumption calculator. A compatible Nucleo-64 development board (NUCLEO-L010RB) with Hardware Abstraction Layer (HAL) library is already available, to facilitate fast project startup.

The STM32L0x0 Value Line comprises six new parts, giving a choice of 16- KB, 64- KB, or 128- KB of flash memory, 128-byte, 256-byte or 512-byte EEPROM, and various package options. In addition, pin-compatibility with the full STM32 family of more than 800 part numbers offering a wide variety of core performance and integrated features, allows design flexibility and future scalability, with the freedom to leverage existing investment in code, documentation and tools.

STM32L0x0 Value Line microcontrollers are in production now, priced from $0.44 with 16-KB of flash memory and 128-byte EEPROM, for orders of 10,000 pieces. The unit price starting at $0.32 is available for high-volume orders.

STMicroelectronics| www.st.com