Hello,
I have compiled Linux kernel (2.6.37) for AM3517 EVM board with SPI support, wrote an application-specific, SPI protocol driver. The latter just sends a few bytes to SPI1.1 bus. I probed SIMO, CLK with a scope and I did not get any signal at all.
Kernel .config options:
CONFIG_SPI=y
CONFIG_SPI_MASTER=y
CONFIG_SPI_OMAP24XX=y
Kernel configuration looks ok: when Linux boots, here's what I find about McSPI:
Arago 2010.12 am3517-evm ttyO2
am3517-evm login: root
root@am3517-evm:~# dmesg | grep mcspi
[ 0.110321] omap2_mcspi omap2_mcspi.1: registered master spi1
[ 0.112274] omap2_mcspi omap2_mcspi.2: registered master spi2
[ 0.113983] omap2_mcspi omap2_mcspi.3: registered master spi3
[ 0.115570] omap2_mcspi omap2_mcspi.4: registered master spi4
root@am3517-evm:~#
Did I miss some steps? Do I have to configure pin muxing and pin i/o direction by myself (ex. additional coding in omap2_mcspi.c)?
Thanks.
Yves