This Project Has Not Released Any Files
CPUには4CHあり。
PintoTH/Tobi外部コネクタに出ている CS0/CS1信号があるので、2つスレーブをつなぐことが出来る。
Old Nabble - Gumstix - spidev <http://old.nabble.com/spidev-td27230456.html>
PXA270/255用なのでVerdex用 Sample code/C/SPI - GumstixDocsWiki http://docwiki.gumstix.org/Sample_code/C/SPI
/home/ntaka/dev/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/linux-omap3-2.6.36-r100/git/Documentation
spi-summary <http://www.kernel.org/doc/Documentation/spi/spi-summary>
下記、分かりやすい解説ページ。SPIドライバの作り方。spike-adの基本になったドライバ。
Writing a Linux SPI driver - Part 1 <http://www.jumpnowtek.com/index.php?option=com_content&view=article&id=57&Itemid=62>
overo-oe/tmp/work/overo-angstrom-linux-gnueabi/linux-omap3-2.6.36-r100/git/drivers/spi/omap2_mcspi.c
git.kernel.org - linux/kernel/git/torvalds/linux-2.6.git/history - drivers/spi/omap2_mcspi.c
Writing a Linux SPI driver - Part 2 <http://www.jumpnowtek.com/index.php?option=com_content&view=article&id=71&Itemid=67>
spike-adはADS1259とSPIモード0で通信する。
spi_device->mode = SPI_MODE_0;SPIモードの定義
Linux/include/linux/spi/spi.h <http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/include/linux/spi/spi.h#L77> 75 #define SPI_CPHA 0x01 /* clock phase */ 76 #define SPI_CPOL 0x02 /* clock polarity */ 77 #define SPI_MODE_0 (0|0) /* (original MicroWire) */ 78 #define SPI_MODE_1 (0|SPI_CPHA) 79 #define SPI_MODE_2 (SPI_CPOL|0)
Serial Peripheral Interface Bus - Wikipedia, the free encyclopedia <http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus#Microwire>
At CPOL=0 the base value of the clock is zero For CPHA=0, data are captured on the clock's rising edge (low→high transition) and data are propagated on a falling edge (high→low clock transition).
CPUには3CHあり。
PintoTH/Tobi外部コネクタに出ている
u-bootにパッチ当てることで使用できる
Old Nabble - Gumstix - Using UART 2 on an Overo <http://old.nabble.com/Using-UART-2-on-an-Overo-td22534595.html>
ピン | 機能 |
GPIO146_PWM11 | UART2_TX |
GPIO147_PWM8 | UART2_RX |
PintoTH/Tobi外部コネクタに出ている
Serial Console用
CPU 3CHあり。
PintoTH/Tobi外部コネクタに出ている
irqlat.c at master from scottellis/overo-irqlat - GitHub <https://github.com/scottellis/overo-irqlat/blob/master/irqlat.c>
Old Nabble - Gumstix - GPIO Interrupts: Newbie <http://old.nabble.com/GPIO-Interrupts%3A-Newbie-td28670395.html>
Pullup/downの設定とモード(接続するモジュール)の設定が必要。 通常はu-bootで設定しているが、違う設定が必要な場合はu-bootの書き換えが必要。 UART2を使う場合など。