Em quinta-feira, 23 de janeiro de 2014 17h24min27s UTC-3, Tomas Novotny
escreveu:
On Thu, 23 Jan 2014 19:11:32 +0100, Gustavo Zamboni
gustavozamb...@gmail.com wrote:
Hi Gustavo,
Why dont you just add the device to the fex file ??
activate your spix_para parameters
On Mon, 27 Jan 2014 08:42:51 -0800 (PST), vinicius...@gmail.com
vinicius...@gmail.com wrote:
Em quinta-feira, 23 de janeiro de 2014 17h24min27s UTC-3, Tomas Novotny
escreveu:
On Thu, 23 Jan 2014 19:11:32 +0100, Gustavo Zamboni
gustavozamb...@gmail.com wrote:
Hi Gustavo,
Em terça-feira, 21 de janeiro de 2014 08h44min19s UTC-3, Tomas Novotny
escreveu:
Hi All,
I'm trying to use some SPI devices on A10s OLinuXino. It was flawless for
simple MCU driven by spidev (everything needed is defined in FEX). Now I'm
trying to connect external CAN over SPI
Why dont you just add the device to the fex file ??
activate your spix_para parameters
and add something like:
|[spi_devices]|
spi_dev_num=1
|[spi_board0]|
|modalias| |= |||mcp251x
|max_speed_hz| |= ||1200|
|bus_num| |= ||1|
|chip_select| |= ||0|
|mode| |= ||3|
|full_duplex| |= ||0|
On Thu, 23 Jan 2014 09:03:28 -0800 (PST), vinicius...@gmail.com
vinicius...@gmail.com wrote:
Em quinta-feira, 23 de janeiro de 2014 13h59min19s UTC-3, vinic...@gmail.com
escreveu:
Em terça-feira, 21 de janeiro de 2014 08h44min19s UTC-3, Tomas Novotny
escreveu:
Hi All,
On Thu, 23 Jan 2014 19:11:32 +0100, Gustavo Zamboni
gustavozamb...@gmail.com wrote:
Hi Gustavo,
Why dont you just add the device to the fex file ??
activate your spix_para parameters
and add something like:
|[spi_devices]|
spi_dev_num=1
|[spi_board0]|
|modalias| |= |||mcp251x
I'm sorry, i didnt see you needed that.
you can use on of the script parse functions to get the oscilator
frequency value from the fex.
Of course you will have to change the spi src as vinicius said.
Gustavo
Le 23/01/2014 21:24, Tomas Novotny a écrit :
On Thu, 23 Jan 2014 19:11:32 +0100,