spi

Time Travel functions in postgresql

Can anyone recommend for/against the time-travel functions in postgresql's contrib/spi module? Is there an example available anywhere? Tnx ...

OMAP SPI controller

Does anyone ever develop some application to control the spi device on OMAP3? I can load the spi driver "mcspi", but I don't know how to use it. ...

How do you handle large data transfers on very memory constrained, embedded systems?

I have a microcontroller that must download a large file from a PC serial port (115200 baud) and write it to serial flash memory over SPI (~2 MHz). The flash writes must be in 256 byte blocks preceded by a write command and page address. The total RAM available on the system is 1 kB with an 80 byte stack size. This is currently working ...

Do you recommend TTL, SPI or I2C with SunSPOT

I am starting to try to interface with some external components (Skyetek M1 Mini or M1 RFID scanner) than supports the following protocols TTL, SPI or I2C. I am wondering which one of these routes you would recommend. The app that is running on the spot needs alot of processing time (a continuously running gesture matching algorithm) and...

How do you build a Single Page Interface in ASP.NET MVC?

Hi all, I want to build a webapplication with a "Single Page Interface", using ASP.NET MVC. I have searched if this was at least possible and I think the answer is: not by simple means (reading http://msdn.microsoft.com/en-us/magazine/cc507641.aspx#S2 second-last paragraph; that article is from May 2008, though). I found other example...

Interfacing 45DB161 data flash with 89LP4052 controller.

I am trying to interface the data flash with 89lp 4052 controller. Crysal used 11.0592 mhz. This controller has built in spi bus. I tried all combinations of CPHA AND CPOL. Tried mode 0 as well as mode 3. Not able to read staus register. Some times it happens that it reads the register but sometimes it just ff code out from flash. m...

SD File Systems for access with SPI

I found this site: http://www.pjrc.com/tech/8051/ide/fat32.html Basically it's a great overview of the FAT32 filesystem. It so far has proven to be very easy to understand, I was wondering if anyone out there knew of any similar documents/how-to's for different Linux Filesystems, I am interested in how they store data on drives! I did...

Initializing SD card in SPI issues

Sorry for the length of this question, but I thought it best to show as much detail to fend of questions asking if I had done A when I had already done A... ;-) I've had a look at the "micro-SD card initialization using SPI interface" thread and didn't see any answers that matched my issue (i.e. things I haven't already tried). I have a...

AT91SAM7X512's SPI peripheral gets disabled on write to SPI_TDR

My AT91SAM7X512's SPI peripheral gets disabled on the X time (X varies) that I write to SPI_TDR. As a result, the processor hangs on the while loop that checks the TDRE flag in SPI_SR. This while loop is located in the function SPI_Write() that belongs to the software package/library provided by ATMEL. The problem occurs arbitrarily - so...

SD card initialization SPI

Hi People I saw a lot of infos about MMC/SD cards and I tried to make a lib to read this.. (modifying the Procyon Avrlib) But I have some problems here. I Don´t change the original code and tried here. My problem is about the init of SD card. I have 2 here, a 256mb and another 1GB. I send the init commands like this order: CMD0, CMD55...

SPI and GDO, what is GDO an acronym for?

In connection with a SPI bus there is typically a number of GDO pins used for interrupting the master or the slave of the SPI connection. But what is GDO an acronym for? ...

SD card initialization using SPI interface

I get invalid response Codes from my SD Card(CMD8, CMD55, CMD41) Init routine: SDCS = 1; // MMC deaktiviert SPI1CON1bits.SMP = 0; SPI1CON1bits.CKE = 1; SPI1CON1bits.MSTEN = 1; SPI1CON1bits.CKP = 0; SPI1STATbits.SPIEN = 1; for(i=0;i<10;i++) SPI(0xFF); // RESET unsigned char rr=Command(CMD0,0); SDCS=1; // MMC de...

Microcontroller to Microcontroller SPI communication

Hello again, I was doing some reading and have even gotten a "master" SPI working on my microcontroller. Here is my question, basically if the master wants to initialize a write to the slave we write to the SSPBUF, how do we control what the slave responds with? The datasheet doesn't seem really clear to me the order of events in that ca...

When putting an SD/MMC card into SPI mode, can CS go high in between bytes?

I have a microprocessor with the card's chip select (CS) line tied to a 'frame' signal automatically driven by the SPI (SSP) circuit. This causes CS to go high between each byte. The MMC/SD specs require that CS be held low in order to enter SPI mode. Does it need to be held low the entire time, or only when transmitting each byte of ...

ServiceRegistry constructor fails with ClassCastException on concrete class

Trying to use javax.imageio.spi.ServiceRegistry to dynamically register request processors for an HttpServlet: private static final Class PROVIDER_CLASS = IRequestProcessor.class; private void loadProviders() throws ClassNotFoundException { _serviceRegistry = new ServiceRegistry(ServiceRegistry.lookupProviders(PROVIDER_CLASS)); ...

How do I flash an LED, using libftdi v0.18?

It's a FT2232D chip, and the LED is connected to BDBUS6. The library is less documented than I might like (better than FTDI's own library though, which doesn't even work on modern kernels), the only example code I can find that does this uses a deprecated function (I tried, it doesn't seem to work), and I'm absolutely stumped. The har...

Send and receive bytes from microSD port using SPI

Hi, I have a Nordic Semiconductor nRF24L01+ RF transceiver that works with a microcontroller using the SPI peripheral. I want to hook up the nRF24L01+ to the microSD connector on an Android smart phone. I would like to create a simple app that can send commands to and from the nRF24L01+ over the SPI pins on the microSD connector. I...