Trigger and Read Sensor via SPI

Placement, modules, components and accessories; the ones that exist and the the nice-to-be's
Post Reply
timosmd
Posts: 5
Joined: Mon Oct 14, 2019 3:26 pm

Trigger and Read Sensor via SPI

Post by timosmd » Mon Nov 18, 2019 4:01 pm

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!

User avatar
redpitaya
Site Admin
Posts: 883
Joined: Wed Mar 26, 2014 7:04 pm

Re: Trigger and Read Sensor via SPI

Post by redpitaya » Wed Dec 04, 2019 9:09 am

Here is an article that I think is helpful for you from our documentation website:
https://redpitaya.readthedocs.io/en/lat ... with-touch

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 20 guests