-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
axi_dac_interpolate: Fix low sampling rate issues
Intermittently DAC channel data is 0 after multiple new buffers. Due to the low sampling rate and DMA flushing, it happens that the transfer SM gets stuck in flushing mode right before the transmission should start. Another frequent issue happens when a new transmission is started. A buffer must be pushed independently for each channel because of separate DMAs. After the first buffer is pushed the Linux driver deactivates the start_sync flag. Not knowing if the other channel/buffer will be active/pushed. The start_sync will be re-enabled with the second buffer. The issue was that the SM of the first buffer went one step further before the push if the second buffer,not being stopped by the start_sync. Signed-off-by: AndreiGrozav <andrei.grozav@analog.com>
- Loading branch information
1 parent
4fc6922
commit faf88ad
Showing
2 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters