Questions tagged [spi]

The SPI bus, Serial Peripheral Interface, is a synchronous serial communication interface for short distance communication, e.g. between components in an embedded system such as the Pi. Devices communicate in full duplex mode using a master-slave architecture with a single master. The master device (typically the Pi) initates all communications.

Filter by
Sorted by
Tagged with
0
votes
0answers
145 views

SPI to soft UART [duplicate]

Is there a way to use the SPI on pi for UART communications without any external hardware? Is there a library in C for this?
5
votes
2answers
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 ...
0
votes
1answer
378 views

Accessing SPI flash from /dev

I've got empty 8Mb flash 25VF064C, what I don't use. So can I use it directly with my Pi? Yes, I mean directly like /dev/mtd*. If I can, then how? What do I have to install/recompile?
4
votes
1answer
4k 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 ...
3
votes
2answers
4k 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,...
2
votes
3answers
13k views

How to get an SPI Analog-to-Digital (MCP3204) working with the GPIO?

I have an MCP3204 12-bit Analog-to-Digital Converter (ADC), and a Raspberrypi. Does anyone know what I need to plug where to get them to communicate? Is there an SPI python library I can use? O am ...
6
votes
1answer
1k views

Does overclocking affect the SPI (APB) clock?

The current config.txt allows one to change arm_freq, gpu_freq, core_freq, h264_freq, isp_freq, and v3d_freq. In addition, there is support for the kernel to change clocks on demand and based on ...

1
4 5 6 7
8