Skip to content

Ludovic-Lesur/dmm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

The DMM is the master board of the DINFox project. It embeds the following features:

  • RS485 communication to monitor and control slaves on the bus.
  • HMI for local monitoring and control.
  • Analog measurements such as USB, RS485 bus, and HMI voltages.

Hardware

The board was designed on Circuit Maker V2.0. Below is the list of hardware revisions:

Hardware revision Description Status
DMM HW1.0 Initial version.

Embedded software

Environment

The embedded software is developed under Eclipse IDE version 2024-09 (4.33.0) and GNU MCU plugin. The script folder contains Eclipse run/debug configuration files and JLink scripts to flash the MCU.

Warning

To compile any version under sw5.0, the git_version.sh script must be patched when sscanf function is called: the SW prefix must be replaced by sw since Git tags have been renamed in this way.

Target

The board is based on the STM32L081CBT6 microcontroller of the STMicroelectronics L0 family. Each hardware revision has a corresponding build configuration in the Eclipse project, which sets up the code for the selected board version.

Architecture

Structure

The project is organized as follow:

  • drivers :
    • device : MCU startup code and linker script.
    • registers : MCU registers address definition.
    • peripherals : internal MCU peripherals drivers.
    • mac : medium access control driver.
    • components : external components drivers.
    • utils : utility functions.
  • middleware :
    • analog : High level analog measurements driver.
    • hmi : Nodes access through HMI.
    • node : UNA nodes interface implementation.
    • power : Board power tree manager.
    • radio : Nodes access through radio.
  • application : Main application.

About

DINFox project : master module (STM32L081CBT6).

Resources

Stars

Watchers

Forks

Packages

No packages published