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:

3,75 GHz RF inductor
RF Design Passive Components
The ceramic chip wire wound inductor from Coilcraft features a DC resistance of 1 O, a DC current of 175 mA, and a self-resonant frequency of 3,75 GHz.

Read more...
IoT in a Box
RF Design Telecoms, Datacoms, Wireless, IoT
RAKwireless and Datacake have collaborated on a solution called ‘Real IoT in a Box’ to address the complexities of deploying IoT solutions, particularly when it comes to LoRaWAN.

Read more...
Direction-finding antenna board
RF Design Telecoms, Datacoms, Wireless, IoT
u-blox’s ANT-B11 Bluetooth 5.1 direction-finding antenna board is a compact Bluetooth Low-Energy angle-of-arrival antenna and sensor board combined.

Read more...
DC to 40 GHz termination
RF Design Enclosures, Racks, Cabinets & Panel Products
The TS400HM from Inmet by Spectrum Control is a 50 O termination that operates from DC to 40 GHz, and can handle an average input power of 1 W.

Read more...
Multi-band satellite modules
RF Design Telecoms, Datacoms, Wireless, IoT
The UBX-R52/S52 Series from u-blox are Multi-band LTE-M/NB-IoT/Satellite Modules that operate in 3GPP cellular bands from 450 MHz to 2,46 GHz and 1,5 to 1,7 GHz for satellite connectivity.

Read more...
IO Ninja debugging tool
RF Design News
Tibbo has released a major update to IO Ninja, its versatile communications debugging tool for Windows, Linux, and macOS.

Read more...
5G RedCap and its current environment
RF Design Telecoms, Datacoms, Wireless, IoT
5G RedCap is expected to be a key driver of the transition from 4G to 5G technology for many IoT applications.

Read more...
Altium provides free training
Design Automation
There is no longer any excuse not to master Altium Designer with the company now offering both advanced instructor-led three-day training and an on-demand video series.

Read more...
2 GHz RF amplifier
RF Design Telecoms, Datacoms, Wireless, IoT
The GRF9461 from Guerrilla RF is an RF gain block that operates from 40 MHz to 2,0 GHz and provides a gain of 19,8 dB with a noise figure of 1,8 dB.

Read more...
All-new NarrowBand-Internet of Things platform
RF Design Telecoms, Datacoms, Wireless, IoT
Cavli’s C42GM is an LTE CAT M/NB1/NB2 compatible IoT-Smart Module that comes with an integrated eSIM (MMF2) provision resulting in its globe roaming capability.

Read more...