-
Notifications
You must be signed in to change notification settings - Fork 34
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
Consider replacing DAC8568C with DAC8568A #7
Comments
Resurrecting an old issue here but thought I its a pertinent place to raise it. If you dont think so, Im happy to delete my comment. I made the mistake of getting a DAC8568B, which like A, doesn't have the 2x output gain. I am not worried about the initialisation value being at midpoint given the firmware appears to init the Dac to 0v regardless. So the two options are:
From my understanding of this issue and the effective output in the datasheet, it seems that the leading bit is irrelevant because the VCC is less than the 5v range. My thought it then that the gain can be made up with writing double the DATA value to the DAC. If this is true, if we reduce the right data bitwise shifts in the Dac write by 1, we can effectively make up the range:
to
Do you think this could work? I am going to give it a test in the coming days. Or do you know a better place (this is no doubt a hack) to make such a change? It seems like the scale values defined in 🙏 🙏 🙏 edit: I have tested the above and for several tracks (on which I tested it) and in cases C0 reads 0V, C5 reads 5V and C-5 reads -5V! So this appears to have worked! I'd try comment on your precision questions regarding the worse internal 2.5v ref but my meter isnt isn't accurate enough to conclude. @westlicht If you are interested in determining the accuracy of this, I can source a higher quality meter and scope to perform whatever tests you like. |
Hey, I only saw this comment now. I think the change you did is valid, shifting the output by one bit. I might consider adding that to the hardware config so people can actually use the cheaper DAC if the wish to. I haven't measured the difference in accuracy, would have to first make a performer with the A grade DAC. |
Great! Yeah, I have been using it since without any complaints or noticeable drift. Thanks for the response. |
Hello! My Performer is built with DAC8568A🤔 A way to switch would make my life easy or, could you please share with me update file? Any help would be greatly appreciated! |
@Timnuge as per above notes, heres the changes I made to
Would have pushed a custom branch to the main repo but (very sensibly) I don't have the requisite permissions. Theres probably a better way to express |
The C grade have 5V full scale output, but due to VCC at 3.3V we only use half range at 2.5V and loose 1 bit of accuracy. We could replace with DAC8568A which has full range at 2.5V, so this would allow us to use all bits, however, we loose some accuracy due to lower grade of internal reference.
The text was updated successfully, but these errors were encountered: