Micheál Lambe
/
EVAL-ADE120x
ADE1202 Example proegram using ADE120x library files
Diff: README.txt
- Revision:
- 2:2ebdd709cec0
- Parent:
- 0:4b7ec1ec0c7a
- Child:
- 5:975c3cbc8b55
diff -r cff2074f52d5 -r 2ebdd709cec0 README.txt --- a/README.txt Mon Jul 29 23:59:40 2019 +0000 +++ b/README.txt Thu Oct 03 15:06:13 2019 +0000 @@ -1,36 +1,40 @@ Evaluation Boards/Products Supported ------------------------------------ -EVAL-AD1234 (AD1234) -EVAL-AD1256 (AD1256) -<< add more here >> +EVAL-AD1202EBZ (ADE1202) + Overview -------- -These code files provide drivers to interface with AD1234 and communicate with -EVAL-AD1234 board. This code was developed and tested on SDP-K1 controller board +These code files provide drivers to interface with ADE1202 and communicate with +EVAL-ADE1202EBZ evaluation boards. This code was developed and tested on SDP-K1 controller board https://os.mbed.com/platforms/SDP_K1/. -Product details: https://www.analog.com/en/products/ad1234.html -Eval board details: https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/EVAL-AD1234.html +Product details: https://www.analog.com/en/products/ad1202.html + +Eval board details: https://wiki.analog.com/resources/eval/user-guides/ade120x Hardware Setup -------------- -Required: SDP-K1, EVAL-AD1234, USB cable, 12 V power supply, 60 MHz external -clock supply. -Plug in the EVAL-AD124 board on SDP-K1 board (or any other Mbed enabled -controller board) using the SDP connector and screws. +Required: SDP-K1, EVAL-ADE1202, USB cable + +Plug in the EVAL-AD1201EBZ board to SDP-K1 board using the SDP connector Connect SDP-K1 board to the PC using the USB cable. +Code Explanation +------------------ +The example program configures device U0 on EVAL-ADE1202EBZ. DOUT1 and DOUT2 +are connected to interrupt pins on the SDP-K1. The UART interfeace transmit data +back to the PC. How to Get Started ------------------ Open Mbed online compiler. https://ide.mbed.com/compiler -Import Code into compiler from here: https://os.mbed.com/teams/AnalogDevices/code/EVAL-AD1234/ +Import Code into compiler from here: https://os.mbed.com/teams/AnalogDevices/code/EVAL-AD1201/ instructions on how to import code are here: https://os.mbed.com/docs/mbed-os/v5.12/tools/importing-code.html Compile code. Drag and drop binary into SDP-K1 controller board. instructions here: https://os.mbed.com/docs/mbed-os/v5.12/tools/getting-your-program-on-your-board.html -Open Tera Term, select 9600 baud rate, and the applicable COM port to see the +Open Tera Term, select 230400 baud rate, and the applicable COM port to see the list of options. A detailed user guide on how to use SDP-K1 board on Mbed platform is available