Repository navigation
Bitaxe Gamma: ASIC temperature reads about 17 °C high because the EMC2101 diode is never calibrated #136
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Issue Description
On main (f7c45b4), the Bitaxe board reads the ASIC temperature through the EMC2101's external diode channel, but
Emc2101::init(emc2101.rs:140), called frominit_fan_controller(bitaxe.rs:523), never writes the diode's ideality factor (0x17) or beta compensation (0x18). They stay at the power-on defaults,0x12and0x08. esp-miner writes0x24and0x00for boards 600-603 and 650 (device_config.c, applied inthermal.c).Without those values the reading comes out about 17 °C high. The 80 °C emergency shutdown (
bitaxe.rs:380) therefore trips at a real temperature of about 63 °C, and fan control (#33) would be tuned against the inflated number.The EMC2101 keeps these registers across Mujina restarts, and only a power cycle restores the defaults. A board that last ran AxeOS reads correctly under Mujina until it loses power, which would explain why the higher temperatures reported in #50 come and go.
Expected Behavior
Mujina writes esp-miner's diode calibration for the Gamma at board init, and reports the same ASIC temperature as esp-miner for the same chip state.
Actual Behavior
The registers are left at their defaults, so the reading is about 17 °C higher than the same chip reads with esp-miner's values. Gamma 601, fan held at 100%, 8 minutes per setting, averaging the last 4:
Core power and VR temperature didn't change, so the chip was in the same state and only the reading moved. A second Gamma 601 showed 16.0 °C when the registers were switched back and forth at steady load.
Reproduction Steps
For the numbers above, I set the registers before each run and used a build that either writes the calibration at init or skips it, alternating runs at fixed frequency, voltage and fan speed.
Logs
mujina-miner Version
Linux Distribution and Kernel
Debian GNU/Linux 13 (trixie), Linux 6.12.111+deb13-amd64
Hardware Info
Configuration
All reactions