资 源 简 介
】本文介绍了一个使用单片机和CPLD联合控制步进电机的方案。首先阐明步进电机的工作原理及控制方法,然后
提出了系统的软硬件设计框架,详细讨论了单片机和CPLD的逻辑接口问题和交换数据的协议,以及用状态机来设计脉冲分配器
的方法。-This paper describes a combined use of SCM and CPLD stepper motor control program. First of all, to clarify the working principle of stepper motor and control method, and then put forward a system of hardware and software design framework for a detailed discussion of the MCU and CPLD logic interface issues and data exchange agreements, as well as the use of state machine design Pulse Distributor methods.