Date: 6.10.2017
See the EDDP-EDPS Support Forum at http://trenz.org/EDDPsupport , please.
Requirements:
- TEC0053 with a motor, connected to Arty-Z7-10 or Arty-Z7-20 board.
- Network connectivity, preferrably DHCP server.
- Micro-USB cable and serial terminal program.
- Web browser.
USB serial console parameters: baud rate 115200, 8 bits, no parity.
Steps to start motor:
- Copy files from SDSoC/SD_Card/arty_z7_10 to the SD card
- Modify init.sh and focserver.conf to suit your needs.
- Power up the Arty Z7 10 board and note the IP address (either DHCP logs or serial console). If there are no DHCP server answering, default of 192.168.42.123 will be used after 10 second timeout.
- Point a web browser to the IP address of the board. A FOC control panel appears.
- Click button "Motor" to start the motor.
- To enable live charts, enable checkbox "Live charts"
Directories are listed in alphabetical order.
Directory | Description |
---|---|
doc | Documentation in the PDF format |
focserver | Embedded linux code, consisting of Network API, Web server and User interface |
HLS/ARTY_Z7_FULL | HLS version of the Vivado FOC project. The Petalinux project is in os/petalinux |
HLS/design_hls | FOC IP cores implemented in Vivado HLS |
HLS/SD_Card/arty_z7_10 | HLS version boot files for Arty Z7 10 board |
HLS/SD_Card/arty_z7_20 | HLS version boot files for Arty Z7 20 board |
SDSoC/platforms/arty_z7_10_foc | SDSoC Hardware Platform project for Arty Z7 10 board |
SDSoC/platforms/arty_z7_20_foc | SDSoC Hardware Platform project for Arty Z7 20 board |
SDSoC/platforms/petalinux | Petalinux project for the SDSoC version FOC implementation |
SDSoC/SD_Card/arty_z7_10 | FOC SDSoC boot files for Arty Z7 10 board |
SDSoC/SD_Card/arty_z7_20 | FOC SDSoC boot files for Arty Z7 20 board |
SD_Card_Kit | Contents of the SD card accompanying the EDDP Kit |
ui | Web user interface source code |
- Some parameters can be changed only by changing the source code for the FOC Sample Application, most notably the encoder resolution and number of poles of the motor.
- The Petalinux project for the SDSoC version of the FOC implementation has to have the hardware definition file re-imported from the completed SDSoC Application Project when the hardware address for the FOC IP core changes.
- The embedded linux program "focserver" has to be modified accordingly and the Petalinux project has to be rebuilt after changing register layout in the FOC implementation.