0

So I have an external device which bangs out a byte stream (DOUT), it indicates the upcoming stream on an DRDY. The timings are given on an DCLK line.

These three lines (DRDY, DCLK, DOUT) serve the data from that particular master device. Now I want to avoid introducing new hardware, ie an FPGA, and wonder how the Raspberry can handle the data stream.

The clockline is somewhat low baud and the interrupt fires at 100-500 Hz.

Options on the table are software bit-banging and raping the I2C ports through pigpio to receive the data.

What are your thoughts, is this within reach?

Resources:

Raspberry as an I2C SLAVE

http://abyz.me.uk/rpi/pigpio/cif.html#bscXfer

  • The device (whatever it is) is unlikely to be I²C more likely to be SPI. Without details of the device this is unanswerable. – Milliways Jun 8 at 1:51
  • the term is bitstream, not bytestream – jsotola Jun 8 at 1:53
  • pigpio will work. You need to clarify. Is clock driven by the Pi or the device. What does ready signal. – joan Jun 8 at 5:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.