| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- added support for 10-bit PWM
- 10-bit ADC voltage divider calibration values instead of 8-bit
- added ability to use different DIDR channels on different hardware
- made dynamic underclocking configurable per build target
- expanded RGB aux LED support
- increased resolution of RGB voltage readout (6 colors instead of 3)
- made party strobe ontime configurable per build target
- added support for an enable/disable pin for a regulator chip
|
| | |\ \ \ \
| |/ / / /
|/| | | |
| | | | | |
voltage monitoring)
|
| | | | | | |
|
| | | | | | |
|
| | | |/ /
| | | |
| | | |
| | | | |
(there's no hardware to test on)
|
| | | | |
| | | |
| | | |
| | | | |
(wobblier), and gave K1-12V a lower moon mode
|
| | | | |
| | | |
| | | |
| | | | |
updates, because it worked well on many hosts before...
|
| | | | | |
|
| | | |\ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
vars, made KR4 rainbow mode faster
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(helps on KR4, but will probably need to add the response magnitude thing to adjust speed per build target)
|
| | | | | |
| | | | |
| | | | |
| | | | | |
raised therm faster level
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
rainbow to be default instead of voltage mode.
|
| | | | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
milestone levels
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
(some boost chips can make power unstable for a few ms, so we have to wait before accessing eeprom)
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
reliable level
(moon level 1 flickers or doesn't work at all on some hardware)
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | |\ \
| |_|_|/ /
|/| | | | |
|
| |\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
and everything touched by those)
and seems to greatly improve the thermal regulation
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
(just copied a few updates from anduril, particularly regarding FSM's "temperature" variable)
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
symbols
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
16-bit numbers
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
(had only saved it so there would be a note in history about why it's gone)
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
which mostly impacts small errors (and reduces jitter during the flat phase of regulation)
while leaving large errors pretty much unaffected...
also, made acceptable thermal window smaller to make up for this new extra tolerance
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
count any more...
... just a boolean flag for whether this is the first sample or a later sample
(so I changed it and reduced the ROM size by ~28 bytes)
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
delay between warnings,
so large warnings can remain frequent while small warnings are separated by more time,
based on a cumulative error counter which must pass a threshold before the next warning is sent
(this is producing good test results so far on D4v2 and D4Sv2)
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
it regulates really fast on D4, but once it's stable, the adjustments are too large
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
(also, now treating smoothed ADC values as 11-bit, with the lowest 5 bits chopped off to eliminate noise)
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
samples
(because, for some reason, even though 64 samples is plenty in a test program,
it ends up being extremely erratic when used inside Anduril... and I'm not sure why)
also, use 15-bit ADC values instead of 16 bits, in the temperature logic
(to help protect against integer overflows)
... but this code still doesn't work well. It regulates down *very* fast, and then
gradually rises until the next extra-fast drop-down. :(
... also, tempcheck mode sometimes changes by 4-5 C between readouts, which is worrisome.
... and factory reset is still broken.
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
(ceiling value was all wrong, and the response magnitude was way too big)
(also, temperatures here are unsigned, since freezing is about 270 in ADC units)
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
... doesn't work well, but I'm saving it so I can experiment with other methods and maybe revert back later.
|
| | | | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
changed so far:
- removed LVP lowpass and thermal regulation lowpass logic; it's probably redundant now
- slowed ADC deferred logic timing to 4X per second instead of 16X,
because there doesn't seem to be much reason to do it any faster
- reduced thermal event rate-limit to just 1 second, for more responsive regulation
- added "EV_temperature_okay" signal, to help stop adjustments at an appropriate time instead of going to far
- sped up sleep LVP to one measurement every 8 seconds instead of 16,
to help the aux LEDs respond to voltage changes faster
(effect on standby time is negligible)
- make sure the WDT doesn't set the ADC channel or counter... except in standby mode
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
back to 64
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | | |
sum-of-discrete-window method
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
(keeps stable values within ~0.46 to ~0.54 range, so truncated result has no noise)
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
eliminate noise and maybe increase precision
(thermal code still needs to be rewritten though)
|
| |/ / / / / |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|