-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Welcome to the stubforth wiki!
So far, it’s mostly a gallery of hardware stubforth is running on.
The printer firmware is 90% forth code, including interrupt handlers for slower things such as the ADC for temperature regulation. The multiplexing of the temperature display digits is done in C.
These were once sold for 3€ by Pollin. Presumably, it was a failed dotcom product. It’s about the same hardware as a Palm, plus an accelerometer.
I really like the discreteness of this oldish (~Y2K) router board. It has all the things you find in a modern ARM µC in an external package, including the DMA with the 100MBit ethernet via SRAM. The bus logic is done with CPLDs and switches.
Since stubforth currently supports compiling to SRAM only, using it on the MSP430G2553IN20 is quite limited considering the 512 bytes total. Nevertheless it works great to bring up random peripherals with short programs for ad-hoc experiments. In the example below, I used Timer A to generate the PWM needed for a brushless motor controller.
Porting to the evalbot was trivial after doing the launchpad port. I have a couple of ideas for additional sensors. The most important one being cliff sensors to make it desk-capable. I’m still waiting for my bluetooth UART to arrive though, since playing with it while tethered is not too much fun.
The first ARM port of stubforth was on the STM32F4discovery. I was a rather happy student back then when all the ARM vendors tried to outbid themselves with the cheapest eval boards…
In contrast to most other ARM silicon vendors, the STM32F4 chips tend to have multiple rather fast PLLs, one of which I’m using in the image below to generate the oscillator for mixing HF to complex baseband, which is in turn fed to the sound card for doing SDR. stubforth is mostly idle except for doing some math and configuring the PLL when it is told to do so.