Nico Tonnhofer
aeb98b557b
STM32F411: cleanup code with using pinio.h macros.
2017-03-03 18:54:57 +01:00
Nico Tonnhofer
dee35e2c02
STM32F411: enable temperature control.
2017-03-03 18:54:57 +01:00
Nico Tonnhofer
6f334be231
STM32F411: support inverted heater pin signals.
2017-03-03 18:54:57 +01:00
Nico Tonnhofer
afc4c3e8e4
STM32F411: Allow non-PWM pins as heater output.
2017-03-03 18:54:57 +01:00
Nico Tonnhofer
423c5694d0
STM32F411: Respect configured PWM frequencies in heater-stm32.c
...
Test: the PWM frequency on the scope should be similar to the
one configures in the board file with DEFINE_HEATER().
2017-03-03 18:54:57 +01:00
Nico Tonnhofer
06c6aed23d
STM32F411: Turn on only timers needed in heater-stm32.c
...
Test: PWM pins work as before.
2017-03-03 18:54:57 +01:00
Nico Tonnhofer
12691b4488
STM32F411: Implement heater_set() in heater-stm32.c.
...
Works very nicely from full off (M106 S0) to full on (M106 S255).
Test: M106 should work now as expected. M106 S0 should turn full
off, M106 S255 should turn full on, both without any spike on the
scope.
2017-03-03 18:54:57 +01:00
Nico Tonnhofer
df78b8d826
STM32F411: implement heater-stm32.c partially.
...
Like Traumflugs implementation at a fixed frequency of 1kHz and a fixed duty
cycle of 10%.
2017-03-03 18:54:57 +01:00