Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Projects: ad2s1210: Add support for ad2s1210 #24

Merged
merged 2 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build-projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
strategy:
matrix:
project:
- ad2s1210_iio
- ad4130_iio
- ad559xr_console
- ad5770r_console
Expand Down
1 change: 1 addition & 0 deletions .mbedignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ projects/ad590_console/
projects/adt7420_console/
projects/ad559xr_console/
projects/ad5933_console/
projects/ad2s1210_iio/
ahaslam2 marked this conversation as resolved.
Show resolved Hide resolved
projects/evb_discovery_firmware/
2 changes: 1 addition & 1 deletion libraries/no-OS
Submodule no-OS updated 657 files
2 changes: 1 addition & 1 deletion libraries/no-OS.lib
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://github.com/analogdevicesinc/no-OS/#3ade1be92427f544ccf3589eaba3f9e8cb1f2312
https://github.com/analogdevicesinc/no-OS/#6b024163b1257dbd7c36a72bef693d4194cc1d5a
17 changes: 17 additions & 0 deletions projects/ad2s1210_iio/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
*.swp
ahaslam2 marked this conversation as resolved.
Show resolved Hide resolved
*.profile*
build
app/no-OS
Visual*
Code*
.gitattributes
.vs/
*.sln
*.vgdbproj
*.TMP
*.user
scripts/__pycache__
tests/.pytest_cache
tests/__pycache__
tests/func/__pycache__
tests/output
7 changes: 7 additions & 0 deletions projects/ad2s1210_iio/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
include ../../tools/scripts/generic_variables.mk

-include $(NO-OS)/tools/scripts/generic_variables.mk

include src.mk

-include $(NO-OS)/tools/scripts/generic.mk
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
ahaslam2 marked this conversation as resolved.
Show resolved Hide resolved
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, ADZS-BRKOUT, EVAL-AD2S1210 board and USB cable.
Plug in the EVAL-AD2S1210 board to the ADZS-BRKOUT, 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

ahaslam2 marked this conversation as resolved.
Show resolved Hide resolved
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