diff options
| author | Selene ToyKeeper | 2024-03-11 17:51:14 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2024-03-11 17:51:14 -0600 |
| commit | 412df484ddf0650c07da56193bfa906a8647d1dc (patch) | |
| tree | 872a7bb361eff8857758373e8b13366344e3f20a /hw/hank/emisar-d3aa/hwdef.h | |
| parent | d3aa: fixed voltage measurement (diff) | |
| download | anduril-412df484ddf0650c07da56193bfa906a8647d1dc.tar.gz anduril-412df484ddf0650c07da56193bfa906a8647d1dc.tar.bz2 anduril-412df484ddf0650c07da56193bfa906a8647d1dc.zip | |
d3aa fine-tuning:
- new ramp
- production style config defaults (simple mode, Hank config)
- candle tuning
- fixed way-too-fast thermal regulation
(might still be a bit fast, but it's a lot better)
Diffstat (limited to '')
| -rw-r--r-- | hw/hank/emisar-d3aa/hwdef.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/hank/emisar-d3aa/hwdef.h b/hw/hank/emisar-d3aa/hwdef.h index a104fc2..56dd061 100644 --- a/hw/hank/emisar-d3aa/hwdef.h +++ b/hw/hank/emisar-d3aa/hwdef.h @@ -3,7 +3,7 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -/* +/* * NiMH/li-ion 9V2A boost driver based on MP3432 * with high dynamic range and DAC control + front aux RGB and button LED * @@ -26,7 +26,7 @@ * 16 PF7 UPDI * 17 PA0 B: aux blue * 18 PA1 - * 19 PA2 G: aux green + * 19 PA2 G: aux green * 20 PA3 R: aux red * * BST EN enable the boost regulator and Op-Amp @@ -36,7 +36,7 @@ * IN- NFET : pull up after BST enable to eliminate startup flash, pull down otherwise * BATT LVL : Vbat * (100.0/(330+100)) * VDDIO2 : can be connected to BATT+ with a solder jumper for VDDIO2 voltage sensing - * + * */ #define HWDEF_C hank/emisar-d3aa/hwdef.c @@ -59,6 +59,7 @@ enum CHANNEL_MODES { #define CHANNEL_MODES_ENABLED 0b0000000000000001 +// DAC max is 1023, Anduril is written for 255, so regulate at 4X speed #undef GRADUAL_ADJUST_SPEED #define GRADUAL_ADJUST_SPEED 4 |
