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:
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!
Trigger and Read Sensor via SPI
- redpitaya
- Site Admin
- Posts: 912
- Joined: Wed Mar 26, 2014 7:04 pm
Re: Trigger and Read Sensor via SPI
Here is an article that I think is helpful for you from our documentation website:
https://redpitaya.readthedocs.io/en/lat ... with-touch
https://redpitaya.readthedocs.io/en/lat ... with-touch
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 109 guests