Marc1992 Posted November 19, 2016 Share Posted November 19, 2016 Hi, I just bought the Analog Discovery 2 and I was looking for a way to generate serial data(uart, spi) to test my projects through the digital output pins. I was wandering since there is a logic analyser and interpreters for serial communication data. Thanks for you help Link to comment Share on other sites More sharing options...
attila Posted November 20, 2016 Share Posted November 20, 2016 Hello, The next software version will have Protocol interface to transfer data using UART, SPI and I2C protocols. You have the installer in private message. Link to comment Share on other sites More sharing options...
Marc1992 Posted November 20, 2016 Author Share Posted November 20, 2016 Thanks greatly appreciated Link to comment Share on other sites More sharing options...
shabbirahmed Posted April 5, 2017 Share Posted April 5, 2017 @attila Is there a code that can be used to have full Tx/Rx with SPI? Link to comment Share on other sites More sharing options...
attila Posted April 25, 2017 Share Posted April 25, 2017 Hello, In case you are referring to the WaveForms application's Protocol interface SPI/Custom script you can use the ReadWrite function to transfer data though MOSI/MISO. // Start() // Activates the select signal. Return true on success otherwise returns false. // Stop() // Deactivates the select signal. Return true on success otherwise false. // ReadWrite( bits per word , { word1, word2... | [word1, word2...] } ) // 4-wire SPI data transfer. Returns the read array of words. Link to comment Share on other sites More sharing options...
Question
Marc1992
Hi,
I just bought the Analog Discovery 2 and I was looking for a way to generate serial data(uart, spi) to test my projects through the digital output pins.
I was wandering since there is a logic analyser and interpreters for serial communication data.
Thanks for you help
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.