CPDP Posted March 29, 2022 Share Posted March 29, 2022 Hi everyone ! I juste bought a Digilent PmodHAT and 2 Digilent PmodDA4 to embellish my RPI4 and continue to develop my python app. I downloaded the python library for the HAT with sudo pip3 install designspark.pmod Then, i wanted to create a "dac" object to play with my equipment. I'm probably missing something, but it seems that HAT library do not implement DA4 as you can see on this screenshot : Is there an up to date library able to control PmodDA4 ? Is there a non official library to do that ? Thanks in advance for your answers :) Cédric PDP Link to comment Share on other sites More sharing options...
0 JColvin Posted March 30, 2022 Share Posted March 30, 2022 Hi @CPDP, Digilent did not create the python materials for the Pmod HAT; those were solely created and maintained by DesignSpark. I haven't used those materials in particular, but I would probably recommend looking into how the Pmod MIC3 is set up since that Pmod also reads in multiple bytes over the SPI protocol and changing the library so that it sends out the necessary set-up stream to get the internal AD5628 to use it's internal voltage reference rather than the non-existent external reference that it uses by default on power-up. More details on how to do this setup is explained in it's reference manual: https://digilent.com/reference/pmod/pmodda4/reference-manual#interfacing_with_the_pmod. Let me know if you have any questions. Thanks, JColvin Link to comment Share on other sites More sharing options...
Question
CPDP
Hi everyone !
I juste bought a Digilent PmodHAT and 2 Digilent PmodDA4 to embellish my RPI4 and continue to develop my python app.
I downloaded the python library for the HAT with
sudo pip3 install designspark.pmod
Then, i wanted to create a "dac" object to play with my equipment.
I'm probably missing something, but it seems that HAT library do not implement DA4 as you can see on this screenshot :
Is there an up to date library able to control PmodDA4 ?
Is there a non official library to do that ?
Thanks in advance for your answers :)
Cédric PDP
Link to comment
Share on other sites
1 answer to this question
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