Revision History DATE VERSION REVISION 07/31/15 First release \ MB 08/10/15 Pointed to ADI wiki for SD card image archive Updated broken references to figures. Added instruction to use 10/07/15 DHCP router for connecting to the internet. ® Version 1.2 Zynq -7000 AP SoC / Analog Devices Intelligent Drives Kit II...
Product using the same semiconductor supplier product or product family as used in the Product; and (c) make, use and sell the Product in a single production unit. No other rights are granted and Avnet and any other Product licensor reserves all rights not specifically granted in this License Agreement.
Page 4
Avnet disclaims any proprietary interest in Marks other than its own. Avnet and AV design logos are registered trademarks and service marks of Avnet, Inc. Avnet’s Marks may be used only with the prior written permission of Avnet, Inc.
-7000 AP SoC / Analog Devices Intelligent Drives Kit II is a flexible platform for high performance motor control and industrial networking development. The kit is based on the Avnet ZedBoard™ using the Xilinx Zynq-7000 All Programmable SoC. The kit features the Analog Devices AD-FMCMOTCON2-EBZ FMC high performance servo...
Page 6
FAT32 partition: bootloader, devicetree blob and kernel image for system boot to UBUNTU Linux EXT4 partition Linaro Ubuntu ARM root file system, Analog Devices IIO Oscilloscope 24V power supply for FMC module motor drive stage Brushless DC motor Hall Sensors and 1250 CPR indexed encoder ...
Page 7
GETTING STARTED WITH ZYNQ INTELLIGENT DRIVES KIT II The Zynq-7000 AP SoC / Analog Devices Intelligent Drives Kit II (ZIDK-II) comes with a ‘Getting Started’ motor control demonstration design flashed onto the 8GB SD card, which enables a single-board computer on the Avnet ZedBoard running UBUNTU desktop Linux.
Page 8
Figure 1 - Zynq Intelligent Drives Kit II Reference Design - Simplified Block Diagram Current Monitor - Implements the communication with the AD7403 sigma delta modulators on the AD- FMCMOTCON2-EBZ and also the SINC3 filters for demodulating the 1-bit digital stream provided by these parts. This HDL block exposes a set of registers that can be accessed through the AXI Lite interface.
Page 9
Demo Preparations The 8 GB SD card, labeled with Analog Devices logo, is factory-programmed with the Zynq firmware, Linux kernel image, user-space application software and file system for a stand- alone bootable system. There are several bootable Zynq designs on the SD card, so the first step is to copy the image for ZedBoard Motor Control into the boot directory.
Hardware Setup Follow these steps closely to connect and configure the hardware to run the design. IMPORTANT: Set the ZedBoard FMC IO voltage jumper to 2.5V to avoid any damage to the AD- FMCMOTCON1-EBZ. Figure 3 - Setting ZedBoard FMC IO Voltage to 2.5V Set the ZedBoard boot-mode jumpers to boot from the SD card: Figure 4 - Setting boot-mode jumpers to boot from the SD card ®...
Page 11
Assemble the kit as shown below: Figure 5 – Hardware Setup Connect the power sources as shown 12V DC plugs into ZedBoard 24V DC plugs into FMCMOTCON1 module (P4) optional: 5V DC plugs into the Dynamometer (P3 under the metal bezel) Connect an HDMI cable to ZedBoard and a monitor with at least 720p resolution.
The SD card contains a FAT32 partition with multiple boot files for different Zynq target platforms. The SD card also contains an ext4 partition containing the persistent Linux file system. Both partitions will be updated in the following steps. Figure 6 – Linux & Zynq Boot update application icons Wait ~45 seconds for Linux to boot and display on your monitor.
Page 13
Figure 7 – Linux Desktop with ADI IIO Oscilloscope In the ADI IIO Oscilloscope window select the Motor Control tab. If the included BLY171 or BLY172 motor is connected, be sure to check the box for a Delta wound motor. Note: in this example, only one motor will be driven however 2 motors may be controlled with this design.
Page 14
Control the PWM rate delivered to the motor by using the up/down arrows or entering a % value in the box. In the ADI IIO Oscilloscope – Capture 1 window select the voltage samples to display. ad-mc-adc voltage 0 Not used voltage 1 motor 1, phase current IA voltage 2...
Page 15
Figure 10 - Dyno2 Image and System Diagram In order interface the Dyno with external control signals: Slide switch S2 to EXT_CTRL position Connect to the P1 header pins Figure 11 - Dyno2 Connections ® Version 1.2 Zynq -7000 AP SoC / Analog Devices Intelligent Drives Kit II...
Page 16
Phase C PWM (3.3V levels) Congratulations You have now run the Getting Started demonstration with the Zynq-7000 AP SoC / Analog Devices Intelligent Drives Kit II. Using this fully functional framework with embedded LINUX, you may now develop your motor control applications.
Page 17
Figure 12 - Opening the Windows Command Prompt with Administrator Privileges If multiple partitions exist on the SD card, each of the partitions should be removed using the diskpart utility. This will enable the entire SD card block range to be utilized for writing the image. Launch the diskpart tool from the Windows Command Prompt.
Page 18
Select the disk listing that matches the SD card device using the select disk DiskPart command. In this example, the SD card device is enumerated as the Disk 1 device. If the SD card is listed as a different disk on your system, be sure to substitute the appropriate value here.
Page 19
C:/work/ 2014_R2-2015_04_24.img Figure 16 - Source Image File Selected 13. (Optional) Verify the integrity of the extracted image file using the Win32 Disk Imager MD5 Hash tool by clicking on the checkbox option. The checksum calculation may take a few minutes. 14.
Page 20
To access the most current collateral for the Zynq-7000 SoC / Analog Devices Intelligent Drives Kit II please visit the product website: http://zedboard.org/product/zynq-idk-ii http://www.em.avnet.com/zynq-idk-ii To access the Avnet Technical Community Forums, please visit the following web page: http://www.zedboard.org/support Analog Devices AD-FMCMOTCON2-EBZ high-speed analog module user guide and wiki: http://wiki.analog.com/resources/eval/user-guides/ad-fmcmotcon2-ebz...
Need help?
Do you have a question about the Zynq-7000 AP SoC and is the answer not in the manual?
Questions and answers