Skip to content

Commit

Permalink
projects:ad777x_iio: Add support for AD777x
Browse files Browse the repository at this point in the history
Release AD777x IIO FW

Signed-off-by: Janani Sunil <[email protected]>
  • Loading branch information
jansunil committed Nov 8, 2023
1 parent eb2195c commit 360f56f
Show file tree
Hide file tree
Showing 31 changed files with 4,703 additions and 0 deletions.
1 change: 1 addition & 0 deletions .mbedignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ projects/ad4130_iio/
projects/ad7134_iio/
projects/ad717x_iio/
projects/ad719x_iio/
projects/ad777x_iio/
projects/ad4696_iio/
projects/ad7606_iio/
projects/ad77681_iio/
Expand Down
26 changes: 26 additions & 0 deletions projects/ad777x_iio/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
*.swp
*.profile*
build
app/no-OS
Visual*
Code*
.gitattributes
.vs/
*.sln
*.vgdbproj
*.TMP
*.user
STM32/.settings
STM32/Core
STM32/Drivers
STM32/.mxproject
STM32/.cproject
STM32/.project
STM32/Debug
STM32/STM32L552ZETXQ_FLASH.ld
STM32/STM32L552ZETXQ_RAM.ld
scripts/__pycache__
tests/.pytest_cache
tests/__pycache__
tests/func/__pycache__
tests/output
6 changes: 6 additions & 0 deletions projects/ad777x_iio/.mbedignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
STM32/
app/app_config_stm32.h
app/app_config_stm32.c
app/stm32_gpio_irq_generated.c
app/stm32_tdm_support.c
app/stm32_tdm_support.h
48 changes: 48 additions & 0 deletions projects/ad777x_iio/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
Evaluation Boards/Products Supported
------------------------------------
-Products supported: AD7770, AD7771, AD7779

Overview
--------
This is a IIO based firmware application to evalute the AD777x device.
This code was developed and tested on SDP-K1 controller board for mbed platform : https://os.mbed.com/platforms/SDP_K1/.
and the NucleoL552ZEQ Board for STM32 platform: https://os.mbed.com/platforms/ST-Nucleo-L552ZE-Q/

Product details:
https://www.analog.com/en/products/ad7770.html
https://www.analog.com/en/products/ad7771.html
https://www.analog.com/en/products/ad7779.html
Communication Protocol: SPI, SAI-TDM (Applicable only for STM32 platform)


Hardware Setup
--------------
Required: SDP-K1 (or alternative Mbed/STM32 enabled controller board), EVAL-AD777x board and USB cable.

Find further instructions on the hardware connections here:
https://wiki.analog.com/resources/tools-software/product-support-software/ad777x_iio_support#hardware_connections


How to Get Started
------------------
The Firmware supports MBED and STM32 platforms. Import code into the respective platform and compile it to generate the executable binary.

Find detailed instructions for MBED platform here:
https://wiki.analog.com/resources/tools-software/product-support-software/pcg-fw-mbed-build-guide

Find detailed instructions for STM32 platform here:
https://wiki.analog.com/resources/tools-software/product-support-software/pcg-fw-stm32-build-guide


Notes
-----
A detailed user guide on 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.

A Detailed user guide on Nucleo-L552ZEQ board is available here:
https://os.mbed.com/platforms/ST-Nucleo-L552ZE-Q/
https://www.st.com/content/ccc/resource/technical/document/user_manual/group1/ad/a4/bd/5e/14/15/4e/e8/DM00615305/files/DM00615305.pdf/jcr:content/translations/en.DM00615305.pdf

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

26 changes: 26 additions & 0 deletions projects/ad777x_iio/STM32/.extSettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[ProjectFiles]
HeaderPath=../app;../../../libraries/no-OS/util;../../../libraries/no-OS/include;../../../libraries/no-OS/drivers/platform/stm32;../../../libraries/no-OS/iio;../../../libraries/no-OS/drivers/adc/ad7779;../../../libraries/no-OS/drivers/api;../../../libraries/no-OS/drivers/eeprom/24xx32a/;../../../libraries/precision-converters-library/common/;../../../libraries/precision-converters-library/board_info/;

[Groups]
app/=../app/main.c;../app/ad777x_iio.c;../app/ad777x_iio.h;../app/app_config.h;../app/app_config.c;../app/app_config_stm32.c;../app/app_config_stm32.h;../app/ad777x_user_config.c;../app/ad777x_user_config.h;../app/ad777x_support.c;../app/ad777x_support.h;../app/stm32_gpio_irq_generated.c;../app/stm32_tdm_support.h;../app/stm32_tdm_support.c;

app/libraries/precision-converters-library/common/=../../../libraries/precision-converters-library/common/common.h;../../../libraries/precision-converters-library/common/common.c;

app/libraries/precision-converters-library/board_info/=../../../libraries/precision-converters-library/board_info/board_info.c;../../../libraries/precision-converters-library/board_info/board_info.h;

app/libraries/no-OS/drivers/eeprom/24xx32a/=../../../libraries/no-OS/drivers/eeprom/24xx32a/24xx32a.c;../../../libraries/no-OS/drivers/eeprom/24xx32a/24xx32a.h;

app/libraries/no-OS/drivers/adc/ad7779/=../../../libraries/no-OS/drivers/adc/ad7779/ad7779.c;../../../libraries/no-OS/drivers/adc/ad7779/ad7779.c;

app/libraries/no-OS/drivers/tdm=../../../libraries/no-OS/drivers/tdm/no_os_tdm.c;

app/libraries/no-OS/=../../../libraries/no-OS/util/;../../../libraries/no-OS/include;

app/libraries/no-OS/drivers/platform/stm32/=../../../libraries/no-OS/drivers/platform/stm32/stm32_delay.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_gpio.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_gpio.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_spi.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_spi.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_uart.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_uart.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_delay.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_gpio_irq.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_gpio_irq.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_tdm.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_tdm.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_irq.h;../../../libraries/no-OS/drivers/platform/stm32/stm32_irq.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_pwm.c;../../../libraries/no-OS/drivers/platform/stm32/stm32_pwm.h

app/libraries/no-OS/iio/=../../../libraries/no-OS/iio/iio.c;../../../libraries/no-OS/iio/iio.h;../../../libraries/no-OS/iio/iiod.h;../../../libraries/no-OS/iio/iiod.c;../../../libraries/no-OS/iio/iio_trigger.c;;../../../libraries/no-OS/iio/iio_trigger.h;

app/libraries/no-OS/drivers/api/=../../../libraries/no-OS/drivers/api/no_os_gpio.c;../../../libraries/no-OS/drivers/api/no_os_spi.c;../../../libraries/no-OS/drivers/api/no_os_irq.c;../../../libraries/no-OS/drivers/api/no_os_uart.c;../../../libraries/no-OS/drivers/api/no_os_pwm.c

[Others]
Define=_USE_STD_INT_TYPES;TINYIIOD_VERSION_MAJOR;TINYIIOD_VERSION_MINOR;TINYIIOD_VERSION_GIT;IIOD_BUFFER_SIZE;IIO_IGNORE_BUFF_OVERRUN_ERR;USE_PHY_COM_PORT;
Loading

0 comments on commit 360f56f

Please sign in to comment.