AD2S90
AD2S90 IIO Resolver-to-Digital Converter.
Supported Devices
Description
The AD2S90 is a complete 12-bit resolution resolver-to-digital converter that provides angular position measurement. It requires only a 3-wire serial interface and an external reference oscillator, offering a simple and cost- effective solution for shaft angle measurement in motor control systems.
This is a Linux industrial I/O (Linux Industrial I/O Subsystem) subsystem driver, targeting Resolver-to-Digital Converters. The industrial I/O subsystem provides a unified framework for drivers for many different types of converters and sensors using a number of different physical interfaces (i2c, spi, etc). See Linux Industrial I/O Subsystem for more information.
Source Code
Status
Files
Function |
File |
|---|---|
driver |
Adding Linux driver support
Configure kernel with make menuconfig (alternatively use make xconfig or
make qconfig)
Note
The Driver depends on CONFIG_SPI
Linux Kernel Configuration
Device Drivers --->
[*] Staging drivers --->
<*> Industrial I/O support --->
--- Industrial I/O support
-*- Enable ring buffer support within IIO
-*- Industrial I/O lock free software ring
-*- Enable triggered sampling support
*** Resolver to digital converters ***
[--snip--]
<*> Analog Devices AD2S90 driver
[--snip--]
Driver Usage
The device file path may looks like,
/sys/devices/platform/bfin-spi.0/spi0.3/iio/device0/ad2s90>
There are two files:
File Name |
Permission |
Usage |
|---|---|---|
angular |
read only |
12 bits angular value |
description |
read only |
description about this chip |