SPI is a low-level 3 or 4 wire serial bus interface with clock (SCLK), data in (MISO) and data out (MOSI). The fourth wire is a Slave Select to uniquely select a device on the bus. This signal is usually active-low. Slave Select, Chip Select, CS#, SS# stand for the same function, typically. Be ...

learn more… | top users | synonyms

0
votes
1answer
30 views

reuse Cyclone IV fpga Pasive serial configuration pin for SPI

Can i reuse pins DATA0 & DCLK in my application as FPGA SPI interface after configuration (PS) has been completed ? This are the dual purpose pin options: if i set "use as Regular I/O" , i ...
0
votes
2answers
59 views

uController SPI Over optoisolator

I would like to interface Arduino over SPI but need a way to decouple the system with an optoisolator. Any pointers in which optoisolator to get? Everything works on 5V. I've tried to connect with ...
0
votes
1answer
54 views

Mixed SPI and I2C using ATtiny USI

I've been successfully using the USI on an Attiny84 to talk SPI to a radio module. This is good for hacking up sensors and whatnot as little radio devices. My next sensor project involves a sensor ...
0
votes
1answer
84 views

Voltage regulator like LM 317 which can interface like SPI or I2C

Is there any variable voltage regulator IC similar to LM317 available the output of which can be programmed through a digital interface like I2C or SPI?
0
votes
1answer
52 views

does SPI delay between functions affect the communication correctness

I'm using SPI to communicate with a CAN controller. to read a register for example on the controller, I have to follow those steps: ...
0
votes
0answers
62 views

SDHC + SPI - “illegal command” when trying to read

I was given a supposedly non-working MicroSDHC 16GB Kingston and I am trying to salvage any data from it. I am interfacing it with BusPirate in SPI mode. I can sucessfuly initialize the card, but ...
2
votes
0answers
23 views

How do I reset an AVR's SPI read shift register?

I'm using an AVR chip (i.e. Arduino Uno) to monitor SPI traffic on an external device and I'm running into a problem due to the fact that the external device periodically restarts itself (by design). ...
0
votes
1answer
100 views

Convert 5V to 3.3V without logic level converter

I've got a 2.2 SPI monitor (QVGA TFT monitor & SD Card), but I am using Arduino UNO board. All pins are 5V. How can I use a resistor to communicate between TFT, SD and UNO? I have lots of ...
0
votes
0answers
48 views

MSP430 led strip control

Since it's Christmas and everybody is decorating their houses with fancy lights I'll wan't to join this craziness. However, I'd love to do so on a hightech way. I own an MSP430 launchpad and have some ...
1
vote
1answer
139 views

Simple Two wire SPI communication between two PIC24s

I am trying to achieve a simple SPI communication of 16-bit data from a PIC24FJ64GA002 to another of the same microcontroller. By following the data sheet to the word, I wrote the transmitter and ...
0
votes
1answer
64 views

LCD Display connection

How to connect this http://docdroid.net/ngqg LCD Display to microcontroller? It is ILI9341 based. Is it possible to connect only SPI/LED pins and leave every other input pin floating or I need to ...
0
votes
1answer
72 views

Is it possible to connect more than one device on the same SPI?

Is it possible for someone to connect multiple sensors to the same microcontroller's SPI or I2C port? If it's possible, how would someone alternate between devices?
0
votes
1answer
53 views

SPI Clock Frequency changes when level shifted

I'm using Adafruit's TXB0108 bi-directional 8 channel level shifter with my Arduino Uno. The SPI clock from Pin 13 is level-shifted through the first channel of the level shifter. Measured with my ...
1
vote
1answer
33 views

How to write a SPI flash

I am using the Atmel ARM M0+ MCU (ATSAMD20J18). I have written a bootload for it. The bootloader will check the first few bytes (lets call it magic key) from an external SPI flash memory to determine ...
2
votes
1answer
88 views

MicroSD card SPI with ATmega32 [closed]

I want to communicate with a microSD card with an ATmega32 using SPI. I make a simple SPI loopback, and it works fine. Now, how can I communicate with the microSD card to write and read simple bytes ...
0
votes
1answer
50 views

Need help with communicating with card reader!

For my school project I'm using the MFRC522 card reader and an FPGA with VHDL. I'm using SPI lines but I can't understand how am I supposed create a communication with it. From what I've understand ...
0
votes
1answer
70 views

How to interface two wire & three wire SPI device?

ADC AD9266 Here is the datasheet of ADC AD9266. page no 25 of it is SPI I'm working on a Project where I have to interface my ADC with MCU 8051. The Problem I encountered with is my ADC supports two ...
0
votes
1answer
39 views

ideal state of SPI MOSI and MISO pins?

Just wondering , If some how the MOSI and MISO tracks which connects the slave get cut. At that time, its disconnected from the slave. So if the micro controller tries to read data from MISO pin, ...
0
votes
1answer
68 views

Why is the MISO not level shifted in this circuit?

I am looking at SparkFun's CC3000 breakout board schematic. CC3300 is TI's wireless module. The CC3000 operates on 3v3. And because the breakout board is intended to be used with an Arduino (which has ...
2
votes
1answer
110 views

Are all connections to my ENC28J60 required?

I'm trying to connect a ENC28J60 module that exposes a SPI interface to my Beaglebone Black. I only have pins 1 (NET_CS), 2 (SCK), 3 (MOSI, i.e., D0), 4 (MISO, i.e., D1), 5 (GND), 10 (VCC) connected ...
0
votes
2answers
106 views

How to send a buffer with spi

I use an atmega32 and I want to use the SPI bus. I have the Adafruit 24 channel, 12 bit pwm led driver. I use a buffer to set the pwm for a certain channel. The question is how to send the whole ...
0
votes
1answer
52 views

Bus pirate interface with with winbond chip

I have successfully interfaced to my winbond chip via the bus pirate. I have successfully executed the chip identifier command and chip erase commands via spi, i would like to read and delete the ...
0
votes
1answer
47 views

Interfacing MAX7219 with Bus Pirate v3.6

I am currently trying to interface a MAX7219 LED driver with a Bus Pirate 3.6 (Firmware v5.10 (r559) Bootloader v4.4). I have the following circuit breadboarded (along with some decoupling caps on ...
0
votes
1answer
43 views

Getting wrong data from SPI Flash SST25VF010A

I'm trying to interface an mcu (tm4c123) with external SPI flash memory SST25VF010A. I execute the Read-ID instruction, but instead of gettting BF and 49 (manufacturer and device ids) - I get BC and ...
0
votes
1answer
55 views

Can SPI slave work with wrong clockphase setting?

In our prototype board, we have one 16-bit SPI based ADC [ad 7798] and an SPI based switch [adg1414]. Though some other guy has written the driver for it, and its also working. However when I ...
1
vote
1answer
97 views

Accelerometer gyrometer for radxa board - i2c configurable addresses vs spi

I am looking for an accelerometer/gyrometer that has configurable address. It should run on a radxa rock board using i2c, or some spi solution. I am using that board (PRO) ...
5
votes
3answers
992 views

Is the SPI Interface just a protocol or actual hardware?

I want to use the SPI interface between a PIC and an ENC28J60. However, there are no pins on the PIC called MISO or MOSI that I can use for SPI. So is SPI just a protocol, which I can use with any ...
1
vote
0answers
188 views

Getting to work RFID-RC522 reader / writer with Teensy 3.1

I am trying to use the RFID-RC522 reader / writer together with a Teensy 3.1. I cannot get it to work. I always get the error: MFRC522 Software Version: 0x0 (unknown) WARNING: Communication ...
1
vote
0answers
85 views

Missing clock edges when using SPI on the CC430

I'm currently using the CC430F5137 and I'm having an issue with using SPI to communicate with an external flash. I'm currently using DMA to send out SPI comms using the UCSI_B module. Most of the ...
0
votes
0answers
45 views

Anyone familiar with TI's ADS1210

I'm trying the build a two-channel thermometer using an ATMEGA328 and two ADS1210. I've connected both ADS1210 via the common SPI lines (SCLK, MOSI, MISO) to the ATMEGA328, for DRDY and CS I'm using ...
1
vote
1answer
134 views

ATMEGA328P SPI MMC/SDIO

I want to connect an ATMEGA328P to a mobile phone, a Samsung Galaxy S3 to interface some data. I need to use the microSD port behind the battery cover for this purpose, so here is the question, Is it ...
0
votes
1answer
109 views

Wiznet Wiz820io (W5200) Module - No data on MISO Line

I had a working circuit with Wiznet W5100, but to get better performance I switched over to Wiznet W5200 (in Wiz820io module). This involved rewiring the pins, changing the register address and also ...
0
votes
0answers
44 views

Serial SPI EEPROM multiplex DI/DO line

Just want to make sure I didn't miss something: according to the data sheet of 25xx010 the DO pin is strictly high-impedance during addressing and writing and only driven when reading. In my ...
0
votes
1answer
121 views

What is the difference between 1-bit SDIO vs SPI?

What exactly is the between 1-bit SDIO vs SPI? Does one have advantages/disadvantages over the other?
0
votes
0answers
180 views

SPI LCD Screen on OpenWrt based hardware using Atheros AR9331

I'd like to connect a graphics lcd 240x64px to my OpenWrt based hardware, which is based on Atheros AR9331 MIPS architecture. The development board I'm using has SPI outputs... I've been using the ...
0
votes
0answers
68 views

Off board SPI communication over 2 meter Lenght Bus

I have few queries on my SPI interface application. Specifications: Sensor: LDC1000. Data Out: Over SPI bus, f = 4MHz. SPI Bus Length = 2 meters. Raising edge= Data out, Falling edge= Data In. I want ...
0
votes
1answer
55 views

AVR SPI slower than expected

I'm running an ATMega88A at 8MHz and have the SPI configured to run at Fosc/2 = 4MHz. In theory, shifting out 5000 bytes over SPI should take 1/4000000 * 8 * 5000 = 10ms. But according to the ...
1
vote
0answers
37 views

Can't drive adafruit display with Arduino DUE

I'm currently trying to write a library for the Adafruit ST7565 graphic display. (see links below) The current one is entirely AVR specific and the code is generally pretty unreadable given the ...
1
vote
1answer
49 views

AVR SPI2X has no effect

I've got an ATMega88A configured to run on internal 8MHz clock: lfuse = 0xE2 hfuse = 0xDF efuse = 0x01 F_CPU defined as 8000000 This in confirmed in the 'real ...
3
votes
3answers
211 views

AVR SRAM limitation

I'm just an enthusiast looking for some advice. I'd like to use a microcontroller to read frames from a camera and write those frames to a small LCD screen. The camera and screen are on the same SPI ...
1
vote
2answers
356 views

Communication between micro controllers - I2C, SPI, UART?

Basically I have two microcontrollers that I need to communicate with each other. Both controllers send and receive data. Basic idea that I have: I2C, SPI - What I think we can NOT use these ...
1
vote
1answer
67 views

SPI reading from slave

I have small question about how bytes move around during SPI reading. I have a flash memory chip and microcontroller. Suppose I want to know jedec data from the chip(although it can be any data, this ...
-1
votes
2answers
85 views

Raspberry Pi and TLC5615 DAC

Currently I'm working in a project in which I need to programmatically control 2 currents from 0 to 1 Amp. My plan is to use two DACs controlled by a Raspberry Pi. My idea was to use the MCP4725 but ...
1
vote
2answers
78 views

Multiple out signals with single clock

Here is the deal.. I need to transmit data to 8 identical components. Each component has a clock and an input signal. MCU only sends data. Components only receive data. All 8 components are the ...
0
votes
1answer
99 views

SD Card Access Library

I am accessing my SD card using SPI. But I've found this to be slow and I am also sad that when there is a faster protocol already supported by my SD card I am using a slower version. Is there a C ...
1
vote
1answer
160 views

SPI not working, ATmega328 only sending 1 byte

I am trying to get SPI working on an ATmega328. This is my code: ...
1
vote
0answers
77 views

How long of a wire and how big of a load can I have for SPI bus?

I have a system where I will connect up to 128 identical magnometer ICs up to an FPGA. I am trying to decide between SPI and I2C for comms. If I use SPI the setup will require 128 + 3 wires IF all ...
1
vote
1answer
60 views

Cable for transmitting 4MHz 3V3 signal

I am building a device on breadboard where there are 2 ICs: a microcontroller and some auxillary IC, they should communicate via SPI with a 4 MHz clock. Because I don't have enough place on my ...
0
votes
0answers
121 views

Canon EF SPI data protocol and IS activation

I have been trying to find information about Canon EF data protocol between lens and body. So far I have seen examples how to control focus or aperture but I would like to know how IS is activated. Is ...
2
votes
2answers
214 views

Erratic ADC output

I'm using a 12 bit ADC (MAX1270), SRAM (23LC1024) and PIC18f4550 to measure temperature transient at the output of an RTD. The communication protocol is SPI. The voltage is sampled and sent to PIC, ...