Egor Savkin esavkin
  • Joined on 2022-09-30
esavkin pushed to 69-fan_pwm at esavkin/thermostat 2022-12-20 15:48:58 +08:00
f05e48c8c9 Implemented auto fan control
esavkin pushed to 69-fan_pwm at esavkin/thermostat 2022-12-20 14:46:30 +08:00
5fbc604ee9 Implemented auto fan control
583d06a78b Make fan cmd show the stats
Compare 2 commits »
esavkin commented on pull request M-Labs/thermostat#73 2022-12-19 17:30:05 +08:00
Support fan PWM settings

Anyway it would miss some pulses. And that can even happen if pulse comes twice during the cycle. But since the fan shouldn't make significantly more than 100 rps, I don't see a big issue there.…

esavkin commented on pull request M-Labs/thermostat#73 2022-12-19 17:17:24 +08:00
Support fan PWM settings

Because output is JSON array, and I didn't want to restructure it for this not so major change

esavkin commented on pull request M-Labs/thermostat#73 2022-12-19 17:15:56 +08:00
Support fan PWM settings

Added it to critical section

esavkin pushed to 69-fan_pwm at esavkin/thermostat 2022-12-19 17:15:42 +08:00
d117c784d9 Draft hw rev support and fan command
esavkin commented on pull request M-Labs/thermostat#73 2022-12-19 17:06:52 +08:00
Support fan PWM settings

There is no need to clear_interrupt_pending_bit before check_interrupt since there are a lot of guaranteed CPU cycles ahead. Moreover, I did so, and it didn't counted fan cycles at all.

esavkin pushed to 69-fan_pwm at esavkin/thermostat 2022-12-19 17:04:11 +08:00
2fe55f7544 Draft hw rev support and fan command
esavkin commented on pull request M-Labs/thermostat#73 2022-12-15 16:59:13 +08:00
Support fan PWM settings

TODO:

  1. chip temperature measure
  2. fan adjustments tied to the chip temperature
  3. clean up the code
  4. ???
esavkin commented on pull request M-Labs/thermostat#73 2022-12-15 16:51:18 +08:00
Support fan PWM settings

I think we can go with int range from 1 to 100, since fan seems to not support values less than 0.01

esavkin pushed to 69-fan_pwm at esavkin/thermostat 2022-12-15 16:48:06 +08:00
4223f7a4ad Draft tacho support
esavkin created pull request M-Labs/thermostat#73 2022-12-14 17:28:47 +08:00
WIP: Draft support fan PWM settings
esavkin pushed to 69-fan_pwm at esavkin/thermostat 2022-12-14 17:26:30 +08:00
30350a3651 Draft support fan pwm settings
esavkin created branch 69-fan_pwm in esavkin/thermostat 2022-12-14 17:26:30 +08:00
esavkin commented on pull request M-Labs/artiq-zynq#209 2022-12-13 17:32:45 +08:00
Support channel names in RTIO errors

since it relies on cache coherency

So all resolve_channel_name calls should be made on the core1 (like in RISC-V version now)?

esavkin commented on pull request M-Labs/artiq-zynq#209 2022-12-13 17:20:43 +08:00
Support channel names in RTIO errors

format macro wasn't available

esavkin created repository esavkin/thermostat 2022-12-13 13:44:14 +08:00
esavkin created pull request M-Labs/artiq-zynq#209 2022-12-13 12:56:19 +08:00
Support channel names in RTIO errors
esavkin pushed to 1697-rtiomap at esavkin/artiq-zynq 2022-12-13 12:54:25 +08:00
3bc8c067d3 Support channel names in RTIO errors
5c054cc901 Unify Si5324 setup code with main ARTIQ repository [nfc]
Compare 2 commits »
esavkin pushed to master at esavkin/artiq-zynq 2022-12-13 10:56:45 +08:00
5c054cc901 Unify Si5324 setup code with main ARTIQ repository [nfc]