Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Description
With this PR we should solve two issues regarding spikes on the DAC(waveform generator)
The last sample_hold will be the default option, useful only for non-cyclic buffers.
Software considerations:
Linux:
The Driver should expose the new flags from register 0x50 and from register 0x64 the attributes for raw data.
libm2k:
The FLUSH_DMA flag is active by default. At this moment we do not plan to use the "pause" feature, so, nothing to be done here. Maybe expose this attribute for advanced users.
Same for STOP_SYNC_CHANNELS.
CH_A_RAW_TRANSFER_EN and CH_A_RAW_DATA should be accessible to users.
When a hold value is desired, after a cyclic buffer there are two option:
PR Type
PR Checklist