MSR Brain RP2040 59 v0.1
Prototype board
Features
- Jacdac on pin 9 using Jacdac connector
- RGB LED on pins 11, 13, 15 (use setStatusLight to control)
- Serial logging on pin 2 at 115200 8N1
- Service: power (auto-start)
caution
I2C pins are not configured.
Stores
Pins
pin name | hardware id | features |
---|---|---|
P26 | GPIO26 | analogIn, io |
P27 | GPIO27 | analogIn, io |
P3 | GPIO3 | io |
P4 | GPIO4 | io |
P5 | GPIO5 | io |
P6 | GPIO6 | io |
jacdac.pin | GPIO9 | jacdac.pin, io |
led.rgb[0].pin | GPIO11 | led.rgb[0].pin, io |
led.rgb[1].pin | GPIO13 | led.rgb[1].pin, io |
led.rgb[2].pin | GPIO15 | led.rgb[2].pin, io |
log.pinTX | GPIO2 | log.pinTX, io |
services.power[0].pinEn | GPIO19 | services.power[0].pinEn, io |
services.power[0].pinFault | GPIO25 | services.power[0].pinFault, io |
DeviceScript import
You must add this import statement to load the pinout configuration for this device.
In Visual Studio Code, click the wand icon on the file menu and select "MSR Brain RP2040 59 v0.1".
import { pins, board } from "@dsboard/msr59"
Firmware update
In Visual Studio Code, select DeviceScript: Flash Firmware... from the command palette.
Run this command line command and follow the instructions.
devicescript flash --board msr59
Configuration
msr59.json
{
"$schema": "https://raw.githubusercontent.com/microsoft/devicescript-pico/main/boards/rp2040deviceconfig.schema.json",
"id": "msr59",
"devName": "MSR Brain RP2040 59 v0.1",
"productId": "0x35a678a3",
"$description": "Prototype board",
"archId": "rp2040",
"jacdac": {
"$connector": "Jacdac",
"pin": 9
},
"led": {
"rgb": [
{
"mult": 250,
"pin": 11
},
{
"mult": 60,
"pin": 13
},
{
"mult": 150,
"pin": 15
}
]
},
"log": {
"baud": 115200,
"pinTX": 2
},
"pins": {
"P26": 26,
"P27": 27,
"P3": 3,
"P4": 4,
"P5": 5,
"P6": 6
},
"services": [
{
"faultIgnoreMs": 100,
"mode": 2,
"name": "power",
"pinEn": 19,
"pinFault": 25,
"service": "power"
}
]
}