mindjuice Posted December 13, 2010 Report Posted December 13, 2010 Can anyone explain me how to wire the digipots on J19 (core32stm)? Regards... :sorcerer:
philetaylor Posted December 13, 2010 Report Posted December 13, 2010 Hi. Hopefully Jonathan Farmer who did all of the work on the Digipot interface will respond but I would guess that something like this should work: You will need to "#define DPOT_SPI 2" to use J19 SO of J19 connects to SI of the first MCP42XXX SI of J19 connects to SO of the second MCP42XXX SC of J19 connects to SCK of both MCP42XXX RC1 or RC2 of J19 connects to CS of both MCP42XXX (#define DPOT_SPI_RC_PIN 0 or 1 ) You may find more information about this by reading the source code in %MIOS32_PATH%/trunk/modules/dpot and %MIOS32_PATH%/trunk/apps/tutorials/026_dpot directories. Cheers Phil
mindjuice Posted December 14, 2010 Author Report Posted December 14, 2010 Thank you very much philetaylor Your wire description works perfectly test_pcb :D
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now