JeffKlaas Posted June 17, 2019 Share Posted June 17, 2019 Using the Waveforms GUI, we can set the SPI logic driver levels using the Supplies tab. How do we do the same thing in a Python script? All of the examples generate 3.3V SPI logic levels. I need to get to 1.8V logic levels. Link to comment Share on other sites More sharing options...
attila Posted June 17, 2019 Share Posted June 17, 2019 Hi @JeffKlaas See page 114 of the SDK manual and theĀ AnalogIO_DigitalDiscovery.py example. # set digital voltage between 1.2 and 3.3V dwf.FDwfAnalogIOChannelNodeSet(hdwf, c_int(0), c_int(0), c_double(1.8)) Link to comment Share on other sites More sharing options...
JeffKlaas Posted June 17, 2019 Author Share Posted June 17, 2019 Thanks for the tip. It works great! Link to comment Share on other sites More sharing options...
Question
JeffKlaas
Using the Waveforms GUI, we can set the SPI logic driver levels using the Supplies tab. How do we do the same thing in a Python script? All of the examples generate 3.3V SPI logic levels. I need to get to 1.8V logic levels.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.