STM32G0 Sensor Firmware Development

via Freelancer ·

Budget / SalaryHourly project
TypeFreelance project
LocationRemote
Posted1 hour ago
I need production-ready firmware for a small, battery-powered board built around the STM32G031G8U6 (ARM Cortex-M0+, 64 KB flash). The device’s job is straightforward sensor monitoring: it reads two TI TMAG5170 Hall sensors, drives three on-board (internal) gate-driver channels at 100 kHz, then drops back into a low-power sleep until the next timed demo cycle. Everything has to run bare-metal in C, using STM32CubeIDE and the HAL/LL libraries.

Core behaviour
• Interrupt-driven state machine orchestrating a ~15 s demo cycle with a configurable cooldown between runs.
• Timer/PWM generation for the three channels.
• Continuous ADC and I²C sampling of the Hall sensors, with simple averaging or filtering as needed.
• Battery management for a single-cell 3.85 V Li-Po: enter STOP or STANDBY, wake on timer or external event, and report low-battery via a fault flag.
• Watchdog, over-current, and low-battery protection that brings the system into a safe state.

What I will provide
• Two prototype boards for you to test on, or the full schematic if you prefer to simulate first (NDA required).
• Prompt hardware support and clarifications during development and test.

What I need back
1. Well-structured, clearly commented source code.
2. A compiled .bin ready for SWD flashing.
3. Brief setup notes so I can reproduce your build in STM32CubeIDE.

Please show me a couple of previous STM32 projects that demonstrate your work with timers, ADC, I²C, and low-power modes, along with your proposed timeline and a fixed-price quote.

I’m ready to move quickly once we sign the NDA and agree on milestones.
c programming electronics microcontroller embedded software arduino embedded systems stm32 firmware development
Apply on Freelancer →

Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.