AD7124 Example Program

Dependencies:   platform_drivers AD7124_no_OS

Committer:
malavikasaji
Date:
Wed Sep 04 22:13:18 2019 +0000
Revision:
0:83a0c7bbe493
Repository Created.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
malavikasaji 0:83a0c7bbe493 1 Evaluation Boards/Products Supported
malavikasaji 0:83a0c7bbe493 2 ------------------------------------
malavikasaji 0:83a0c7bbe493 3 EVAL-AD5671R (AD5671R)
malavikasaji 0:83a0c7bbe493 4 EVAL-AD5672R (AD5672R)
malavikasaji 0:83a0c7bbe493 5 EVAL-AD5674R (AD5674R)
malavikasaji 0:83a0c7bbe493 6
malavikasaji 0:83a0c7bbe493 7
malavikasaji 0:83a0c7bbe493 8 Overview
malavikasaji 0:83a0c7bbe493 9 --------
malavikasaji 0:83a0c7bbe493 10 These code files provide drivers to interface with nanoDAC+ family of devices
malavikasaji 0:83a0c7bbe493 11 listed above and communicate with EVAL-AD56XX board. This code was developed and
malavikasaji 0:83a0c7bbe493 12 tested on SDP-K1 controller board https://os.mbed.com/platforms/SDP_K1/.
malavikasaji 0:83a0c7bbe493 13
malavikasaji 0:83a0c7bbe493 14 Product details: https://www.analog.com/en/products/ad5686.html
malavikasaji 0:83a0c7bbe493 15 Eval board details: https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/EVAL-AD5686R.html
malavikasaji 0:83a0c7bbe493 16 User Guide for this code: https://wiki.analog.com/resources/tools-software/product-support-software/nanodac-mbed
malavikasaji 0:83a0c7bbe493 17
malavikasaji 0:83a0c7bbe493 18
malavikasaji 0:83a0c7bbe493 19 Hardware Setup
malavikasaji 0:83a0c7bbe493 20 --------------
malavikasaji 0:83a0c7bbe493 21 Required: SDP-K1 (or alternative MBED enabled controller board), EVAL-AD56XX,
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
malavikasaji 0:83a0c7bbe493 31 Import Code into compiler from here: https://os.mbed.com/teams/AnalogDevices/code/EVAL-AD568x-AD569x/
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
malavikasaji 0:83a0c7bbe493 35 Open Tera Term (or alternative), select 51200 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.
malavikasaji 0:83a0c7bbe493 48
malavikasaji 0:83a0c7bbe493 49 Redistribution and use in source and binary forms, with or without modification,
malavikasaji 0:83a0c7bbe493 50 are permitted provided that the following conditions are met:
malavikasaji 0:83a0c7bbe493 51 - Redistributions of source code must retain the above copyright notice,
malavikasaji 0:83a0c7bbe493 52 this list of conditions and the following disclaimer.
malavikasaji 0:83a0c7bbe493 53 - Redistributions in binary form must reproduce the above copyright notice,
malavikasaji 0:83a0c7bbe493 54 this list of conditions and the following disclaimer in the documentation
malavikasaji 0:83a0c7bbe493 55 and/or other materials provided with the distribution.
malavikasaji 0:83a0c7bbe493 56 - Modified versions of the software must be conspicuously marked as such.
malavikasaji 0:83a0c7bbe493 57 - This software is licensed solely and exclusively for use with processors/products
malavikasaji 0:83a0c7bbe493 58 manufactured by or for Analog Devices, Inc.
malavikasaji 0:83a0c7bbe493 59 - This software may not be combined or merged with other code in any manner
malavikasaji 0:83a0c7bbe493 60 that would cause the software to become subject to terms and conditions which
malavikasaji 0:83a0c7bbe493 61 differ from those listed here.
malavikasaji 0:83a0c7bbe493 62 - Neither the name of Analog Devices, Inc. nor the names of its contributors
malavikasaji 0:83a0c7bbe493 63 may be used to endorse or promote products derived from this software without
malavikasaji 0:83a0c7bbe493 64 specific prior written permission.
malavikasaji 0:83a0c7bbe493 65 - The use of this software may or may not infringe the patent rights of one or
malavikasaji 0:83a0c7bbe493 66 more patent holders. This license does not release you from the requirement
malavikasaji 0:83a0c7bbe493 67 that you obtain separate licenses from these patent holders to use this software.
malavikasaji 0:83a0c7bbe493 68
malavikasaji 0:83a0c7bbe493 69 THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. AND CONTRIBUTORS "AS IS" AND
malavikasaji 0:83a0c7bbe493 70 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT,
malavikasaji 0:83a0c7bbe493 71 TITLE, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
malavikasaji 0:83a0c7bbe493 72 NO EVENT SHALL ANALOG DEVICES, INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
malavikasaji 0:83a0c7bbe493 73 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, PUNITIVE OR CONSEQUENTIAL DAMAGES
malavikasaji 0:83a0c7bbe493 74 (INCLUDING, BUT NOT LIMITED TO, DAMAGES ARISING OUT OF CLAIMS OF INTELLECTUAL
malavikasaji 0:83a0c7bbe493 75 PROPERTY RIGHTS INFRINGEMENT; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
malavikasaji 0:83a0c7bbe493 76 OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
malavikasaji 0:83a0c7bbe493 77 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
malavikasaji 0:83a0c7bbe493 78 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
malavikasaji 0:83a0c7bbe493 79 EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
malavikasaji 0:83a0c7bbe493 80
malavikasaji 0:83a0c7bbe493 81 2019-01-10-7CBSD SLA