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
0answers
20 views

spi slave megafunction in quartus II 14.0

I am tring to add an spi slave megafunction in quartus II 14.0.00 for a Cyclone IV EP4CE22F17C8 altera Fpga. I only need a simple slave functionality to write and read registers.... if i search in ...
0
votes
2answers
50 views

MCP3008 alternative

I have some analog devices like LDR, temperature sensors, and other sensors and I want to use the readings of these sensors in my raspberry pi B+ , for that I need an ADC , to convert the analog ...
0
votes
0answers
6 views

BMA150 acceleration sensor for SAMD20 SPI connection

I'm trying to get BMA150 acceleration sensor working with my user board which has SAMD20J16 connected to the correct pins. (I'm sure, I've quadruple-checked) I've been stuck for several days trying ...
2
votes
1answer
75 views

Understanding a SPI command sheet

I am interested in learning more about how SPI works in general, but with the raspberry pi and py-spidev library in mind. I am very technically savvy, although not so much on the EE side of things. I ...
0
votes
0answers
22 views

turn on led using external light dependent resistor (LDR) with nios ii and qsys design

I want to use qsys and nios ii to design a system that uses an external ldr to turn on led on an altera fpga.how can i go about this, what are the components i need in my qsys design and how to ...
2
votes
0answers
43 views

Can't seem to write to spi flash

Well I've been stuck on this for a while, maybe 2-3 weeks at this point. I'm just not sure what I'm doing wrong. I'm trying to write to this spi flash part, and now I'm just running routines to ...
0
votes
0answers
12 views

ENC28J60 on a XMega along with USB

I'm trying to port the TuxGraphics webserver example to the ATxmega128A3U for the ENC28J60 This is my first time using the xmega so I need help making sure all my SPI registers are set correctly and ...
2
votes
0answers
85 views

STM32 SPI Peripheral bug?

I'm using STM32F051R8T6 on STM32F0-Discovery board and M25P80 flash IC as a peripheral. I've got the SPI configured in 3-line (+ 1 software chip select line), full-duplex mode and I'm using polling to ...
0
votes
2answers
72 views

Is it possible to convert SPI to UART without a microcontroller?

I was wondering about converting SPI to UART only in that direction, not the other way around, without using any microcontroller or bridge. If synchronous can be seen as a particular case of ...
0
votes
2answers
73 views

Cheapest way to get a CAN signal

I have to transfer signals over around five meters. My input signals are I2C or SPI-compatible, but unfortunately it is no good idea to transmit them over such a long distance. Therefore I was ...
1
vote
2answers
76 views

SPI chip select --> data + clock delay tolerance

I know this likely depends on the specific chips and devices being used, but I'm just looking for estimate ballpark numbers. I'm considering using the spi protocol for a project, and I can't seem to ...
1
vote
1answer
49 views

SPI communication not working during Run time?

For my project i need to communicate between Microcontroller C8051f350 Datasheet (Silab Microcontroller) and TI DAC116s997 DataSheet IC through SPI. The problem i am facing a problem in SPI ...
0
votes
0answers
34 views

Arduino: two SPI bus or two DATAOUT on the SPI bus

In order to control several chained MBI5031 led controller, I need to send two synchronous signals over a serial bus (signals are the serial data signal of course and a Latch Enable signal). My idea ...
1
vote
0answers
22 views

TMS320F28035 SPI - 16 bit Read Problems

I am using TMS320F28035 in SPI Master mode. Where I have to transmit 8 Bit data to the slave device and have to read 16-bit data out of the slave device after completion of data transfer from master ...
0
votes
1answer
36 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 ...
1
vote
4answers
97 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
79 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
97 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
57 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
91 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 ...
3
votes
1answer
51 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
136 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
99 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
179 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
75 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
77 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
59 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
45 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
141 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
54 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
100 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
46 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
75 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
130 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
121 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
64 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
58 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
66 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
65 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
113 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
1k 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
250 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
90 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
51 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
145 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
140 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
47 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
194 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
208 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
79 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 ...