adafruit / adafruit/adafruit-beaglebone-io-python

eCAP Support

Open
#306 6 comments 0 reactions 1 assignee Claimed by @pdp7 View on GitHub
enhancement
Dominant language
C
Stars
479
Forks
214
PR merge metrics
No merged PRs in 30d

Description

Hello,

I am looking to read the duty cycle of a PWM signal and use it alongside the rest of this library's functionalities. As far as I can tell, the best way to do this is to use the enhanced capture module (eCAP), but I do not see any support for that. Am I missing something? The only mention of eCAP I see when I search for it is that it can be used as an additional PWM output.

I am proficient in python, C, C++, have some experience with embedded systems, moderate experience with Linux in general, but next to no experience with Beagle Bone. I have scanned through section 15.3 of the AM335x manual and feel confident I could take this project on myself. Hopefully well enough to give it back to the community. Before I get started, Has anyone done this before? Any recommendations or caveats?

My goal will be to attach a PWM pin to an eCAP pin and be able to occasionally poll the duty cycle accurately, even at high frequencies. I will use a Beagle Bone Green with the default Linux kernel/python version for development.

Thanks,
Marcel

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.