Skip to content

Conversation

@Paciente8159
Copy link
Owner

general improvements to the encoders module:

  • added PPR settings for all encoders and configurable encoder resolution
  • added support for other types of encoders (pulse counter, i2c, ssi, etc..)
  • overridable encoder reader to allow definition of custom encoders reading methods
  • encoders differential readings

- adding initial support to other types of encoders (MT6701) and different encoders interfaces
- fixed soft i2c loop issues
- improved i2c encoder reading
- added encoder i2c initialization
@Paciente8159 Paciente8159 added module: encoder µCNC module: encoder new feature: module new feature: module enhancement enhancement labels Mar 13, 2025
- modified mcu_us_delay for better accuracy based on __TIMEOUT_US__ macro
- improved __TIMEOUT_US__ macro
- added new generic ISR context functions (testing in AVR)
- new cnc_yield macro to replace mcu_dotasks call while waiting for a resource
- moved encoder comm reading to the RTC task
- moved rtc tick event to a custom task
- force ENABLE_MAIN_LOOP_MODULES if comm encoders are present
- improved cnc_yield macro to check for isr context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement enhancement module: encoder µCNC module: encoder new feature: module new feature: module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants