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

DAC trigger support #359

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

DAC trigger support #359

wants to merge 4 commits into from

Conversation

Adrian-Stanea
Copy link
Contributor

Added support on DAC for start and stop events based on a trigger signal

- Analog output interface can execute start/stop actions based on trigger events.
- Available trigger sources are: TI pin, ADC and LA.
- Added functions to control the TI trigger source.
- ADC and LA sources use the configuration of the corresponding interface.
- Add get trigger handler from the AnalogOut interface.

Signed-off-by: Adrian Stanea <Adrian.Stanea@analog.com>
… versions

- AnalogOut trigger features are only available in fw0.33 and onwards. Show error messages for older versions.

Signed-off-by: Adrian Stanea <Adrian.Stanea@analog.com>
- Introduce the auto_rearm attribute to the AnalogOut class.
- This attribute controls the behavior of the DAC when configured to start on a trigger event.
- When auto_rearm is disabled, all previously loaded buffers will be sent to the DAC output upon the trigger event.
- When auto_rearm is enabled, each previously loaded buffer will be sent to the DAC output on each trigger event.

Signed-off-by: Adrian Stanea <Adrian.Stanea@analog.com>
Signed-off-by: Adrian Stanea <Adrian.Stanea@analog.com>
@Adrian-Stanea Adrian-Stanea changed the title Add support for triggered output signals DAC trigger support Jun 13, 2024
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

Successfully merging this pull request may close these issues.

None yet

1 participant