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

Obtain ADC conversion values asynchronously #1

Open
sakitume opened this issue May 2, 2020 · 0 comments
Open

Obtain ADC conversion values asynchronously #1

sakitume opened this issue May 2, 2020 · 0 comments
Assignees

Comments

@sakitume
Copy link
Owner

sakitume commented May 2, 2020

Because the main UI loop is fairly slow, move the ADC code out of the main loop and perform it asynchronously. Consider DMA and/or IRQ driven code.

Since the internal Bayang code runs within a timer ISR (every millisecond). the refresh rate of the ADC data it uses is limited by the main loop.

See: https://community.nxp.com/docs/DOC-96507
Also the sample project zip file can be found here: https://community.nxp.com/docs/DOC-346044

@sakitume sakitume self-assigned this May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant