Jan 07, 2020
02:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 07, 2020
02:49 PM
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.
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.
- Tags:
- IFX
2 Replies
Jan 08, 2020
07:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 08, 2020
07:14 AM
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
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
Jan 13, 2020
07:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 13, 2020
07:38 PM
Hi Lykaon,
I fix the code.
Thanks you.
I fix the code.
Thanks you.