en:i2cspi
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | en:i2cspi [2015/03/05 19:33] – kaklik | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | ||
+ | |||
+ | ====== I²C SLAVE to SPI Master converter ====== | ||
+ | |||
+ | The module allows controling of SPI devices by [[en: | ||
+ | |||
+ | ===== Basic features ===== | ||
+ | |||
+ | * I²C-bus slave interface operating up to 400 kHz | ||
+ | * SPI master operating up to 1.8 Mbit/s | ||
+ | * 200-byte data buffer | ||
+ | * Up to four slave select outputs | ||
+ | * Up to four programmable I/O pins | ||
+ | * Operating supply voltage: 2.4 V to 3.6 V | ||
+ | * Low power mode | ||
+ | * Internal oscillator option | ||
+ | * Active LOW interrupt output | ||
+ | |||
+ | |||
+ | ===== I²C Adderess selection ===== | ||
+ | |||
+ | I²C address can be selected from several addresses by jumpers configuration or by placement of resistors soldered on PCB. If configuration of addess is changed, the new adderess will by active after power-on reset. | ||
+ | |||
+ | |||
+ | ===== Usage of module ===== | ||
+ | |||
+ | The module is connected to the I²C bus by standard MLAB pinheader connector. If connected propertly the module can be seen by i2cdetect utility. I2CSPI module is present at bus with address 0x2E. | ||
+ | |||
+ | odroid@odroid: | ||
+ | | ||
+ | 00: -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
+ | 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
+ | 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 2e -- | ||
+ | 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
+ | 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
+ | 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
+ | 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- | ||
+ | 70: 70 -- -- -- -- -- -- -- | ||
+ | odroid@odroid: | ||
+ | |||
+ | ==== Pymlab library ==== | ||
+ | |||
+ | Ve zdrojácích knihovny Pymlab je připraven příklad pro SPI komunikaci s [[cs: | ||
+ | |||
+ | Converter module can be controlled from Python by [[en: | ||
+ | |||
+ | {{ : | ||
+ | |||
en/i2cspi.txt · Last modified: 2015/03/05 19:35 (external edit)