Nithin Posted March 22, 2019 Share Posted March 22, 2019 I had been using waveform SDK to drive and read digital IOs from Analog Discovery 2. Is it possible to use the same waveform SDK on Digital Discovery as well? Link to comment Share on other sites More sharing options...
attila Posted March 22, 2019 Share Posted March 22, 2019 Hi @Nithin Yes. See the AnalogIO_DigitalDiscovery.py how to adjust the IO voltage, enable VIO output, set pull-up/downs, slew rate, drives The DigitalIO functions can be used the same way controlling DIO[24:31] The DigitalOut functions are the same but you have 32k custom bit/line for DIO[24:31] The DigitalIn by default samples DIN[0:23]&DIO[24:31]. To sample DIO lines first DIO[24:39]&DIN[0:15] set FDwfDigitalInInputOrderSet(hdwf, true). This way if you sample 16 bits you will get DIO[24:39]. The base frequency is 800MHz (FDwfDigitalInInternalClockInfo), like use FDwfDigitalInDividerSet(hdwf, 8 ) for 100MHz Link to comment Share on other sites More sharing options...
jpeyron Posted March 22, 2019 Share Posted March 22, 2019 Hi @Nithin, Welcome to the Digilent forums! I moved your post to a section where more experienced AD2/DD/Waveforms engineers look. best regards, Jon Link to comment Share on other sites More sharing options...
Question
Nithin
I had been using waveform SDK to drive and read digital IOs from Analog Discovery 2. Is it possible to use the same waveform SDK on Digital Discovery as well?
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.