Questions tagged [spidev]
11 questions
1
vote
0 answers
Failed building wheel for spidev
Following the documentation I am installing spidev with
pip3 install spidev
in Python 3.7.3 on a MacOS 11.4 and getting the following error:
Defaulting to user installation because normal site-packages is not writeable
Collecting spidev
Using…

wogsland
- 9,106
- 19
- 57
- 93
0
votes
0 answers
Why the received SPI data is not continuous when using Python?
I have tested with mraa and spidev, both cannot receive continuous data.
For example, when send some bytes and expect receiving data in slave device like [1,2,3,4,5,6,7,8,9], I may get some data like [1,1,2,4,5,6,8,8,9], and each time is…

muronglindong
- 1
- 1
0
votes
0 answers
SPI on Toradex Verdin iMX8M Plus
I'm new to device tree and I'm trying to get spidev0.1, spidev 1.0, spidev 1.1, spidev 2.0 and spidev2.1. Currently I only have spidev0.0 in /dev.
I've tried to modify my device tree as follows but it doesn't work:
imx8mp-verdin-yavia.dtsi
/* Verdin…

Nahel VERDIER
- 1
- 1
0
votes
0 answers
How to get SpiDev working on a Raspberry PI
I'm new to both Python and Raspberry Pi, so I expected a learning curve, but this is one that I think I'll need help with. The Raspberry Pi will need to communicate with external hardware through SPI. I've enabled SPI on the Raspberry Pi and…

AMacDonald
- 1
- 2
0
votes
0 answers
SPI-4: Garbage Data with angular rotary Sensor (AEAT 9922) and Raspberry Pi 3b+
I am trying to get data over SPI from the AEAT9922 angular Sensor (HEDS-9922EV Evaluation Board) using a Raspberry Pi 3b+. Later we will move to a jetson nano or xavier nx.
With the Code given we are getting garbage Data which i cant interpret. My…

DerFilip
- 1
- 1
0
votes
0 answers
No MISO data & SCLK at low level after WR using spidev from userland
I am trying to communicate via SPI in Linux user space using the spidev driver. Physically, this SPI interface is a 4 bus (SCLK, CS, MOSI, MISO).
For this purpose I have attached to my dts the relevant node in the corresponding chip select. Once…

afinfante
- 61
- 1
- 7
0
votes
1 answer
How i understanding AD9833 SPI communication using Python with my raspberry?
Hi i had an issue to discuss,
and i dont realy understand to send data with SPI with Python
I want to send data with my Raspberry Pi 4 ver.b using Python to send data to my module named AD9833 DDS. So i found code in internet, writed in Python…
0
votes
1 answer
Master-Slave Communication Between Two Jetson Nano over SPI
I have two Jetson Nano devices that need to exchange data over SPI protocol. It is my first and only project with Jetson Nano, so I am completely new to the SPI or anything regarding low-level coding.
In the project, I want to use Daisy Chain to…

Çağlar Yıldız
- 45
- 1
- 6
0
votes
0 answers
SystemError with spidev after upgrade
I'm getting the following error:
Traceback (most recent call last):
File "/home/hydro1/hydroponic_newloop.py", line 6, in
import spidev
SystemError: Type does not define the tp_name field.
Here is the relevant code:
#import os
import RPi.GPIO as…
0
votes
1 answer
How to find out who loads specific Linux kernel module?
I built a certain driver as module (m) for Linux, the spi-imx by NXP. Nontheless, Linux probes this driver when booting. I'm struggling to find out what process/other module/driver requests this spi-imx driver. A depmod does not show any…

Tau Pi
- 55
- 5
0
votes
1 answer
Decoding the received data from ATM90E32AS energy meter IC
I wrote a python code (raspberry pi) to receive voltage, current and power values from ATM90E32AS energy meter IC. Iam using spidev library for SPI communication with the energy meter IC. I initialized two bytearrays (each 4 bytes wide) for reading…

V_J viji
- 39
- 1
- 7