Regarding Hall Sensor on S12ZVML

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Regarding Hall Sensor on S12ZVML

916件の閲覧回数
pratibhasurabhi
Contributor V

Hi I am using MTRCKTSBNZVM128 starter kit for Hall sensor algorithm.

I have found out a considerable and varying amount of delay from the moment hall pattern is changed and Hall ISR is serviced.Also the Hall ISR are not periodic in nature.

Can someone please tell me the reason behind this and also how to alleviate this problem of delay between actuall hall signal change and ISR.

0 件の賞賛
返信
3 返答(返信)

740件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

How long are the delays and how do you measure that?

Thanks,

Daniel

0 件の賞賛
返信

740件の閲覧回数
pratibhasurabhi
Contributor V

Hi Daniel ,

The delay vary, they are in the range of 30 us to 80us.

I am attaching a screenhot where i took 3 signals

Hall Signal motor side (H1), Hall signal on the port of the MCU(H1_MCUPort) and Hall ISR occurence.(Hall_ISr)

In the screenshot attached the delay is of 44 usHallDelay.JPG

0 件の賞賛
返信

740件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

The signals at PT1/2/3 have to reach V_IH, V_IL (Table A-12, #1-5, S12ZVM RM) to be detected.

Also, the IC1 interrupt has the second highest priority (5) after ADC0_done (6), as per MTRCKTSBNZVM128 source code. If there is ADC0_done ISR in progress, IC1 interrupt must wait.

 

Regards,

Daniel

0 件の賞賛
返信