-
Make sure you have rust installed and all the dependencies for the project
- to install rust
- to have everything up to date run
rustup self update rustup update stable rustup target add thumbv6m-none-eabi
cargo install flip-link
- install uv (python runner for serial, or you can use another serial monitor but sometimes the format is wonky for firefly)
cargo install --git https://github.com/astral-sh/uv uv
-
Either set up pico probe or other debugger (only way to get text output) or enable to uf2 loader in
.cargo/config
-
run
cargo run
to build and flash the code -
set up the launch pad in 802.15.4 mode in TI Smart RF Studio 7
-
go to packet rx
-
set frequncy to 2460 MHz (Channel 22)
-
plug in firefly, connect with this kind of command (usb device is usually COM-n on windows and like /dev/tty.usbserial-14440 on mac/linux)
uvx --from pyserial pyserial-miniterm -e <usb-device> 115200
-
type
r
and hit enter to restart the firefly / clear configuration -
type
f 2452
and hit enter to set the carier to 2452 MHz -
type
a
and hit enter to start the carier -
on Smart RF studio click start and you should see some packets
-
make sure that the firefly is within 6-10cm of the backscatter board