Difference between revisions of "AS1531"

From ArmadeusWiki
Jump to: navigation, search
(Driver)
(Linux specific module)
Line 49: Line 49:
  
 
== Linux specific module ==
 
== Linux specific module ==
 +
 +
/* TODO */
  
 
== Use it ==
 
== Use it ==

Revision as of 09:46, 19 August 2010

Introduction

AS1531 is a 8 channels 12bits analog do digital converter made by Austriamicrosystem. The driver is included in ARMadeus distribution, but not currently on ARMadeus board.

Soldering

AS1531 chip use a SPI bus to communicate with the microprocessor, then to use it on APFx board it must be solder on a SPI bus. For example on APF27-Dev board it can be soldered on SPI3 bus, that can be found on connector J8.

Soldering schema for SPI3 APF27-dev
J8 pin AS1531 pin
SD1_D0_SPI3_MISO DOUT
SD1_D3_SPI3_SS CSN
SD1_CMD_SPI3_MOSI DIN
SP1_CLK_SPI3_SCLK SCLK

Driver

The driver is included in ARMadeus distribution, then to use it, select it :

  [  ] $ make linux26-menuconfig
Device Drivers  --->
    <M> Hardware Monitoring support  --->
        <M>   Austria Microsystems AS1531 Analog to Digital Converter

And if the chip is plugged on SPI3 don't forget to select it :

Device Drivers  --->
    [*] SPI support  --->
        [*]     CSPI3

Linux specific module

/* TODO */

Use it