The CAPTURE_Init function causes an immediate capture interrupt with static input pin

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

cross mob
User13960
Level 3
Level 3
First like received
Hi there,

The 'CAPTURE_Init' function causes an immediate capture interrupt even though the configured input pin does not change state with the resulting measured frequency of 3 Hz. This appears to be a bug in the DAVE CAPTURE APP.

My CAPTURE APP configuration...


  • ‘Start after initialization’ is ticked
  • ‘Enable capture event’ is ticked



In my case the 'CAPTURE_Init' function is being called via the 'DAVE_Init' function

Also no function seems to be available to configure the interrupt enable, only the ability to start & stop the capture timer.

Any help would be much appreciated

PHAB
0 Likes
2 Replies
jferreira
Employee
Employee
10 sign-ins 5 sign-ins First like received
Hi

Have you tried to use the low pass filter?

Regards,
Jesus
0 Likes
User13960
Level 3
Level 3
First like received
Hi Jesus, thanks for your reply.

Yes I am using the low pass filter. However my capture input pin is static so I don't think the filter helps in this case (pulled hard to 0V).

Best regards
PHAB
0 Likes