More Content:

CForth STM32G431,F042

CForth Low Power version

SPI I/O Expansion

DTerm terminal software

SineWave Generator

Art Works  (in german)

Back to MIDI

More beyond MIDI        hard&firm

"CForth" Forth interpreter for STM32G431, STM32F042 and STM32L476

Veroboard photo CForth is a Forth interpreter system completely written in C language.
The intention is to make a straightforward user oriented Forth system,
specifically to organize interactive electronic control
of art objects and installations
or similar process control.

Primarily STM32G431KB is supported, but based on this source,
versions for STM32F042F6 (works with STM32F070F6, too).
Veroboard compatible PCB designs are proposed.

Firmware for STM32L476 Nucleo-64 and STM32G431 Nucleo-64 is provided, too.

CForth Low Power version for STM32G431 and STM32F042

Veroboard photo This special version is preferably designed for interactive control of dynamic objects
powered by small solar panels or similar projects

by means of the Forth programming language.
The power reduction is essentially obtained by a low CPU clock (921.6kHz)
and terminal access only by RS-232 instead USB.

Furthermore compact hardware was developed under the aspects of saving power.
Veroboard compatible single layer PCB layouts are available for download.
Else this CForth version has almost the same Forth kernel features as the standard version.

SPI I/O expansion board for CForth compatible hardware

Veroboard photo This SPI controlled circuit provides two 12 bit DAC, 8 digital IN, 8 digital OUT.

It can be operated with 3.3V supply or with 5V supply/3.3V logic level.
Due to a special chip select design, three ICs can be controlled with a single /CS line.
This way it fits especially for the CForth compatible STM32F042 board,
but can be used generally with SPI mode 0, 8 bit. Clock speed is uncritical up to 500 kHz.

A Veroboard compatible single layer PCB layout is available for download.   ...more

"DTerm" terminal software for RS-232 and UDP

It is surely not the best terminal emulator, but has been developed over the years for best fitness with my actual projects.
The present version 3.12 is optimized for interactive upload of scripts and source code, working together with the CForth project.
As a result of older projects, next to RS-232, Ethernet UDP terminal operation is supported. A lot of TCP / Telnet terminals are available, but tools for manual communication over UDP are rare.   ...more

Simple digital sine wave generator

Generator assembled in enclosure Construction of a simple digital sine wave generator based on Atmel ATXmega32A4 is described. The frequency range is 40Hz to 15.6 Kilohertz.
With pushbuttons, three independent frequencies are selectable: default frequencies 5kHz, 1kHz, 200Hz, which is good for rapid test of audio circuits. But the frequency of each button can be tuned over the full frequency range.
The source code written in assembler language and schematic is published here. An additional charger for a built-in 9V block accumulator is described too. This way it is an ideal out-of-lab service tool.     ...more


* State of information DECEMBER 2020.
* The hints presented here are for information only. No product features, specifications or useability are assured in juridical sense.
* All information based on best knowledge, but without any warranty. Any responsibility is excluded.
* Trademarks and product names cited in this text are property of their respective owners.

* Informationsstand Dezember 2020.
* Die hier präsentierten Ratschläge dienen allein zur Information,
sie geben keine Zusicherung von Produkteigenschaften und -Tauglichkeiten im rechtlichen Sinne
* Alle Informationen nach bestem Wissen, jedoch ohne Gewähr und unter Ausschluß jeglicher Haftung.
* Im Text zitierte Warenzeichen und Produktnamen sind geschütztes Eigentum ihrer jeweiligen Eigentümer.