EEVblog Electronics Community Forum

Electronics => Beginners => Topic started by: PerranOak on November 07, 2019, 05:27:46 pm

Title: Rigol 1054Z serial decoding
Post by: PerranOak on November 07, 2019, 05:27:46 pm
I've just seen a video on using the Rigol for serial decoding and I fancy having a crack at it.

Thing is … I don't have anything that I know uses SPI/I2C/UART as I haven't got into that yet.

Is there anything obvious that I could use just to see if I can do it? I mean, some piece of equipment or something that people are likely to have (don't have any Arduinos) that I could use?

Sorry, this is pretty vague.  :-[

Cheers,

Title: Re: Rigol 1054Z serial decoding
Post by: rstofer on November 07, 2019, 06:41:28 pm
I2C is my least favorite protocol so I'll skip that...

SPI is pretty simple but, unless you have some kind of digital pattern generator (or an Arduino), you aren't going to create the signals.

You should be able to look at Serial decoding if you have a USB->Serial cable or adapter.
https://www.amazon.com/gp/product/B010KII6VG (https://www.amazon.com/gp/product/B010KII6VG)

Or, maybe you have a PC with a serial port.  All you need to do is get hold of Tx and Gnd.

You really should buy an Arduino Uno R3

https://www.amazon.com/Development-Microcontroller-ATmega328-ATMEGA16U2-Original/dp/B07R1H4BKK (https://www.amazon.com/Development-Microcontroller-ATmega328-ATMEGA16U2-Original/dp/B07R1H4BKK)

Clones are even cheaper.

I think you need both a master and a slave device on an I2C bus to get very far with decoding.  I think the master will abort the transfer if the slave doesn't ACK the address and R/W bit.

For I2C info:
http://www.ti.com/lit/an/slva704/slva704.pdf (http://www.ti.com/lit/an/slva704/slva704.pdf)
Title: Re: Rigol 1054Z serial decoding
Post by: PerranOak on November 08, 2019, 12:22:43 pm
Cheers, thanks mate.