Skip to content

Bare metal programming in C language on STM32F030F4 for a temperature sensor

License

Notifications You must be signed in to change notification settings

nemocazin/stm32f030f4-bare-metal-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STM32F030F4 Bare metal programming

Pipeline Status

Code Coverage

Table of content

General project information

This product was developed as part of a fourth-year project in the Embedded Systems program at Polytech Lille with an another student. It consisted in designing an electronic board to measure temperature and store the values in an EPROM-type memory. We had to create the board and the programming ourselves, in a context of mass production. As a result, we had to work as if we were in a company, meaning we had to carry out all the design stages of a product.

This project is focused on the test and maintenance part of the project. Whether we were testing the physical board or the programming part, we had to do our best to ensure that the board worked in spite of the environment and all its constraints.

The project is therefore divided in two parts : the physical part with the electronic board, and the programming part with the embedded program and the tests carried out on it.

Electronic board design

This part consists of designing the electronic board. The purpose of this board is to measure temperature and store measured values in an EPROM-type memory. We were then asked to design certain components, such as the temperature sensor.

We then designed the board on Kicad-6 and drew up the schematic and routing. In the end, the board was designed on Polytech Lille's site, from manufacturing to soldering.

We also carried out tests on the board to see how it performed in certain types of environment.

The board design files can be found in the "PCB" folder of the current directory.

Embedded programming and test design

The programming of the card was mainly carried out in the C programming language and using bare metal programming.

We also used the "check.h" library to carry out unit tests and ensure the proper functioning of our code.

Nucleo boards were available to transfer our file to our microcontroller

Contact

Created by [@nemocazin] & Antoine Cegarra

About

Bare metal programming in C language on STM32F030F4 for a temperature sensor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published