Forth code for Mecrisp (+Stellaris) on STM32 and MSP430
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
flabbergast abf8b5ffb7 Bat board fixes and sleep-test. 4 months ago
..
ex Bat board fixes and sleep-test. 4 months ago
README.md Bat board fixes and sleep-test. 4 months ago
always.fs Initial. 6 months ago
board.fs Bat board fixes and sleep-test. 4 months ago
core.fs Bat board fixes and sleep-test. 4 months ago

README.md

This code runs on the bat board, with L052 MCU.

  • default I2C: B7/SDA, B6/SCL (tricky to change, at one point it’s hardcoded into jcw’s driver)
  • default SPI: PB8/ssel, PB5/MOSI, PB4/MISO, PB3/SCLK
  • also defined:
    • LED = PA15, active: set/high
    • BTN = PA1, pressed: true

Power consumption notes

Tried running ex/sleep-test.fs lp-blips powered through the voltage regulator with 5V, and the consumption was about 4uA. This is really good; the regulator seems to really take only about 1.5-2uA.