Design Automation


Python programming comes to Nordic’s multiprotocol SoCs

30 April 2019 Design Automation

Nordic Semiconductor announced that Zerynth, a New York-based Internet of Things (IoT) software developer, has extended the availability of its ‘Zerynth IoT middleware’ to Nordic’s nRF52840 Bluetooth 5/Bluetooth Low Energy (Bluetooth LE) system-on-chip (SoC). The middleware was previously available for the nRF52832 SoC.

Zerynth comprises a set of software development tools that accelerate IoT product design by simplifying firmware programming of 32-bit microprocessors – such as the nRF52840 SoC’s 64 MHz Arm Cortex device – using Python, or ‘hybrid’ C/Python, which is useful for low-level coding for time-critical tasks while retaining Python’s flexibility and readability for non time-critical tasks.

The product also supports secure connection to leading cloud services and eases hardware integration with sensors, actuators and industrial protocols. Design and development are further simplified by the availability of a growing list of open-source libraries available on GitHub.

The software tools comprise ‘Zerynth Virtual Machine’ and ‘Zerynth Studio’. Zerynth Virtual Machine is a multithreaded, stack-based virtual machine built on top of a real-time operating system (RTOS). The virtual machine is independent of the hardware, allowing code reuse on a wide range of 32-bit microcontrollers. When running on the Nordic nRF52840 SoC, the ­virtual machine uses just 60 to 80 KB of the chip’s 1 MB Flash allocation and 3 to 5 KB of its 256 KB RAM allocation.

Zerynth Studio is a free-to-download integrated development environment (IDE) and toolchain for developing Python or hybrid C/Python applications. The IDE includes a compiler, debugger and an advanced code editor, alongside tutorials and example projects for rapid learning.

Zerynth Virtual Machine has been developed with the aim of bringing the high-level programming language, Python, to the embedded world with support for multithread and cross-board compatibility. The virtual machine supports most high-level features of Python including modules, classes, multithreading, callback, timers and exceptions. In addition, the virtual machine enables the use of custom hardware-related features like interrupts, pulse width modulation (PWM) and digital I/O.

A free licence to access the Zerynth Virtual Machine is granted once the developer creates a Zerynth account. The virtual machine is then installed on the nRF52840 SoC, enabling the developer to start programming using Zerynth Studio. The Nordic SoC’s over-the-air device firmware update (OTA-DFU) feature ensures the embedded virtual machine can be regularly updated. The supported cloud services – for example, Amazon Web Services, Google Cloud Platform and IBM Cloud – enable the developer to view their data using either the Zerynth app or a third-party IoT dashboard.

For more information contact Andrew Hutton, RF Design, +27 21 555 8400, [email protected], www.rfdesign.co.za



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Nordic expands nRF Cloud with firmware vulnerability scanning
RF Design Computer/Embedded Technology
nRF Cloud identifies vulnerabilities in firmware and shows exactly which deployed devices are affected, empowering device manufacturers to address EU Cyber Resilience Act requirements.

Read more...
Compact switch for 5G applications
RF Design Telecoms, Datacoms, Wireless, IoT
The Qorvo QPC6188 is a high-performance absorptive SP4T RF switch designed to meet the demanding requirements of modern wireless infrastructure and high-frequency communication systems.

Read more...
Advanced STM32 debugging in VS Code
Design Automation
Once an STM32 project is running in VS Code, the IAR C-SPY Debug extension adds a professional-grade analysis layer that scales with project complexity.

Read more...
Accelerate development of AI-enabled embedded systems
Design Automation
ADI’s CodeFusion Studio (CFS) is a modern embedded software development platform aimed at accelerating the creation of AI-enabled embedded systems.

Read more...
Introducing STM32CubeMX2
Altron Arrow Design Automation
STMicroelectronics has launched STM32CubeMX2, a new evolution of its popular configuration and code generation tool for STM32 microcontrollers.

Read more...
Seeing through the noise
RF Design Editor's Choice Telecoms, Datacoms, Wireless, IoT
How Adaptive Long Coherent Integration (ALCI) delivers superior measurement and positioning performance where conventional receivers fall short.

Read more...
Bluetooth Classic and LE Audio module
RF Design Telecoms, Datacoms, Wireless, IoT
Refresh legacy Bluetooth designs and unlock Bluetooth Core 6.0 LE Audio in one rugged, ready to implement module.

Read more...
Centimetre-level navigation without RTK infrastructure
RF Design Telecoms, Datacoms, Wireless, IoT
From precision agriculture and infrastructure inspection to beyond visual line of sight missions, modern UAVs demand far greater positional reliability than standard GNSS systems can typically provide.

Read more...
AI assistant for STM32 developers
Design Automation
The STMicroelectronics STM32 Sidekick is an AI-driven assistant fully integrated into the STM32 ecosystem designed to streamline embedded development using STM32 microcontrollers.

Read more...
Connected without limits: An engineering perspective on Altron Arrow’s wireless ecosystem
Altron Arrow Editor's Choice Design Automation
Wireless connectivity is no longer a supporting technology, but rather, a core design consideration that underpins modern electronic systems across industries.

Read more...









While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements and company contact details are published as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material.




© Technews Publishing (Pty) Ltd | All Rights Reserved