Skip to content

Commit

Permalink
Projects: ad2s1210: Add support for ad2s1210
Browse files Browse the repository at this point in the history
The AD2S1210 is a complete 10-bit to 16-bit resolution tracking
resolver-to-digital converter

Signed-off-by: Axel Haslam <[email protected]>
  • Loading branch information
ahaslam2 committed Oct 25, 2023
1 parent 4e01949 commit 6dce98b
Show file tree
Hide file tree
Showing 14 changed files with 1,456 additions and 0 deletions.
1 change: 1 addition & 0 deletions .mbedignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ projects/adt7420_console/
projects/ad559xr_console/
projects/ad5933_console/
projects/evb_discovery_firmware/
projects/ad2s1210_iio/
12 changes: 12 additions & 0 deletions projects/ad2s1210_iio/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
*.swp
*.profile*
build
app/no-OS
Visual*
Code*
.gitattributes
.vs/
*.sln
*.vgdbproj
*.TMP
*.user
65 changes: 65 additions & 0 deletions projects/ad2s1210_iio/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
Evaluation Boards/Products Supported
------------------------------------
EVAL-AD2S1210


Overview
--------
This is an IIO firmware application to evaluate the AD2S1210 device.
This code was developed and tested on SDP-K1 controller board: https://os.mbed.com/platforms/SDP_K1/
Use of the Mbed platform allows code to be ported to other Mbed supported target boards with little or no modifications.

Product details: AD2S1210.
Product Evaluation board details: EVAL-AD2S1210SDZ
User Guide for this code: https://wiki.analog.com/resources/tools-software/product-support-software/AD2S1210_mbed_iio_support
Communication Protocol: SPI


Hardware Setup
--------------
Required: SDP-K1, ASZS-BREAKOUT, EVAL-AD2S1210 board and USB cable.
Plug in the EVAL-AD2S1210 board to the ASZS-BREAKOUT, populate flywires to the
SDP-K1 board using the Arduino connector.

The connections are as follows:

SDPK1 BREAKOUT
DIGITAL-0 -> 96 A0
DIGITAL-1 -> 25 A1
DIGITAL-4 -> 48 SAMPLE
DIGITAL-5 -> 43 RES0
DIGITAL-6 -> 78 RES1
DIGITAL-10 -> 100 nWD
DIGITAL-11 -> 12 SDI
DIGITAL-12 -> 110 SDO
DIGITAL-13 -> 13 SCLK
POWER-GND -> 4 GIO
POWER-3v3 -> 116 VIO

2S1210-EVAL
J3 CS -> J3 GND



(refer to the software wiki page for connection setup).
Connect the SDP-K1 board to the PC using the USB cable and the AD2S1210 EVB to the
provided AC adapter.


How to Get Started
------------------
Mbed web/online compiler: https://studio.keil.arm.com/auth/login/
Import the code into the compiler and compile it to generate the executable binary file.
Drag and drop the binary file onto the USB drive hosted by the SDP-K1 controller board.
Find detailed instructions here: https://wiki.analog.com/resources/tools-software/product-support-software/pcg-fw-mbed-build-guide


Notes
-----
A detailed user guide on the SDP-K1 controller board is available here:
https://os.mbed.com/platforms/SDP_K1/
https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/SDP-K1.html.


Copyright (c) 2023 Analog Devices, Inc. All rights reserved.
Copyright (c) 2023 BayLibre, SAS
Loading

0 comments on commit 6dce98b

Please sign in to comment.