Skip to content

jiogallardy/bareMetalDigitpot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation for bare metal Digital Potentiometer control

This project relies on an Arm Cortex M4 STM32F407 as the mcu selected

Please find the datasheet for the mcu here Datasheet

Additional assumptions

We are assuming that we are using the 10K Ohm model from the provided datasheet

Additional Notes about power up and power down

The state of the taps is not stored between power up and down sessions so it starts out at the 128 tap point, additional code would be needed to handle this feature. The main loop runs once and then the mcu will then loop forever

Visual Aid

visual aid

Testing, Ceedling

A basic testing environment has been setup. To run a simple unit test, simply run docker compose run ceedling, then within the shell run ceedling test:all

Formatting

Code has been clang formatted

About

A bare metal implementation using an STM32F4xx chip

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published