Using Hall Sensor Interface of STM32F3/F4
Posted: Fri Jan 15, 2016 9:03 am
Hi Giovanni,
I intend to use the Hall Sensor Interface, provided by e.g. STM32F3 or F4.
To do so, an interfacing timer is needed to be configured, to capture any Hall sensor change (a Special XOR-functionality allows, to use only one channel for this purpose). This can be seen as an ICU functionality.
Furthermore, the same interfacing timer shall be used to generate a positive pulse after a programmed delay (in Output compare or PWM mode).
To implement this functions with ChibiHAL, I have to add specific low-level functions of course.
But, I generally don't know which driver (PWM, ICU, TIM) shall be used for the described interfacing timer?
Do you have any suggestions, how to deal with this problem?
Regards,
Daniel
I intend to use the Hall Sensor Interface, provided by e.g. STM32F3 or F4.
To do so, an interfacing timer is needed to be configured, to capture any Hall sensor change (a Special XOR-functionality allows, to use only one channel for this purpose). This can be seen as an ICU functionality.
Furthermore, the same interfacing timer shall be used to generate a positive pulse after a programmed delay (in Output compare or PWM mode).
To implement this functions with ChibiHAL, I have to add specific low-level functions of course.
But, I generally don't know which driver (PWM, ICU, TIM) shall be used for the described interfacing timer?
Do you have any suggestions, how to deal with this problem?
Regards,
Daniel