13 Commits

Author SHA1 Message Date
Benjamin Wilson
488473e10e
temp sensor fixes (#484)
* temp sensor fixes

* fix emc2101 external temp sign reading

* reset self test file

* Make the emc2101 changes specific to BM1370

---------

Co-authored-by: Benjamin Wilson <admin@opensourceminer.com>
2024-11-16 20:09:32 -05:00
Skot
e1bf30b26e
Fix compiler warnings (#381)
Fix all compiler warnings and migrate off depreciated ADC and I2C libraries.
---------
Co-authored-by: Erik Olof Gunnar Andersson <eandersson@users.noreply.github.com>
2024-10-08 11:27:32 -04:00
Benjamin Wilson
336ed3aaa9 Fix low hashrate, fix overheat boot loop 2024-06-22 19:15:25 -04:00
Georges
c9865a5e0a
Optimization: i2c factorization (#202)
* optim: factorize i2c_master_init() and i2c_master_delete()

* optim: factorize register_read() and register_write_byte()
2024-06-05 18:53:30 -04:00
tdb3
28d61cd027
refactor: deduplicate i2c parameters
Pulls common i2c macros (e.g. GPIO pins, speed, etc.)
into a common header, to deduplicate and increase
maintainability.
Also adds missing include for DS4432U.h in DS4432U.c.
2024-05-27 11:43:29 -04:00
Ben
fc0e49e5d5 automatic fan speed control 2023-11-14 21:59:09 -05:00
Ben
c911b8e0ec PWM fan control 2023-10-31 19:40:22 -04:00
Ben
ef71810bba EMC2101 should read internal temp if BM1366 2023-09-06 17:22:08 -04:00
Ben
79430f6d3a reformat entire c project 2023-08-26 12:28:17 -04:00
Skot Croshere
4be57fef83 added chip temp to EMC2101.c 2023-07-01 14:17:01 -04:00
Skot Croshere
5ca33a8656 fan speed can be 16 bit 2023-07-01 14:17:01 -04:00
Skot Croshere
4b01c67d50 Fan speed seems to be working, Added some INA260 tests. doesn't seem like power is working yet 2023-07-01 14:17:01 -04:00
Skot Croshere
d9b4e0e4f0 Added the start to a EMC2101 driver. Setting fan speed works, reading fan speed doesn't. 2023-07-01 14:16:58 -04:00