tiny Spectrum Analyzer
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.
 
 
 
Go to file
DiSlord d9d1cb7f67
Use precision format for frequency output
6 years ago
.circleci
.settings Trigger debugged 6 years ago
.vscode
ChibiOS@669d4bbc8d
NANOVNA_STM32_F072
doc Doc update 6 years ago
python
.clang-format
.cproject Github name change 6 years ago
.gdbinit
.gitignore Revert "Added chibios to ignore" 6 years ago
.gitmodules
.project Github name change 6 years ago
Font5x7.c
Font7x13b.c Variable size font 6 years ago
Makefile Add UP/DOWN trigger option and optimize constants 6 years ago
README.md Link to tools added 6 years ago
STM32F072xB.ld
adc.c Use average (count = 8) for all ADC measure (include battery) 6 years ago
chconf.h Small style fixes 6 years ago
chprintf.c Use precision format for frequency output 6 years ago
flash.c
halconf.h Reduce USB buffer size from 128 to 32 6 years ago
ili9341.c More defines for use set FG BG color, direct call function more compact 6 years ago
main.c Touch fixes, and optimization 6 years ago
mcuconf.h Improved compatibility with 4inch code 6 years ago
nanovna.h More defines for use set FG BG color, direct call function more compact 6 years ago
numfont20x22.c Big font fixes 6 years ago
plot.c Use precision format for frequency output 6 years ago
prog.sh
sa_cmd.c Cache attenuation data, not rewrite if some 6 years ago
sa_core.c Add HW refresh option after 5000 sweeps 6 years ago
si4432.c init PE4302 attenuation cache as impossible value 6 years ago
si4432.h Changed to symbolic names for the SI4432 selection 6 years ago
ui.c Touch fixes, and optimization 6 years ago
ui_sa.c Not redraw menu then need step back and leave ui 6 years ago
usbcfg.c
usbcfg.h
waterfall.c Allow more better define waterfall_palette size and use 6 years ago

README.md

tinySA - tiny Spectrum Analyzer

GitHub release CircleCI

About

tinySA is very tiny handheld Spectrum Analyzer (SA). It is standalone with lcd display, portable device with battery. This project aim to provide an useful instrument for the RF enthusiast.

This repository contains source of tinySA firmware.

Prepare ARM Cross Tools

UPDATE: Recent gcc version works to build tinySA, no need old version.

MacOSX

Install cross tools and firmware updating tool.

$ brew tap px4/px4
$ brew install gcc-arm-none-eabi-80
$ brew install dfu-util

Linux (ubuntu)

Download arm cross tools from here.

$ wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2018q4/gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2
$ sudo tar xfj gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2 -C /usr/local
$ PATH=/usr/local/gcc-arm-none-eabi-8-2018-q4-major/bin:$PATH
$ sudo apt install -y dfu-util

Fetch source code

Fetch source and submodule.

$ git clone https://github.com/erikkaashoek/tinySA.git
$ cd tinySA
$ git submodule update --init --recursive

Build

Just make in the directory.

$ make

Build firmware using docker

Using this docker image and without installing arm toolchain, you can build the firmware.

$ cd tinySA
$ docker run -it --rm -v $(PWD):/work edy555/arm-embedded:8.2 make

Flash firmware

First, make device enter DFU mode by one of following methods.

  • Jumper BOOT0 pin at powering device
  • Select menu Config->DFU (needs recent firmware)

Then, flash firmware using dfu-util via USB.

$ dfu-util -d 0483:df11 -a 0 -s 0x08000000:leave -D build/ch.bin

Or simply use make.

$ make flash

Companion Tools

There are several numbers of great companion PC tools from third-party.

Documentation

Reference

Note

tinySA is a trademark owned by its respective owner. Unauthorized use the the name tinySA not permitted

Authorized Distributor

Credit

Contributors

Powered by TurnKey Linux.