Page 1 of 1

SPI bus

Posted: Mon Nov 17, 2014 10:30 pm
by franki
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

Re: SPI bus

Posted: Tue Nov 18, 2014 12:59 am
by Vonger
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.

Re: SPI bus

Posted: Tue Nov 18, 2014 9:58 am
by franki
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