FPGA / ARM / DSP Wishbone SoC


< WB+LINUX+USB+TCPIP+WEBServer >

 

 

 

 

Lab6 : TCP/IP Stepping Motor Control

 

 

 

 

Introduction

 

  

Lab.6本節有實驗所使用的FPGA ConfigurationWishbon3, ARM9 Linux Kernel, 應用ARM週邊模組的Ethernet Controller與Linux核心的 protocal stack與檔案系統, 進行以TCP/IP為基礎的Stepping Motor 步進馬達控制


實驗是像是於Lab.4(TCP/IP LED/DipSW控制) , 以Client/Server的形式, Client端發送命令要求, 設定Server端的Output, 在此例為步進馬達的目標角度(即相位)與轉動方向及速度, 並讀取Server端Input, 在此例為馬達轉前的角度相位


 

 

Design Codes

 

#include <stdio.h>

#include <stdlib.h>

#include <string.h>

#include <unistd.h>

#include <fcntl.h>

#include <errno.h>


 

文章標籤
全站熱搜
創作者介紹
創作者 zeppe 的頭像
zeppe

ZEPPE

zeppe 發表在 痞客邦 留言(0) 人氣(61)