cancel
Showing results for 
Search instead for 
Did you mean: 

Hall sensor mode in timers

RJain.1
Associate II

Hi,

I want to interface 3-phase DC motor's hall sensor with STM32H74x MCU. I found a timer's hall sensor mode in a document but I don't have any example code to get start with it.

Can anyone please provide a reference or pseudo code for it.

Thanks in advance,

1 REPLY 1

This is what happens when marketing has say to what is in the manual. There is no such thing as "Hall sensor mode"; there are input capture, output compare and times can be chained as master/slave. Oh and there's a marginal feature, which XORs together 3 input channels; I'm not quite sure why would that be useful but I don't do motor control.

Define in timing terms, what do you want to achieve (draw a timing diagram) and write your program accordingly.

JW