Northeastern-Electric-Racing / Shepherd-BMS

Our from-scratch Battery Management Application
3 stars 0 forks source link

Direct Memory Addressing for Analog-to-digital Converters #118

Open Sabramz opened 2 weeks ago

Sabramz commented 2 weeks ago

Description

Title. The reason for this is its faster and easier to read ADCs in this manner. Also we should functions that abstract HAL calls and eliminate repeated code.

Acceptance Criteria

Proposed Solution

Set up DMA for ADCs in STM32CubeMX, call DMA start function in compute init, make interface, replace calls to HAL functions with interface. Use Cerberus as a reference.

jr1221 commented 2 weeks ago

What do we use ADC for in shep?

Sabramz commented 2 weeks ago

Current sensor