I will upload updated versions of my work on this issue here: https://github.com/icub-tech-iit/study-encoders/issues/2
The goal will be to make a model of the incremental encoder signals so that the boards connected to it can be tested. the final project will have at least the "index fault" and "normal mode" operation using the "aux-amc-test" board with microcontroller "STM32 NUCLEO-G474RE"
with "incremental_encoder_corret_function_model_01.c" it's possible create a model of incremental encoder with general porpouse code like this:
Correct scenario
Index error scenario