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

[nios] VCTCXO Trim DAC Readback is implemented incorrectly #471

Open
jynik opened this issue May 4, 2016 · 0 comments
Open

[nios] VCTCXO Trim DAC Readback is implemented incorrectly #471

jynik opened this issue May 4, 2016 · 0 comments
Labels
Component: HDL HDL component Component: Nios II Nios II issues Issue: Bug It's a bug and it oughta be fixed

Comments

@jynik
Copy link
Contributor

jynik commented May 4, 2016

Here in the NIOS code we currently perform an SPI transaction in the form:

[ Command | Read Data ]

However, the DAC actually requires two separate transactions to retrieve the register data:

[ Command | Dummy Data] [ Command | Read data ]

Fortunately, this defect does not cause users to see invalid values. When clocking in "Dummy Data," the device is clocking out data from the previous command. This will either be previous read data or the data we were writing to the VCTCXO. Given the manner in which we use the device, both should be "correct."

Thus, this issue is a lower-priority "to do" item.

Reference:
dac161s055_read

@jynik jynik self-assigned this May 4, 2016
@jynik jynik added the Issue: Bug It's a bug and it oughta be fixed label May 4, 2016
@rtucker rtucker added Component: HDL HDL component Component: Nios II Nios II issues labels Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: HDL HDL component Component: Nios II Nios II issues Issue: Bug It's a bug and it oughta be fixed
Projects
None yet
Development

No branches or pull requests

2 participants