Example program for EVAL-CN0535-FMCZ

Dependencies:   platform_drivers AD77681

Committer:
jngarlitos
Date:
Mon Mar 15 07:12:29 2021 +0000
Revision:
1:f3b5e79a8488
Parent:
0:ae894be1131f
Initial Commit for EVAL-CN0535-FMCZ Program Files

Who changed what in which revision?

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