This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: speed calculation using hall signal and eCAP module in Embedded coder

Part Number: TMS320F28379D

Hello Sir, 

I want to get speed of BLDC motor from hall signals. For that I am using eCAP module aviable in Embedded coder simulink. I am taking any one hall signal giving it to eCAP ,capturing one event at rising edge then reseting to 0. Hence getting Ts....and assuming its time diffrence between two consecutive rising edge , I am doing other mathematical manuplation on this Ts to get speed...will I get correct speed information like this?