Page 1 of 1

Trigger and Read Sensor via SPI

Posted: Mon Nov 18, 2019 4:01 pm
by timosmd
Hello all,

I am trying to read the Data from an absolute rotary encoder (RM08 by RLS).

To do so I need to trigger the sensors SSI Protocol with the following Clock Signal:

Image

The sensor got 4 Wires: VDD, GND, Data & Clock.

First I planned to read the output with UART but maybe SPI is more sufficient.

But now I am encountering a problem triggering the sensor with the clock signal.

I guess I have to use a the SPI_CLK Pin on RedPitaya which is continuosly sending out the square wave? And for the Input MISO should work.

So my question: How can I configure the wave parameters to fit the sensors expected clock signal (t_high, t_low, t_monoflop)?

Do I need to enable the SPI somehow in the ecosystem or should it be ready to use? And how/where to configure the clock frequency?

Thanks in advance!

Any help is appreciated!

Re: Trigger and Read Sensor via SPI

Posted: Wed Dec 04, 2019 9:09 am
by redpitaya
Here is an article that I think is helpful for you from our documentation website:
https://redpitaya.readthedocs.io/en/lat ... with-touch