Query Regardin SPI Capture

Started by "The fountainhead" in comp.arch.embedded10 years ago 1 reply

I want to monitor SPI Data Communication which is happening between a master and a slave. For this i have tapped the SI and SO lines of the bus...

I want to monitor SPI Data Communication which is happening between a master and a slave. For this i have tapped the SI and SO lines of the bus and connected it to a microcontroller with 2 SPI Ports. Each SPI port is monitoring one line of the SPI Communication . I have connected the Si/So Lines to the SI's of the controller SPI Ports Will this approach work?


AT91RM9200 SPI extrenal decoder problems

Started by pj0585 in comp.arch.embedded8 years ago

Hi, Has anyone tried using AT91RM9200 with external decoder for SPI? I'm trying to talk to 15 slaves through the SPI on my custom...

Hi, Has anyone tried using AT91RM9200 with external decoder for SPI? I'm trying to talk to 15 slaves through the SPI on my custom board. When I configure the SPI in the external decoder mode then the SPI peripheral is not giving chip select signals. If anyone has tried this and has come across the same problem please give me inputs on where I'm going wrong. Pj0585


regarding full duplex in SPI protocol

Started by prav in comp.arch.embedded13 years ago 3 replies
SPI

Hi all, I am a newbie to SPI protocol.I have a basic doubt in SPI protocol, since SPI is a full duplex(i.e it can transmit and...

Hi all, I am a newbie to SPI protocol.I have a basic doubt in SPI protocol, since SPI is a full duplex(i.e it can transmit and receive simultaneously),can anybody suggest any application wher both the transmitter ande the receiver are both active at the same time. From my understanding SPI is used to configure some of the chips through the host processor,the miso pin is never used in t...


PowerPC 8272 SPI

Started by Don in comp.arch.embedded10 years ago 3 replies

I was wondering if anyone had experience with the powerpc 8272 involving the use of the SPI port. I was reading in the manual and I quote...

I was wondering if anyone had experience with the powerpc 8272 involving the use of the SPI port. I was reading in the manual and I quote the following in chapter 35 on the SPI hardware: "The maximum sustained data rate that the SPI supports is SYSTEMCLK/50. However, the SPI can transfer a single character at much higher rates?SYSTEMCLK/4 in master mode and SYSTEMCLK/2 in slave mode. Gap


Programming AVRs with AVRISP when using the SPI bus at the same time?

Started by Scotty in comp.arch.embedded12 years ago 3 replies

Hi I would like to ask a question because i would like to make sure before i try. I currently using a AVRISP programmer from Atmel which uses...

Hi I would like to ask a question because i would like to make sure before i try. I currently using a AVRISP programmer from Atmel which uses the SPI to program the AVR. And i want to also use the SPI for communication with a SD Card. I am wondering if there could be an issue. Because one of my friends that have the same programmer was using the programmer and EEPROM through the SPI and so...


Interfacing 3.3V SPI devices to a 5V MCU

Started by Simon Clubley in comp.arch.embedded4 years ago 12 replies

I'm about to do some work with interfacing 3.3V SPI based devices to 5V MCUs and unlike the devices I've been used to, these particular 3.3V SPI...

I'm about to do some work with interfacing 3.3V SPI based devices to 5V MCUs and unlike the devices I've been used to, these particular 3.3V SPI devices are _not_ 5V tolerant. Interfacing the SPI output lines from the MCU to the SPI device is easy; just use a level shifter on those lines. In addition, you can just connect the MISO SPI device output line directly into the MCU and it _shou...


uC or standalone SPI slave with 25 MHz ? (Receiver only would be enough)

Started by Martin Maurer in comp.arch.embedded11 years ago 6 replies

Hello, is there any uC or standalone controller which can receive SPI data with 25 MBit/s ? I need this for a SDIO tracer (acting like a SPI...

Hello, is there any uC or standalone controller which can receive SPI data with 25 MBit/s ? I need this for a SDIO tracer (acting like a SPI slave), which is sending 6 bytes each time. I saw different implementation for SPI in an FPGA, is there one which is working / preferable ? A small FIFO for the 48 bit packets would be nice. I know there are tracers which can be bought, but for a...


SPI Length

Started by Brett Foster in comp.arch.embedded12 years ago 3 replies

Okay I'll try to keep this simple: I have a six pin ribbon cable that is 10 feet long. I am connecting 5 devices on the bus. Each device will...

Okay I'll try to keep this simple: I have a six pin ribbon cable that is 10 feet long. I am connecting 5 devices on the bus. Each device will draw


SPI evaluation

Started by reverse.tdroovapednav.f in comp.arch.embedded12 years ago 6 replies

We have to evaluate the SPI bus implementation and drivers on one of our devices. For that we are looking for the possibility to connect the...

We have to evaluate the SPI bus implementation and drivers on one of our devices. For that we are looking for the possibility to connect the device with a PC, e.g. via a SPI to USB converter. Can any one tell where to find these comverters and if there are other types of converters available thanks in advance Frans


PIC Micro SPI to SD Card Interface

Started by ashpigel in comp.arch.embedded8 years ago 1 reply

Hi All, I am going to use PIC microcontroller as SD card (SPI mode) controller by the SPI interface of the PIC. Does anyone knows what is the...

Hi All, I am going to use PIC microcontroller as SD card (SPI mode) controller by the SPI interface of the PIC. Does anyone knows what is the effective baud rate of SD in SPI mode? I means what is the actually data transfer rate after removing the protocol added data, I am intending to work with the SPI in 25Mhz. Thanks Aharon --------------------------------------- T...


Software SPI

Started by terry in comp.arch.embedded13 years ago 6 replies

Hi, Could anyone give me AVR source code to implement SPI by software? I need it because I want to have SPI and also external interrupt...

Hi, Could anyone give me AVR source code to implement SPI by software? I need it because I want to have SPI and also external interrupt on ATTiny22. But the pins are overlapped if the two functions are used. Thanks!


Regarding SPI protocol( master)

Started by prav in comp.arch.embedded13 years ago 3 replies
SPI

Hi all, I have a basic doubt in SPI protocol.Suppose if i have a SPI master which only transfers data to a slave but does not receive any...

Hi all, I have a basic doubt in SPI protocol.Suppose if i have a SPI master which only transfers data to a slave but does not receive any data from slave. Is it possible in SPI protocl to enable only the Transmitter and disable the receiver. Thanks in advance, Prav


Atmel AT91SAM764 and SPI

Started by Fred J in comp.arch.embedded12 years ago 1 reply

Hello everyone, I've a problem with getting the SPI the AT91SAM64 MPU to work properly. Even though I've configured the SPI mode register to use...

Hello everyone, I've a problem with getting the SPI the AT91SAM64 MPU to work properly. Even though I've configured the SPI mode register to use Fixed Pheriphal Select(PS bit cleared). I'm using the PDC to transmit the data. According to the Atmel documentation this should force the PDC to result in 8 bits beeing sent through the SPI per byte given to the PDC. But this doesn't work, instead ...


SPI : Freescale vs Microchip compatibility ?

Started by Anonymous in comp.arch.embedded10 years ago 7 replies

Hi guys, I would like to know if the SPI ports are fully compatible between Freescale and Microchip ? I understand that SPI has become a...

Hi guys, I would like to know if the SPI ports are fully compatible between Freescale and Microchip ? I understand that SPI has become a "de facto" standard in the industry. The serial signals goes up to 10 Mbps, which is enough for my app, and saves data/control buses. Am I wrong to assume that SPI is always implemented the same way, and fully compatible between any chip ? I think ...


SiLab C8051F064, SPI, 3/4 wire, P0.3, NSSMD problem

Started by Bill Davy in comp.arch.embedded8 years ago 2 replies

SiLab C8051F064, SPI, 3/4 wire, P0.3, NSSMD problem: ======================================== Commissioning new board which has used...

SiLab C8051F064, SPI, 3/4 wire, P0.3, NSSMD problem: ======================================== Commissioning new board which has used P0.3 for a chip select for an SPI device (MAX3420 being USB target).The 8051 is the SPI master. In the past we used P3.7 for chip select (with SPI in three wire mode) and all worked well. First approach was to use P0.3 as a GPIO pin. Want...


SPI Setup on AT91SAM7S256

Started by Mark Borgerson in comp.arch.embedded11 years ago 5 replies
SPI

Hi, I've spent the last few hours trying to set up the SPI port on the SAM7S256 to send single bytes on command. My scope shows me no SCK...

Hi, I've spent the last few hours trying to set up the SPI port on the SAM7S256 to send single bytes on command. My scope shows me no SCK pulses or data pulses. I suspect that I have messed up something in the setup of the clocks, peripheral pins, or SPI registers. At this point, I'm not too concerned with polarity, delays, or SPI baud Rate. I just want to see pulses on SCK!!!!! I...


BlackFin BF531 SPORT as SPI

Started by Vladimir Vassilevsky in comp.arch.embedded11 years ago 2 replies

Hello All, There is a necessity to connect the 16 bit SPI DAC to the SPORT on the ADSP BF531 (silicon rev. 0.3). I am initializing the SPORT...

Hello All, There is a necessity to connect the 16 bit SPI DAC to the SPORT on the ADSP BF531 (silicon rev. 0.3). I am initializing the SPORT in the prescribed manner: TCLKDIV = 2 TFSDIV = 31 // just in case TCR2 = 0x000F; // word length - 1 TCR1 = 0x7603; // alt. framing mode The SPORT is supposed to work like the SPI: a write to the TX register should generate the SPI cycle. How...


Question about the speed of SPI RAM

Started by Like2Learn in comp.arch.embedded6 years ago 15 replies

Hi there, We found we had to add an external RAM (SRAM or SDRAM) at the late stage of electrical design. Basically there are only 2 GPIO pins...

Hi there, We found we had to add an external RAM (SRAM or SDRAM) at the late stage of electrical design. Basically there are only 2 GPIO pins still available, otherwise the RAM has to share with other peripherals, such as SPI and I2C. I prefer to connect the external RAM with SPI bus. However, I am not sure if it is fast enough for RAM read/write. Does anybody know the typical speed of SPI...


xmega slave spi problem

Started by theAdib in comp.arch.embedded7 years ago 1 reply

Hi all, i'am hunting this problem since a couple of days ... All I need is are 2 synchronous serial data-streams for my selfmade modulator....

Hi all, i'am hunting this problem since a couple of days ... All I need is are 2 synchronous serial data-streams for my selfmade modulator. the clock phase must be in synch. My idea was to use a master spi to generate the master stream and a spi slave module as second generator that is clocked by the clock out put from the first master. For the first I use USART in master spi mode. fo...


SPI driver for arm running linux

Started by Ali in comp.arch.embedded10 years ago 3 replies

Dear All, I've arm board equipped with Samsung S3C2410A chipset. And at the moment we are using 2.4.18-rmk7-pxa1 linux kernel. Now...

Dear All, I've arm board equipped with Samsung S3C2410A chipset. And at the moment we are using 2.4.18-rmk7-pxa1 linux kernel. Now we need to have SPI support for our product but through my search i have come to know that there is no SPI driver for 2.6.x backward builds, my conclusion is based on this [ http://www.gelato.unsw.edu.au/lxr/source/drivers/spi/Kconfig?a=arm ] source...