aboutsummaryrefslogtreecommitdiff
path: root/hw/lumintop
diff options
context:
space:
mode:
authorSelene ToyKeeper2024-03-04 04:42:09 -0700
committerSelene ToyKeeper2024-03-04 04:42:09 -0700
commit984758be300392d8390c9407b8c58a01f945653a (patch)
treea5087c862d40e4c23976dfe6c9a263d2623f7b39 /hw/lumintop
parentMerge branch 'trunk' into emisar-d3aa (diff)
parentenabled eeprom read/write stabilization by default on recent MCUs, (diff)
downloadanduril-984758be300392d8390c9407b8c58a01f945653a.tar.gz
anduril-984758be300392d8390c9407b8c58a01f945653a.tar.bz2
anduril-984758be300392d8390c9407b8c58a01f945653a.zip
Merge branch 'trunk' into emisar-d3aa
* trunk: enabled eeprom read/write stabilization by default on recent MCUs, to prevent corrupt data thefreeman-avr32dd20-devkit: enable boost bypass at boot, so AA/NiMH can boot avr32dd20-devkit: use unimplemented "CH" pin as a boost bypass control added "emisar-2ch-fet-joined" build, for D4S w/ lighted switch documented FW3X swapped pins better documented Wurkkos TS25/TS11/FC13 distinctions build.sh: don't require DFPs, newer avr-libc doesn't need them use BLIP_LEVEL instead of 0 for "blip"s clarified which-hex-file.md a bit; make sure the model number matches fw3x: reduced pulsing on low modes
Diffstat (limited to 'hw/lumintop')
-rw-r--r--hw/lumintop/fw3x-lume1/README.md10
-rw-r--r--hw/lumintop/fw3x-lume1/anduril.h4
2 files changed, 9 insertions, 5 deletions
diff --git a/hw/lumintop/fw3x-lume1/README.md b/hw/lumintop/fw3x-lume1/README.md
index 190cd0e..d155eba 100644
--- a/hw/lumintop/fw3x-lume1/README.md
+++ b/hw/lumintop/fw3x-lume1/README.md
@@ -6,9 +6,10 @@ sensor.
## Notes of interest
-**Flashing firmware**: The MOSI and MISO pin are swapped, compared to a Hanklight.
-LoneOceans sent a fixed driver design to Lumintop, but the new design didn't
-get produced. So to flash firmware, swap the wires for those two pins first.
+**Flashing firmware**: The MOSI and MISO pin are swapped on PCBs dated 01/20,
+compared to a Hanklight. LoneOceans sent a fixed driver design (dated 06/20)
+to Lumintop, but the new design didn't get produced. So to flash firmware,
+swap the wires for those two pins first.
**Fuses**: Lumintop seems to have shipped the FW3X with the wrong fuse values,
so it has the MCU severely underclocked and everything runs much slower than it
@@ -29,3 +30,6 @@ output is unstable so there is very visible ripple. The user can either raise
the ramp floor to a level high enough to avoid these issues, or learn to live
with the ripple and preflash.
+LoneOceans has some extra notes here, which mostly apply only to older versions
+of the code: https://budgetlightforum.com/t/anduril-2/62656/531
+
diff --git a/hw/lumintop/fw3x-lume1/anduril.h b/hw/lumintop/fw3x-lume1/anduril.h
index cd06c6a..852e1c4 100644
--- a/hw/lumintop/fw3x-lume1/anduril.h
+++ b/hw/lumintop/fw3x-lume1/anduril.h
@@ -34,8 +34,8 @@
#define DEFAULT_LEVEL 56
#define MAX_1x7135 149
#define MIN_THERM_STEPDOWN 50
-#define HALFSPEED_LEVEL 21
-#define QUARTERSPEED_LEVEL 11
+#define HALFSPEED_LEVEL 11
+#define QUARTERSPEED_LEVEL 2
#define RAMP_SMOOTH_FLOOR 1
#define RAMP_SMOOTH_CEIL 149