Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

determine how to get precise fixed-duration timing #10

Open
mrmorphic opened this issue Sep 20, 2013 · 2 comments
Open

determine how to get precise fixed-duration timing #10

mrmorphic opened this issue Sep 20, 2013 · 2 comments

Comments

@mrmorphic
Copy link
Owner

I tested driving a TLC5940 using GPIO, but got a flickery display, I think because GPIO could not get consistent timing and was subject to process pre-emption and file system flushes on the board. It may not be possible to get more precise timing within the go execution context of hwio, but it would be good to see if its possible.

@stamp
Copy link

stamp commented Sep 26, 2013

Do you have a capacitor near the TLC5940? I had some transmission interference without that capacitor and it manifested it self as a flicker...

@mrmorphic
Copy link
Owner Author

No, I didn't have them on the test circuit I was using on the beaglebone. Thanks for reminding me, though. I've used these chips before (http://stuffwemade.net/project/led-cylinder/) and I did need quite a few decoupling capacitors to reduce flicker (and double buffering)

I think there is is something in the preemptive multitasking of linux though, which I'm not sure how to work around in user space. I noticed a correlation with flickering and LED blicking indicating 'disk' activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants