SPI bus

franki
 
Posts: 7
Joined: Wed Nov 05, 2014 2:31 pm

SPI bus

Mon Nov 17, 2014 10:30 pm

I like openwrt, routers and electronic.... My vocore is here, in a platform with cables, terminals and net,usb.... I start to use it, but i have some difficults with de SPI bus....

How i connect? how i probe it? CS0/CSI, how? I need a little help, please.....

spidev_test not work, only 000.....0000 or FF....FFFFF , with loop-back, without loop-back.... I need help.....

thanks

Vonger
 
Posts: 896
Joined: Sun Oct 19, 2014 6:00 am

Re: SPI bus

Tue Nov 18, 2014 12:59 am

Hi,
I am not sure which part block you, maybe read source code will help you understand how spi works.
spi-rt2880.c: spi base driver.
spidev_test.c: used to communicate with driver.
spi-mmc: this driver has queue, it is able to detect the device.

franki
 
Posts: 7
Joined: Wed Nov 05, 2014 2:31 pm

Re: SPI bus

Tue Nov 18, 2014 9:58 am

Thanks for responding...

Perhaps when i make a new kernel with Chaos Calmer something goes wrong...

First, what are necesary files for SPI support? kmod-spi-custom, spi-mmc? I dont know... i need a file list....

Second, SPI is native or gpio-bitbanging? and I2C?

Third, how connect spi for a spidev_test... with a loopback? whitout it?

Sorry for my doubts, but in programming aint not good, hardware is better

Return to VoCore & VoCore+Dock

Who is online

Users browsing this forum: No registered users and 44 guests