CForth Low Power version
SPI I/O Expansion
DTerm terminal software
Art Works (in german)
Back to MIDI
More beyond MIDI hard&firm
"CForth" Forth interpreter for STM32G4xx, STM32F042 and STM32L476
CForth is a 32 bit 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 the code was developed for STM32G431KB,
but STM32F441 and STM32G474 is supported, too (LQFP32 and LQFP48).
Based on this source, firmware for STM32F042F6 (also works with STM32F070F6),
for STM32L476 Nucleo-64 and STM32G431 Nucleo-64 is provided.
Veroboard compatible PCB designs are proposed.
CForth Low Power version for STM32G431, STM32G441 and STM32F042
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 or 3.6864MHz)
and terminal access only by RS-232 instead USB.
Else this CForth version has almost the same Forth kernel features as the standard version.
Appropriate hardware was developed under the aspects of saving power.
Veroboard compatible single layer PCB layouts are available for download.
SPI I/O expansion board for CForth compatible hardware
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.13 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
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 June 2021.
* 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 Juni 2021.
* 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.