aboutsummaryrefslogtreecommitdiff
path: root/hw/lumintop/fw3x-lume1
diff options
context:
space:
mode:
authorSelene ToyKeeper2024-03-12 13:17:47 -0600
committerSelene ToyKeeper2024-03-12 13:17:47 -0600
commit8dbc5c8b694a5a60b5f2bbc4228037eff119ba68 (patch)
tree4e2404dcbc74c175bc9c60a68bb18708f15cb521 /hw/lumintop/fw3x-lume1
parentadded wurkkos-ts25-boost (early version made from spec, no clue if it works) (diff)
parentenabled eeprom read/write stabilization by default on recent MCUs, (diff)
downloadanduril-8dbc5c8b694a5a60b5f2bbc4228037eff119ba68.tar.gz
anduril-8dbc5c8b694a5a60b5f2bbc4228037eff119ba68.tar.bz2
anduril-8dbc5c8b694a5a60b5f2bbc4228037eff119ba68.zip
Merge branch 'trunk' into wurkkos-ts25-boost
* 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/fw3x-lume1')
-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