ADE1202 Example proegram using ADE120x library files

Dependencies:   ADE120x

Committer:
malavikasaji
Date:
Mon Jul 29 16:39:40 2019 +0000
Revision:
0:4b7ec1ec0c7a
Child:
2:2ebdd709cec0
Repository Created

Who changed what in which revision?

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