Author Topic: Rigol 1054Z serial decoding  (Read 823 times)

0 Members and 1 Guest are viewing this topic.

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 548
  • Country: gb
Rigol 1054Z serial decoding
« 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,

You can release yourself but the only way to go is down!
RJD
 

Online rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Rigol 1054Z serial decoding
« Reply #1 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

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

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
 

Offline PerranOakTopic starter

  • Frequent Contributor
  • **
  • Posts: 548
  • Country: gb
Re: Rigol 1054Z serial decoding
« Reply #2 on: November 08, 2019, 12:22:43 pm »
Cheers, thanks mate.
You can release yourself but the only way to go is down!
RJD
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf