#Interfacing the 8-channel A/D converter IC Texas ADC128S052 

<div class="text-success lead">
The Texas Instruments ADC128S052 is a low power 8-Channel @ 12 bit analog-to-digital converter specified for
conversion throughput rates of 200 kSPS to 500 kSPS. 
</div>

<img src="./adc128s052.jpg"/>

* [Product description](http://www.ti.com/product/adc128s052)
* [Datasheet](http://www.ti.com/lit/ds/symlink/adc128s052.pdf)


SPI building for the dts file <b>at91-ariag25.dts</b>:

<pre class="prettyprint">
spi0: spi@f0000000 {
	status = "okay";
	interrupts = <13 4 5>;
	cs-gpios = <&pioA 14 0>, <0>, <0>, <0>;

	device@0 {
		compatible = "spidev";
		spi-max-frequency = <5000000>;
		reg = <0>;
	};
};
</pre>

##Python example

* @pg='python/spi/adc.py'

The following two modules used in this example come from the [Quick2wire project](https://github.com/quick2wire/quick2wire-python-api):

* @pg='python/spi/spi_ctypes.py'
* @pg='python/spi/asm_generic_ioctl.py'
