Skip to content

ericmutton/spur-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

119 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spur-project

Musings in preparation for the 2025 Summer Platform for Undergraduate Research.

Getting Started

This repository contains the project files created during my Fall 2024 and Spring 2025 semesters.

Hardware

The EDA schematic captures and prototype PC boards are maintained in separate KiCAD projects in the Hardware directory.

  • Single-Cell PMIC and Switch-Mode PSU testbench
  • NiceRF SA868 walkie-talkie module breakout board

Software

The source code utilizing either the Espressif Systems ESP-IDF Arduino Core (using FreeRTOS) for experimentation or the Zephyr Standalone Application (using ZephyrRTOS) constituting the base radio platform firmware are both maintained in the Software directory.

Scope

The scope of this research project is to build a two-way radio communications platform that remains extensible in arbitrary 'all-mode' FM modulation in both firmware and hardware.

This means adopting modern real-time operating system ecosystems, particularly the two RTOS under consideration are:

For the hardware, the platform is to allow off-the-shelf (and few bespoke) integration of:

  • Wireless communications modules
    • GNSS/GPS receivers
    • Sub-Ghz transceivers
    • LoRa transceivers
  • Peripheral Human-Machine Interface Devices (HIDs)
    • Potentiometers (Volume, Frequency), Keypad (DTMF, Navigation), Display
    • Mono CW Keyer, Keyboard, and USB devices
    • External audio source/sink, external modem/vocoder

Groundwork

  • Develop a working 'two-way' radio prototype.
    • Phase out SA868 Demo Board by building a minimal breakout board
    • Make prototype mobile through a rechargable cell and JEITA charger
      • BQ24195
    • Amplify audio output of SA868 with anything other than an LM386 reference design
    • Allow end-user to enter new RX and TX frequencies
    • All settings available to the end-user
    • Persistence of settings between power cycles

Phase 1

For the purposes of this project, the SA868 is limited to arbitrary FM modes:

  • Analog FM Voice
  • Amateur Packet Reporting System (APRS)
  • Premodulated FM Waveforms

In Analog FM Voice, a parrot test or signal strength report (Readability-Strength-Tone) would be satisfactory.

Approach

A first-principles approach in designing this platform is to be taken on:

  1. inter-device communications interfacing
    • sensor device register-level configuration
    • factory firmware flashing (see DMO module)
    • microcontroller (a)synchronous peripheral utilization
  2. utilizing vendor hardware abstractions
  3. utilizing operating system abstractions
    • target hardware-application decoupling (see ZephyrRTOS)
    • communications stack normalization (see USB, IEEE 802.15.4, Bluetooth SIG)
    • tracing & debugging meta-tooling (see openocd)

Outcomes

After discovering a lack of ZephyrRTOS Charge API charge enable in the Cirrus Logic implementation of the ti,bq24190, this research project migrated to FreeRTOS. This migration allowed for the creation of bespoke 'device drivers' for the chips utilized in the radio platform. Print debugging was satisfactory in the making of the platform firmware and so the use of OpenOCD with ESP-Prog board was only researched. Zephyr abstractions listed in part 3 of approach were considered and not implemented after the migration to FreeRTOS.

The scope of this project during the one full academic semester resulted in a functional prototype of the radio platform on two breadboards capable of UHF operation of local Richardson city amateur radio infrastructure and two-way communications with a comparable handheld radio. Afterwards in the Spring 2025 semester a handheld radio form-factor two-layer PCB was designed under the Hardware/KiCAD/spur-demo directory.

This project now contains demonstrable embedded radio firmware and human-machine interface design efforts for handheld radio operation.

About

Musings from my ECE undergraduate research project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published