SPI is a low-level 3-wire serial bus interface with clock, data in and data out.

learn more… | top users | synonyms

8
votes
0answers
355 views

How can V-USB screw up the built-in SPI of an ATmega328p?

I'm working on a V-USB project that shows up as a Keyboard using an ATmega328p. The USB part is working great (it's not my first V-USB project), but after I start the V-USB stack with ...
4
votes
0answers
89 views

Help to identify unknown Sync Serial Bus

Does somebody already seen a sync serial bus communication like that ? Repeated Pattern : Detail of beginning : I fail to identify it... it look like I2C but : it have a clock at 2MHz (so ...
4
votes
0answers
481 views

SPI Seems garbled on MSP430

I'm trying to get sensible bits out of a Bus Pirate hooked up to a Launchpad board (Using the Sparkfun cable: Orange goes to P1.6, Yellow to P1.5. This should be correct, unless I have MOSI and MISO ...
2
votes
0answers
54 views

SPI Read returns only 0 in slave when I hook up SS to INT

I am coding a SPI slave using a PIC16F877A in CCS C and need to be aware when the SS line (pin 7) goes from high (idle) to low (active) as information from the master is framed as a stream of bytes ...
2
votes
0answers
102 views

How can I access the MCP3008 ADC chip with linux spidev?

There is quite a bit of bit-banging sources to work with this 10-bit resolution chip, but I'd like to know if this kind of chips are natively supported by Linux. Primarily I'd like this to be in C, ...
2
votes
0answers
220 views

Moving mass storage design from SD/MMC to NAND flash

We have a prototype design in the works, that is currently running on a reference board done my Olimex (Olinuxino maxi), but eventually we would like to move the storage from microsd to nand flash (or ...
1
vote
0answers
79 views

Writing an emulator for a SPI like slave device (LED Driver PT6959) using a PIC

I am working with a legacy device that uses a "SPI like" protocol. This device acts like a: SPI "master", but expects to talk with only one "slave" device. It does not expect any output/data ...
1
vote
0answers
51 views

What's the best way to integrate SPI and MSC buses?

I have two chips. The first chip has only an SPI interface. The second chip has only an MSC (microsecond channel) interface. What's the best way to integrate them? Do you know any IC manufacturer ...
1
vote
0answers
386 views

PIC32 SPI ISR not being called when RXIF flag set?

I'm using a PIC32MX795F512L SPI3 module in slave mode. My master is sending data over the SPI line but my slave's interrupt service routine is never being called. The RX interrupt flag is being set ...
0
votes
0answers
20 views

Renesas RL78 SPI Baudrate Change

I am using an Renesas RL78 and SPI to communicated with an SD card. I have the driver working using the single command Baudrate of 400kBaud when sending both commands and data. Of course, this is ...
0
votes
0answers
43 views

Are there any metastability issues with microcontroller SPI slave ports that can operate during sleep?

If one is using SPI to interface two microcontrollers that may spend much of their time sleeping, and if the SPI slave port is supposed to wake up its controller when data is received, that would ...
0
votes
0answers
36 views

25cl040 EEPROM and arduino, just getting 0's as output

I try to write and read a 25LC040 EEPROM with my Arduino, but I'm just getting zero's as output. I followed allong with this tutorial. This is my code: ...
0
votes
0answers
39 views

Library for multi-master comunication of two ATTinys 261/461/861 I2C/SPI

I am building device with two ATTiny 461 connected by about 60 cm long cable. I need ATTinys to send/receive only few bytes once a time. Random time, random direction. I would like multi-master ...
0
votes
0answers
57 views

Can 74HC595 drive FDW9926A - Dual N-Channel 2.5V Specified PowerTrench?

Can 74HC595 drive FDW9926A - Dual N-Channel 2.5V Specified PowerTrench ? I use MCU -> (SPI) -> 74hc595 ->(Parallel GPIO) -> Mosfet Is it possible?
0
votes
0answers
206 views

STM32F4 + MCP4922 DAC + SPI + DMA = 0

I want to transmit data to MCP4922 DAC using SPI with DMA but as with most non-audio DACs it requires a pin toggle to latch data in the DAC buffers after each TX. There is a Chip select associated ...

1 2
15 30 50 per page