Question

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

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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.

 

Share this post


Link to post
Share on other sites
  • 0

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.

 

Edited by attila

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now