We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
File mcp41010.c
In the SPI initialization, you use
'' devcfg.mode = 2;''
But according to the datasheet of the potentiometer this should be mode
'' devcfg.mode = 0; ''
or
'' devcfg.mode = 3; ''
Any other value might work but is working on the edge.
The text was updated successfully, but these errors were encountered:
Thanks for the report.
I checked the datasheet.
datasheet say:
It is possible to operate the devices in SPI modes 0,0 and 1,1.
We will fix it in the near future.
Sorry, something went wrong.
Thank you. Maybe for your reference.
I used your original code with 5 modules in parallel, and 2 of the 5 were working. After changing the SPI mode to 0, all modules are working fine.
So it might work with the current code but may not be stable over temperature and design changes.
Thank you for posting this lib!
Changed SPI mode from 2 to 0 and changed to component
No branches or pull requests
File mcp41010.c
In the SPI initialization, you use
'' devcfg.mode = 2;''
But according to the datasheet of the potentiometer this should be mode
'' devcfg.mode = 0; ''
or
'' devcfg.mode = 3; ''
Any other value might work but is working on the edge.
The text was updated successfully, but these errors were encountered: