Announcements

Webinar: Integrated solutions for smaller, simpler low-voltage motor control design.
Join the webinar to experience!

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
User18667
Level 1
Level 1
Hi,
I am trying to read wind-milling speed using GTP12 CR Interrupt. I have set the parameters according to the documentation, still my interruption handler is never called. A sample project is attached to this post.
First, I’ve copied the Block Commutation sample project. Then, using the configuration wizard and set the following parameters:
- In the BEMF tab:
- The connect to GPT2.CAPIN: True
- Capture input select: Phase U
- Blank filter enable: False
- In the GPT12E tab:
- Capture into CAPREL enabled: True
- CAPREL Capture rigger Selection: rising edge on CAPIN
- CAPREL -> CAPTURE Interrupt: True
- Enable Interrupt: True
- Call Back: Caprel_Handler

Yet the Caprel_Handler function is never called even after I force the motor into the windmilling state using another motor.

Can anyone help me, please?

Thanks,
Wagner.
0 Likes
2 Replies
Lykaon
Employee
Employee
First like received
Hi wskeller,
thanks for your post. Could you please attach a screenshot of your config wizzard settings? We will try to reproduce the behavior then.

Best regards
0 Likes
User18667
Level 1
Level 1
Hi Lykaon,
I fix the code.
Thanks you.
0 Likes