Jump to content
  • 0

Generate serial data


Marc1992

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

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...