adafruit / Adafruit_CircuitPython_EMC2101

CircuitPython driver for EMC2101 brushless fan controller
MIT License
3 stars 9 forks source link

Random(ish) behavior from EMC2101 settings #30

Closed fentonfentonfenton closed 1 year ago

fentonfentonfenton commented 1 year ago
>>> emc.pwm_frequency = 7
>>> emc.pwm_frequency_divisor = 0
>>> emc.pwm_frequency
7
>>> emc.pwm_frequency
23
>>> emc.pwm_frequency
31
>>> emc.pwm_frequency_divisor
16
>>> emc.pwm_frequency_divisor
1
>>> emc.pwm_frequency_divisor
0
>>> emc.pwm_frequency_divisor
0

Also getting readings back from internal_temperature which seem to defy explanation (although sometimes it's correct!)

>>> emc.internal_temperature
21
>>> emc.internal_temperature
53
>>> emc.internal_temperature
53
>>> emc.internal_temperature
21
>>> emc.internal_temperature
53
>>> emc.internal_temperature
21

Related?

Hardware or software issue do you think? Thanks!


I have lut disabled - as far as I know - unless that's also reporting back wrong!

>>> emc.lut_enabled
False

Basically finding it hard to tune PWM to the fan I have, as I can never believe the library :)

fentonfentonfenton commented 1 year ago

Hardware issue, but will report why, fine on RPi4, weird on CM4