Sign In
Upload
Manuals
Brands
Cypress Manuals
Microcontrollers
SPANSION FM4 MB9BF568 Series
Cypress SPANSION FM4 MB9BF568 Series Manuals
Manuals and User Guides for Cypress SPANSION FM4 MB9BF568 Series. We have
1
Cypress SPANSION FM4 MB9BF568 Series manual available for free PDF download: User Manual
Cypress SPANSION FM4 MB9BF568 Series User Manual (29 pages)
PMSM Servo Motor Speed Control 32-bit ARM Cortex-M4F based Microcontroller
Brand:
Cypress
| Category:
Microcontrollers
| Size: 1 MB
Table of Contents
Table of Contents
3
1 Introduction
5
Purpose
5
Definitions, Acronyms and Abbreviations
5
Document Overview
5
2 System Hardware Environment
6
3 Development Environment
7
Table 3-1: MCU Development Environment
7
4 System Firmware Design
8
FW Feature
8
FW Structure
8
Table 4-1: Feature List of Servo Motor Speed Control
8
Figure 4-1: Structure of FW
9
Table 4-2: Directory Description of Project
9
Figure 4-2: Sub-Files in each Layer
10
Files Description
11
Figure 4-3: Servo Motor FW Architecture
11
Table 4-3: File Description of Project
11
FW Control Flow
12
Figure 4-4: Diagram of the Control Flow
12
5 Interrupt Function
13
Function List
13
Interrupt Priority Setting
13
Figure 5-1: Interrupt Priority Setting
13
Table 5-1: System Used Interrupt Function
13
Interrupt Generation
14
Mft
14
Encoder Capture
14
Figure 5-2: Free Run Timer Interrupt
14
Figure 5-3: Encoder Capture with Base-Timer
14
Dtti
15
Figure 5-4: DTTI Interrupt
15
6 Demo System
16
Demo System Introduction
16
Figure 6-1: System Connection
16
Figure 6-2: Encoder Signal Line Connection
17
Figure 6-3: Motor Line Connection
17
Hardware Connection
17
Table 6-1: Encoder Connection
17
Motor Debug
18
Figure 6-4: JTAG Line Connection
18
Figure 6-5: AC Plug
18
Figure 6-6: Open the Workspace
19
Figure 6-7: Interface File Diagram
19
FW Interface Configuration
19
Table 6-2: Sample Resistor, Amplification, Carrier Frequency and Dead-Time
20
Table 6-3: Current PID and Speed PID
20
Table 6-4: Motor Startup Parameters
21
Table 6-5: Motor Close-Loop Parameters
21
Encoder Check
22
Figure 6-8: Macro Define for Encoder
22
Table 6-6: Protection Parameters
22
Table 6-7: Brake Enable or Disable Flag
22
Run Motor
23
Table 6-8: Global Structure for Encoder Check
23
Figure 6-10:Motor Run by J-Link
24
Figure 6-11: Motor in Running Status
24
Figure 6-9: Download and Debug by J-Link
24
Speed Acceleration and Deceleration
25
Troubleshooting
25
Protection
25
Table 6-9: Running Status by the Command Speed
25
7 Additional Information
26
8 Reference Documents
27
Advertisement
Advertisement
Related Products
Cypress FM4 S6E2H Series
Cypress FM4-120L-S6E2HG
Cypress FM4-U120-9B560
Cypress FM4-U120-9B560-MEM
Cypress FM4 Series
Cypress SPANSION FM4 S6E2HG Series
Cypress FM0+ S6E1C-Series
CYPRESS FM3 Series
Cypress FM3 MB9B500A Series
Cypress FM3 MB9B400A Series
Cypress Categories
Microcontrollers
Motherboard
Media Converter
Computer Hardware
Switch
More Cypress Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL