MSP430 FR5994 LaunchPad

The MSP430 FR5994 LaunchPad is based on the MSP430FR5994 running at 16 MHz, and it provides 256 Kbytes of FRAM and 8 Kbytes of SRAM. The FRAM can be used as SRAM, so uLisp uses it for the workspace. The FRAM is also used for save-image and load-image:

FR5994.jpg

This board is capable of running all the uLisp examples.

The SD card interface is not currently supported on the MSP430 boards.

LEDs

The MSP430 FR5994 LaunchPad has red and green LEDs connected to the digital pins 43 and 44 respectively, which you can flash alternately with the following program:

(defun blink (x)
  (pinmode 43 t)
  (pinmode 44 t)
  (digitalwrite 43 x)
  (digitalwrite 44 (not x))
  (delay 1000)
  (blink (not x)))

Run it by typing:

(blink t)

Push buttons

The MSP430 FR5994 LaunchPad has push buttons connected to the digital pins 45 and 46; you can print their status with the following program:

(defun buttons ()
  (pinmode 45 2)
  (pinmode 46 2)
  (loop 
   (print
    (list (digitalread 45) (digitalread 46)))
   (delay 500)))