EVAL-AD7124 Mbed Example Program.

Dependencies:   adi_console_menu platform_drivers

Committer:
Kjansen45
Date:
Wed Dec 02 11:23:19 2020 +0000
Revision:
6:46c263287b2f
Parent:
4:52464a9e1cf7
Child:
7:3e1005bd4d41
Jira ticket (PCFW-392), resolved the issue regarding the pin mapping for Arduino

Who changed what in which revision?

UserRevisionLine numberNew contents of line
malavikasaji 0:83a0c7bbe493 1 Evaluation Boards/Products Supported
malavikasaji 0:83a0c7bbe493 2 ------------------------------------
mahphalke 3:779bb1e55f1a 3 EVAL-AD7124-8SZ
mahphalke 3:779bb1e55f1a 4 EVAL-AD7124-4SZ
malavikasaji 0:83a0c7bbe493 5
malavikasaji 0:83a0c7bbe493 6
malavikasaji 0:83a0c7bbe493 7 Overview
malavikasaji 0:83a0c7bbe493 8 --------
mahphalke 3:779bb1e55f1a 9 These code files provide the console application and device libraries to
mahphalke 3:779bb1e55f1a 10 interface with AD7124 EVAL board. This code was developed and tested on SDP-K1
mahphalke 3:779bb1e55f1a 11 controller board: https://os.mbed.com/platforms/SDP_K1/
malavikasaji 0:83a0c7bbe493 12
mahphalke 3:779bb1e55f1a 13 Product details: https://www.analog.com/en/products/ad7124-8.html
mahphalke 3:779bb1e55f1a 14 Eval board details: https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/EVAL-AD7124-8.html
mahphalke 3:779bb1e55f1a 15 User Guide for this code: https://wiki.analog.com/resources/tools-software/product-support-software/ad7124_mbed_support
mahphalke 4:52464a9e1cf7 16 Communication Protocol: SPI
malavikasaji 0:83a0c7bbe493 17
malavikasaji 0:83a0c7bbe493 18
malavikasaji 0:83a0c7bbe493 19 Hardware Setup
malavikasaji 0:83a0c7bbe493 20 --------------
mahphalke 3:779bb1e55f1a 21 Required: SDP-K1 (or alternative MBED enabled controller board), EVAL-AD7124-8SZ,
malavikasaji 0:83a0c7bbe493 22 USB cable.
malavikasaji 0:83a0c7bbe493 23 Plug in the EVAL-AD124 board on SDP-K1 board (or any other Mbed enabled
malavikasaji 0:83a0c7bbe493 24 controller board) using the SDP connector and screws.
malavikasaji 0:83a0c7bbe493 25 Connect SDP-K1 board to the PC using the USB cable.
malavikasaji 0:83a0c7bbe493 26
malavikasaji 0:83a0c7bbe493 27
malavikasaji 0:83a0c7bbe493 28 How to Get Started
malavikasaji 0:83a0c7bbe493 29 ------------------
malavikasaji 0:83a0c7bbe493 30 Open Mbed online compiler. https://ide.mbed.com/compiler
mahphalke 3:779bb1e55f1a 31 Import Code into compiler from here: https://os.mbed.com/teams/AnalogDevices/code/EVAL-AD7124/
malavikasaji 0:83a0c7bbe493 32 instructions on how to import code are here: https://os.mbed.com/docs/mbed-os/v5.12/tools/importing-code.html
malavikasaji 0:83a0c7bbe493 33 Compile code. Drag and drop binary into SDP-K1 controller board. Find detailed
malavikasaji 0:83a0c7bbe493 34 instructions here: https://os.mbed.com/docs/mbed-os/v5.12/tools/getting-your-program-on-your-board.html
mahphalke 3:779bb1e55f1a 35 Open Tera Term (or alternative), select 115200 baud rate, and the applicable COM
malavikasaji 0:83a0c7bbe493 36 port to see the list of options.
malavikasaji 0:83a0c7bbe493 37
malavikasaji 0:83a0c7bbe493 38
malavikasaji 0:83a0c7bbe493 39 Notes
malavikasaji 0:83a0c7bbe493 40 -----
malavikasaji 0:83a0c7bbe493 41 If using Win 7, install serial drivers for Mbed. https://os.mbed.com/docs/mbed-os/v5.12/tutorials/windows-serial-driver.html
malavikasaji 0:83a0c7bbe493 42 A detailed user guide on SDP-K1 controller board is available here https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/SDP-K1.html.
malavikasaji 0:83a0c7bbe493 43
malavikasaji 0:83a0c7bbe493 44
malavikasaji 0:83a0c7bbe493 45 License
malavikasaji 0:83a0c7bbe493 46 -------
malavikasaji 0:83a0c7bbe493 47 Copyright (c) 2019 Analog Devices, Inc. All rights reserved.
mahphalke 3:779bb1e55f1a 48
mahphalke 3:779bb1e55f1a 49 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
mahphalke 3:779bb1e55f1a 50 - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
mahphalke 3:779bb1e55f1a 51 - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
malavikasaji 0:83a0c7bbe493 52 - Modified versions of the software must be conspicuously marked as such.
mahphalke 3:779bb1e55f1a 53 - This software is licensed solely and exclusively for use with processors/products manufactured by or for Analog Devices, Inc.
mahphalke 3:779bb1e55f1a 54 - This software may not be combined or merged with other code in any manner that would cause the software to become subject to terms and conditions which differ from those listed here.
mahphalke 3:779bb1e55f1a 55 - Neither the name of Analog Devices, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
mahphalke 3:779bb1e55f1a 56 - The use of this software may or may not infringe the patent rights of one or more patent holders. This license does not release you from the requirement that you obtain separate licenses from these patent holders to use this software.
mahphalke 3:779bb1e55f1a 57
mahphalke 3:779bb1e55f1a 58 THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, TITLE, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES, INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, PUNITIVE OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, DAMAGES ARISING OUT OF CLAIMS OF INTELLECTUAL PROPERTY RIGHTS INFRINGEMENT; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mahphalke 3:779bb1e55f1a 59
malavikasaji 0:83a0c7bbe493 60 2019-01-10-7CBSD SLA