background image

Version 1.2 

Zynq

®

-7000 AP SoC / Analog Devices Intelligent Drives Kit II

 

      10 

 

 

 

 

Hardware Setup 

Follow these steps closely to connect and configure the hardware to run the design.

 

 

1. 

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

 

 

2.  Set the ZedBoard boot-mode jumpers to boot from the SD card: 

 

Figure 4 - Setting boot-mode jumpers to boot from the SD card

 

 
 

 

 
 
 
 
 
 

Summary of Contents for Zynq-7000 AP SoC

Page 1: ...Zynq 7000 AP SoC Analog Devices Intelligent Drives Kit II Getting Started Guide Version 1 2 ...

Page 2: ...ives Kit II 2 Revision History DATE VERSION REVISION 07 31 15 1 0 First release MB 08 10 15 1 1 Pointed to ADI wiki for SD card image archive 10 07 15 1 2 Updated broken references to figures Added instruction to use DHCP router for connecting to the internet ...

Page 3: ...ny portion may be reverse engineered disassembled decompiled sold donated shared leased assigned sublicensed or otherwise transferred by Customer The term of this License is in effect until terminated Customer may terminate this license at any time by destroying the Product and all copies of the Product Documentation 2 Changes Avnet may make changes to the Product or Product Documentation at any t...

Page 4: ...s Marks may be used only with the prior written permission of Avnet Inc 10 General The terms and conditions set forth in the License Agreement or at www em avnet com will apply notwithstanding any conflicting contrary or additional terms and conditions in any purchase order sales acknowledgement confirmation or other document If there is any conflict the terms of this License Agreement will control T...

Page 5: ...esign source code please visit the wiki page o http wiki analog com resources eval user guides ad fmcmotcon2 ebz What s Inside the Box Avnet ZedBoard 7020 baseboard o Zynq 7000 SoC XC7Z020 CLG484 1 o 512 MB DDR3 o 256 Mb Spansion Quad SPI Flash o Onboard USB JTAG Programming o 10 100 1000 Ethernet o USB OTG 2 0 and USB UART o FMC expansion low pin count o 12V power supply o Multiple display option...

Page 6: ...tage Brushless DC motor o Hall Sensors and 1250 CPR indexed encoder Ethernet HDMI and USB cables USB dongle male micro B to female standard A Xilinx Vivado Design Edition device locked to XC7Z020 Optional Analog Devices Dynamometer o Included with AES ZIDK2 ADI DYNO G o Provides a compact dynamically adjustable load system o Includes one drive motor directly coupled to one load motor generator o L...

Page 7: ...I4 Lite and AXI4 DMA channels Digital PWM signals are driven from the Zynq SoC to the MOSFET driver stage on the FMCMOTCON2 module in order to deliver power to the motor For each motor AD7403 Sigma Delta modulators sample two analog motor phase currents and each DC voltage bus returning serial digital bit streams to the Zynq SoC to be reconstructed with SINC3 low pass filters The rotor position ca...

Page 8: ...roller Implements the interface to the IP control blocks in the system A FIFO interface connected to a DMA controller allows the block to stream real time data to the application layer It implements a basic six point drive of the motor An ADC PACK block is used so that 1 2 4 or all channels can stream data at a time Speed Detector Implements the algorithm for converting Hall BEMF and Encoder signa...

Page 9: ...he SD Card labeled with Analog Devices logo into a laptop or PC 2 Open the folder named zynq zed adv7511 fmcmotcon2 3 Copy files BOOT BIN and devicetree dtb into the SD card root directory 4 Safely eject the SD card and insert into ZedBoard under FMC connector J1 Note the pre formatted image on the SD card may be 6 or more months old Therefore you will need to run an update script after the system...

Page 10: ...ect and configure the hardware to run the design 1 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 2 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: ...ress the Power Stage Reset once to clear the latch for the protection circuit 7 Connect the included USB dongle to the USB OTG port and then attach a USB mouse and keyboard through a USB hub not included 8 Provide internet connection by attaching the Ethernet cable to one of the ports on FMCMOTCON2 P11 or P13 and a networked router with DHCP This is required to download and install the latest desi...

Page 12: ... ADI Linux applications 3 Double click the ADI Update Boot desktop icon to automatically download the latest version of Zynq boot files 4 Restart the system using the Log Out desktop icon Note If these steps fail it may indicate that your office firewall has blocked access to the ADI wiki site In that case see the instructions at the end of this document for re imaging your SD card with the most r...

Page 13: ...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 Figure 8 Controlling the motors with IIO Oscilloscope 3 Check the Run box in the IIO Scope to start the motor spinning in open loop under control of the 6 step HDL code running in the Zynq PS NOTE If the motor does not start spinning verify that step 6 in Hardware Setu...

Page 14: ...re Stop button to begin sample acquisition Figure 9 ADI IIO Oscilloscope waveform viewer Dynamometer optional A compact dynamometer dyno may be purchased with the Zynq Intelligent Drives Kit II The dyno provides a test fixture to dynamically apply a load to the motor A 3 phase MOSFET bridge under command of an integrated digital controller adjusts the resistance seen at the phase leads of the load...

Page 15: ...log Devices Intelligent Drives Kit II 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 ...

Page 16: ...nown good state the directions below will restore the factory image These steps will overwrite the contents of the SD card so be certain that there is no existing data that needs to be retrieved from the SD card prior to following these steps The following directions were performed on a Windows 7 Professional machine but the commands should work in a similar manner with later versions of Windows 1...

Page 17: ...ing 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 diskpart Figure 13 Launching Microsoft DiskPart 5 Discover the disk number of the SD card device by using the list disk DiskPart command In this example the SD card device is enumerated as the Disk 1 device DISKPART list disk Figure ...

Page 18: ... select disk 1 7 List the partitions on the currently selected SD card using the list partition DiskPart command DISKPART list partition Figure 15 Listing the Partitions on the Selected SD Card 8 Remove the partitions from the currently selected SD card using the clean DiskPart command DISKPART clean 9 Exit the DiskPart tool DISKPART exit 10 Extract the image contents of the archive obtained from ...

Page 19: ...y take a few minutes 14 Click the Write button to begin writing the source image file contents to the SD card The SD imaging process can take around 20 to 30 minutes to complete the 8GB transfer 15 Use Windows safely remove to eject the SD card Figure 17 Windows safely remove to eject the SD card This concludes the procedure of re imaging the SD card Return to the beginning of this document for in...

Page 20: ...Xilinx Vivado Design Edition is installed on your computer A voucher for licensing the Xilinx software is included with this kit For technical support including the installation and use of a product license file contact Xilinx Online Technical Support at http www support xilinx com Download Zynq embedded system source files for this Getting Started demonstration design as a starting point for your...

Page 21: ...ing a group of Avnet Inc Avnet Inc disclaims any proprietary interest or right in any trademarks service marks logos domain names company names brands product names or other form of intellectual property other than its own AVNET and the AV logo are registered trademarks of Avnet Inc ...

Reviews: