Skip to main content

All Questions

Tagged with
0 votes
0 answers
33 views

Which Cable Should I Use to Send Serial Data From my PCB to a Raspberry Pi via USB?

My PCB has a 16-pin male connector with a 2.54mm pitch. I was going to connect this to my Raspberry Pi via its GPIO, but I have a PiSound sitting on it now, so my only other option is to connect to it ...
Jelani Thompson's user avatar
3 votes
1 answer
395 views

Uninterrupted, endless SPI transfer - is it possible?

I wrote a linux driver for SPI protocol so RaspberryPi could communicate with my device that's using serial data transfer (the device has clock input and data output). It almost works, the problem is ...
PookyFan's user avatar
  • 133
1 vote
1 answer
263 views

How to set the SPI comms delay from CS to SCLK?

I am using a Raspberry Pi to communicate with a SPI-enabled device over the 40-pin cable. To the best of my understanding, the Python scripts rely on the SpiDev device. The script uses the xfer3() API ...
ysap's user avatar
  • 113
2 votes
3 answers
5k views

How can Rpi read ADS1256 ADC Data

I am using the AD/DA Hat from WaveShare https://www.waveshare.com/wiki/High-Precision_AD/DA_Board I want to realize a continuous readout of the data. It worked very well so far, but I am not so ...
markus321's user avatar
3 votes
1 answer
3k views

Connect multiple SPI e-paper devices to a single Pi

So I'm thinking of getting these 2.9" displays: https://www.waveshare.com/wiki/2.9inch_e-Paper_Module#Working_with_Raspberry_Pi they come with an SPI interface that can be connected to the Pi. Is it ...
0__'s user avatar
  • 502
2 votes
1 answer
2k views

Dual output SPI using Raspberry Pi 3

I'm trying to make data acquisition device using TI ADS7851 and a Raspberry Pi 3, but ADS7851 has 2 data output.. I have no idea how to connect. ADS7851's serial output is: 1 sclk 1 /cs 2 sdo (sdo-a,...
kyoung min Song's user avatar
0 votes
1 answer
270 views

Conversion from SPI for long distance communication

I'm using a number of MCP3208 ADCs to read from remotely-mounted analogue sensors. I'm planning on having a remote PCB which contains the power/ground rails, voltage dividers (where required), ...
jars121's user avatar
  • 133
0 votes
0 answers
313 views

Reading Different Channels Sequentially Using SPI

Background: I am trying to make transfer measurements from an ADC LTC1867 to my raspberry pi using SPI. I get it to work with one channel. The ADC has 8 channels, I have one channel connected to a 2....
Baba's user avatar
  • 13
1 vote
1 answer
669 views

Using SPI on Raspberry PI gives error

I'm trying to read the output of an ADC chip LTC 1867 (need the high precision). I think I understand how it how works. Since it's output is 16 bit I need to send 2 8-bit words to it, the first word ...
Baba's user avatar
  • 13
4 votes
1 answer
1k views

Read synchronous serial communication with Raspberry Pi

I am evaluating different Linux Plattforms and would like to know: Is it possible to read synchronous serial data at 300 to 350 kbaud with any Raspberry Pi? I am getting the data as RS422. Thus I ...
Florian Zidar's user avatar
1 vote
1 answer
940 views

How to access SPI on Raspberry Pi B+

I tried searching here and other places. What is the best way to access the SPI and get the fastest speed out of it. My project involves interfacing the Pi with an ADC that is rated for 5Msps (http://...
Max Jacob's user avatar
  • 135
5 votes
2 answers
13k views

Connecting to an RC522 RFID reader

I'm trying to connect an RC522 RFID reader to the a Raspi via its SPI port. Up till now, I have tried several different pieces of code that are supposedly working, however, I have had no success with ...
Urban's user avatar
  • 151
4 votes
1 answer
6k views

How to control digital potentiometer using the SPI interface

I'm trying to control a digital potentiometer using RPi's SPI interface but for some reason it is failing, and I can't figure out why. I have successfully controled the potentiometer by manually ...
DWilches's user avatar
  • 195
3 votes
2 answers
5k views

Mono C# SPI interface

Is there any way that I can interface with an SPI pin extender from a Mono C# application running in Arch Linux on the RPi? EDIT: I want to use the hardware SPI interface like can be done with SpiDev,...
Gerharddc's user avatar
  • 307