Skip to main content
RJain.1
Associate III
March 8, 2021
Question

Hall sensor mode in timers

  • March 8, 2021
  • 1 reply
  • 1011 views

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,

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
March 8, 2021

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