Skip to content

PSLab Mini firmware framework #26

@Tejasgarg

Description

@Tejasgarg

Adding the main structured list for implementing the firmware for the PSLab Mini Project:

PSLab Mini Framework Structure

—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---
We are planning to implement the firmware as a multi-layer structure as follows:

Image

We aim to construct a hierarchical structure in the Firmware where each low-level driver handles a single high-level driver and provides it with structured access to the Registers and hardware it requires.

We also plan to split the firmware into two parts:
-Library Part
This part is compiled and stored as a Static library, which has all the registers, Low-level drivers, as well as high-level drivers definitions
This part exposes high-level drivers (or the instruments) and buses (for the communication protocol from low-level drivers) to the application Layer

-Application Part
This will be built on top of the library part and will be able to handle external inputs, such as data and commands, from the SD card, Serial, USB, and Wi-Fi.

The structures that we will require to implement are:

Registers

—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---
Implementing basic register control in the firmware
(This will probably be implemented along with low-level drivers on a need-to-define basis as we go along the way)

Instruments

(Here we will add the low-level drivers that get implemented along with the instruments later, as we work on the instruments.)
—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---

  • 1. Implementing Oscillocope

  • 2. Implementing Logic analyser

  • 3. Implementing Multimeter

Low-level drivers

Helper, Buses, and utility functions will come under low-level drivers
—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---

Device Connection

—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---

  • Implementing Wifi capabilities

  • Implementing the ability to flash firmware directly to ESP via STM32 peripheral gateways(this was a missing feature mentioned in one of the meetings)

Other Important Implementations of the PSLab-Mini-firmware structure

—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---—---

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions