-
Notifications
You must be signed in to change notification settings - Fork 853
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: frequency: cf_axi_dds: Fix undesired sync start behavior
The SYNC bit in REG 0x44 has two different use cases. It's required to reset/sync the DDS core once a new frequency/phase is set. And in some projects it's being used to reset/gate the DDS/DMA until an external sync event (via SYSREF, etc.) is received. In general is sub-optimal and will be fixed in the next release. This commit makes sure that between buffer enable/disable this bit is not touched for certain use cases. And the user which want's to sync start DMA/DDS needs to write 1 to a new sync_start_enable device attribute. Signed-off-by: Michael Hennerich <[email protected]>
- Loading branch information
1 parent
4f2a95e
commit f82e3b4
Showing
3 changed files
with
113 additions
and
15 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
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