Go to advanced search

by cal-linux
Mon Feb 29, 2016 5:07 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Faster SPI
Replies: 24
Views: 8642

Re: Faster SPI

Joan: (or anyone else that would know the answer!) I'm a bit uncertain about the 3-wire vs. 4-wire transfers in your code and also the channel selection. As I understand from the documentation (https://www.raspberrypi.org/documentation/hardware/raspberrypi/spi/README.md), the Pi only has SPI0 availa...
by cal-linux
Sat Feb 27, 2016 12:54 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Faster SPI
Replies: 24
Views: 8642

Re: Faster SPI

Hi Joan, Two questions: 1) I wonder whether your functions could be used in bare metal mode? The only change I can see is the spiReg; instead of opening /dev/mem and attaching, I would simply initialize it: static volatile uint32_t * spiReg = SPI_BASE; Correct? 2) I'm a bit puzzled about this: in sp...
by cal-linux
Thu Feb 25, 2016 5:01 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: SPI to read data from AD7356 (high-speed A/D converter)
Replies: 1
Views: 446

SPI to read data from AD7356 (high-speed A/D converter)

Hi, This A/D converter provides a serial interface that is compatible with SPI. I want to read data from it with a Rasp. Pi, but the speed and timing constraints are tight. The maximum speed is 5MSPS --- at 12-bits plus the overhead, this means a SCLK approx. at 70MHz. However, if I can reach 1 or 2...

Go to advanced search