Fix wrong current limit duty cycle calculation #134
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "atse/thermostat:fix_wrong_current_limit_duty_cycle_cal"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
max_i_pos
andmax_i_neg
don't quite accurately limit current outputs.This is because previous commits assumed setting 3.3V -> 3A current limit, which is wrong.
According to the MAX1968 datasheet,
![Unsaved Image 2.png](/M-Labs/thermostat/attachments/0d455c27-1669-4cad-b956-2234a0081c07)