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

Reduce AD5592R driver's update() function to bare communication #7

Open
jostsalathe opened this issue May 11, 2018 · 0 comments
Open

Comments

@jostsalathe
Copy link
Owner

jostsalathe commented May 11, 2018

Additional actions on updatePinModes()

  • prepare a TX buffer with the necessary command sequence
  • initialize the corresponding RX buffer to zeroes to prevent false behavior
  • prepare a pointer array to direct data requests by getPin() to the correct place in the RX buffer
  • access the four AD5592R chips interleaved (especially for ADC configuration to ensure maximum time to track the signal)

More todos:

  • reduce the update() function to bare communication and let it use DMA (mind the CS pin management!)
  • add a start-/stopContinuousUpdate() function for automatic circular DMA communication
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