Version 1.3.0
Version 1.3.0
For this version the configuration file has to be changed. The section
watchdog: {}
has been expanded with extra functions. See:watchdog documentation <https://litex-cnc.readthedocs.io/en/latest/modules/watchdog.html>
_
-
firmware
:watchdog
: completly new watchdog. Functions can be added to thewatchdog
, such as a heartbeat or an enable signal. The enable signal can for example be used to disable the stepper drivers when the watchdog has detected an error. Also E-stop can be directly be wired into thewatchdog
, making them an integral part of the E-stop chain.stepgen
: themax_frequency
of the stepgen can be set. The default value is 400 kHz (equal to prior v ersions). With themax_frequency
and the clock frequency of the FPGA the optimal shift is calculatedensuring the maximum resolution, whilst assuring the requested maximum frequency.pwm
: Supports two additional modes:PWM/direction
andUP/DOWN
.encoder
: Supports counter mode.gpio
: Fixed bug in building firmware when allgpio
are either input or output.- the LED and button on the 5A-75B and 5A-75E can be used in the firmware.
- toolchain: fixed bug in detecting OS.
- toolchain: bumped version of Litex to 2024.12.
- toolchain: bumped version of OSS-cad-suite to 20241231.
-
driver
:watchdog
: completly new watchdog. The driver watchdog is implemented as a E-stop latch, so it can be used within an E-stop chain in the HAL. When the watchdog has bitten, it has to be actively reset by resetting the E-stop latch to resume command of the FPGA. Examples on how to tie thewatchdog
into HAL are provided in the documentation.stepgen
: Addedindex-enable
andindex-pulse
. When theindex-enable
is HIGH and a pulse is received onindex-pulse
the counter of thestepgen
is reset to 0.pwm
: the signal of PWM can be inverted.- all pin names are now consistently using
-
as seperator (i.e.index-enable
instead ofindex_enable
)