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

1
vote
0answers
34 views

Different weights on different temperatures - load cells and ad620

I have a set of load cells connected to a AD620. Everything is working good except when I change the temperature. The temperature can vary between -10 and 50. I have the AD620 connected to an MCP3208, ...
0
votes
0answers
30 views

Connection regarding SDIO lines

I have a doubt regarding my project. My project microcontroller is PIC18F87J72 and there is Wifi+BT module (SDIO and HCI interface). Can I connect SDIO of wifi module with SPI of PIC microcontroller?
1
vote
2answers
58 views

SPI to USB converter Question (for STM32F105)

I have a question regarding which SPI to USB connector to choose and what the main difference is between them. All i want to to is monitor the SPI activity going on which is possible through an SPI ...
0
votes
0answers
15 views

Delay between bytes using py-spidev for SPI communication on Raspberry Pi [migrated]

I am attempting to read/transfer data between an instrument and Raspberry pi 2, using the RPi as the Master and instrument as the slave. The data sheet states I must have a 9 ms delay between sending ...
0
votes
0answers
10 views

including SPI driver in an nRF51822 SoC

I'm working on a nRF51822 SoC.I'm using S110 soft device . In the ship a LIS3DSH accelerometer is included as shown in the picture . I have to include SPI driver in order to communicate with the ...
0
votes
0answers
9 views

Slaving multiple Arduino's via SPI [migrated]

Hello StackExchange community! I am attempting to use SPI communication between a Master Arduino Mega 2560, and standalone Slave Arduino Unos (4, to be exact). The intention is for the Uno's to do ...
1
vote
1answer
22 views

SPI and word size - what happens with (say) 8 bit and 24 bit data from the same chip?

I have a chip to be read/written via SPI. Some of its registers are 8 bits, others 24 and 32. How does the SPI master (the MCU) handle these different data sizes?
0
votes
2answers
56 views

How to test if my program for SPI communication is working correctly?

I have developed a simple code for learning about SPI in Arduino Due. The code is compiling properly and now I would like to learn the next step on how to test the code with the board and get the ...
0
votes
0answers
47 views

How to connect Xbee to FPGA using SPI?

I am trying to connect an Xbee to a FPGA using SPI. I found some code online to read in the MISO and convert to an 8bit output register. I have it working in the simulation but I cannot get the ...
0
votes
1answer
27 views

How to configure the SPI pins(MOSI,MISO,sclk and SS) for ATMEL ATSAM3X8E?

I am using ATMEL studio 6 for programming and novice in embedded systems.At present, I have read the theory working of SPI. I understand that I have to set particular bits to one in the control ...
0
votes
2answers
49 views

Noise reduction in SPI

I've been working on a project to interface ENC28J60 with an ATmega16A µC. For the sake of debugging I have built a board with UART capability so that I can view the register values of the Ethernet ...
0
votes
0answers
11 views

How Can I Drive This LCD TFT With an Arduino? [migrated]

As I understand it, the Arduino comes with a TFT library which uses SPI to drive lcd tfts. I recently bought a tft labelled "HY-32.TFT" on the front and "HY-TFT320_262k heyaodz111211" on the back. It ...
1
vote
0answers
60 views

Very high frequency out of SPI pin in ATmega16A

I was trying to interface ATmega16A with ENC28J60, and I was facing problems with it, so I decided to physically look at the signals b/w the master µC and the Ethernet chip using an oscilloscope. But ...
0
votes
0answers
37 views

3-wire SPI Interface between Arduino (Teensy 3.1) and Accelerometer (ADXL344 or ADXL345)

I'm having problems in interfacing and receiving data from the Accelerometer (ADXL344) to my Arduino (Teensy 3.1). I have connected the pins as shown in the attached schematic. Furthermore, I have ...
0
votes
0answers
27 views

SPI measurement on DSO nano V3

I am working building my own embedded web server made from ENC28J60 and ATmega16A. I am having lot of trouble to establish communication between the µC and the ehternet chip through SPI. I got a ...
0
votes
1answer
38 views

PIC:What is the difference of SPI module of PIC18F4685 and PIC18F66K22?

I want to configure SPI module in Slave mode for PIC18F66K22. Can we use common SPI library for both MCU?
-2
votes
1answer
30 views

ADC ic's for SPI protocol [closed]

I want to know what are the ADC Ic's is suitable for SPI protocol? because i cant find MCP3008 ic in shops? No one having this IC. Thanks.
0
votes
0answers
20 views

PIC18F66K22:How to configure SPI in slave mode?

I have PIC18F66K22 microcontroller.I want to use SPI in slave mode. How to configure SPI in slave mode? If any demo code is available then it is better for me. Thank you.
0
votes
0answers
42 views

AVR communication using SPI

I'm trying to learn SPI interfacing in AVR. I Have two ATmega16 µCs and I'm configuring the one with the push buttons as master and the other with LEDs as slave. Based on the button pressed the ...
0
votes
0answers
81 views

Increase SPI transaction speed?

I am using SPI to write and read the data from slave board. I have two questions regarding this process: Question 1. Why when I am trying to read 1.000.000 bytes through SPI using 1 message, it works ...
0
votes
2answers
83 views

SPI Troubleshooting, Teensy, Arduino, and tri-state

I'm trying to get my SPI bus devices up and running on a custom circuit board that I've soldered together. Unfortunately, I neglected to add probe testing spots on this particular circuit board, and ...
0
votes
0answers
42 views

Trouble with communication between two nRF24L01+ transceiver

I have worked with the nRF24L01+ (Single Chip 2.4GHz Transceiver) for a couple of days now without getting it to work. The setup of the chip is done as described below, without any luck of getting a ...
-1
votes
0answers
36 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
79 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
13 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
108 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
26 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
53 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
32 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
1answer
185 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
84 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
80 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
107 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
53 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
36 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
28 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
42 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
107 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
117 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
106 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
65 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
138 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
58 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
167 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
123 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
209 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
80 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
79 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
53 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 ...