Sign In
Upload
Manuals
Brands
ARTERY Manuals
Microcontrollers
AT32
ARTERY AT32 Manuals
Manuals and User Guides for ARTERY AT32. We have
3
ARTERY AT32 manuals available for free PDF download: Quick Start Manual, User Manual, Application Note
ARTERY AT32 Quick Start Manual (76 pages)
MCU TMR
Brand:
ARTERY
| Category:
Microcontrollers
| Size: 1 MB
Table of Contents
Table of Contents
2
AT32 MCU TMR Overview
8
Table 1. TMR Functional Comparison
8
Example 1: TMR Overflow Interrupt
10
Function Overview
10
Resources
10
Software Design
10
Figure 1. Block Diagram of TMR Clock Source
10
Test Result
12
Example 2: PWM Output
13
Function Overview
13
Resources
13
Figure 2. Advanced Timer Output Stage (Channel 1 to 3)
13
Figure 3. Advanced Timer Output Stage (Channel 4)
13
Software Design
14
Test Result
16
Figure 4. PWM Outputs (7 Channels)
17
Example 3: PWM Input Capture
18
Function Overview
18
Figure 5. Example of PWM Input Mode Configuration
18
Figure 6. Example of PWM Input Mode
18
Resources
19
Software Design
19
Test Result
21
Example 4: Input Capture
22
Function Overview
22
Resources
22
Software Design
22
Test Result
25
Example 5: DMA Transfer
26
Function Overview
26
Resources
26
Software Design
26
Test Result
29
Example 6: TMR Burst DMA Transfer
30
Function Overview
30
Resources
30
Software Design
30
Test Result
32
Example 7: Single Pulse Output
33
Function Overview
33
Resources
33
Software Design
33
Figure 7. Single Pulse Output Stage
33
Test Result
35
Figure 8. One-Pulse Output Result
35
Example 8: 32-Bit Timer
36
Function Overview
36
Resources
36
Software Design
36
Test Result
37
Figure 9. 32-Bit Timer Output Result
37
Example 9: TMR Synchronization
38
Function Overview
38
Figure 10. Example of Reset Mode
38
Figure 11. Example of Suspend Mode
38
Resources
39
Software Design
39
Figure 12. Example of Trigger Mode
39
Test Result
41
Example 10: TMR Synchronization - Suspend Mode
42
Function Overview
42
Resources
42
Software Design
42
Test Result
44
Example 11: TMR Cascading Synchronization
45
Function Overview
45
Resources
45
Software Design
45
Figure 13. Example of Timer Cascading Synchronization
45
Test Result
48
Example 12: Hall Sensor XOR
49
Function Overview
49
Resources
49
Software Design
49
Figure 14. Block Diagram of XOR Function
49
Test Result
52
Example 13: Complementary Output with Dead-Time Insertion
53
Function Overview
53
Resources
53
Figure 15. Complementary Output with Dead-Time Insertion
53
Software Design
54
Test Result
56
Example 14: 6-Step Square-Wave Commutation
57
Function Overview
57
Resources
57
Software Design
57
Table 2. Commutation Process
57
Figure 16. 6-Step Square-Wave Signal Flow Chart
57
Test Result
60
Example 15: Encoder Input
61
Function Overview
61
Table 3. Counting Direction Versus Encoder Signals
61
Figure 17. Block Diagram of Encoder Interface
61
Resources
62
Software Design
62
Test Result
64
Example 16: External Clock Mode a
65
Function Overview
65
Resources
65
Software Design
65
Figure 18. TMR Clock Source
65
Test Result
68
Example 17: Output Compare - Cxoraw Outputs High/Low
69
Function Overview
69
Resources
69
Software Design
69
Figure 19. Block Diagram of Output Compare
69
Test Result
71
Example 18: Output Compare - Cxoraw Toggles
72
Function Overview
72
Resources
72
Software Design
72
Figure 20. Block Diagram of Output Compare
72
Test Result
74
Revision History
75
Table 4. Document Revision History
75
Advertisement
ARTERY AT32 Application Note (26 pages)
Brand:
ARTERY
| Category:
Microcontrollers
| Size: 1 MB
Table of Contents
Table of Contents
2
1 Overview
6
Table 1. at Mcus Printf Function Use Methods
6
2 Detailed Information
7
Printf Via Terminal I/O in IAR
7
Introduction
7
Example Code
7
Environment and Hardware
7
Software
7
Debug and Download
7
Table 2. Hardware Connection Table--(Without JTDO)
7
Figure 1. Virtual Terminal Window Path
8
Figure 2. Virtual Terminal Interaction Window
8
Redirect Printf as Serial Ports in IAR
9
Introduction
9
Example Code
9
Environment and Hardware
9
Table 3. Hardware Connection Table -- (Without JTDO)
9
Table 4. Hardware Connection Table--(USART)
9
Software
10
Debug and Download
10
Figure 3. Serial Port Debugging Assistant Window
10
Printf Via Debug (Printf) Viewer in Keil
11
Introduction
11
Example Code
11
Environment and Hardware
11
Software
11
Table 5. Hardware Connection Table--(with JTDO)
11
Debug and Download
12
Figure 4. Keil Virtual Terminal Window Path
12
Figure 5. Keil Virtual Terminal Interaction Window
13
Redirect Printf as Serial Ports in Keil (Using Microlib)
14
Introduction
14
Example Code
14
Environment and Hardware
14
Table 6. Hardware Connection Table--(Without JTDO)
14
Table 7. Hardware Connection Table -- (USART)
14
Software
15
Debug and Download
15
Figure 6. Microlib Settings
15
Figure 7. Serial Port Interaction Window
16
Redirect Printf as Serial Ports in Keil (Not Use Microlib)
17
Introduction
17
Example Code
17
Environment and Hardware
17
Table 8. Hardware Connection Table -- (Without JTDO)
17
Table 9. Hardware Connection Table--(USART)
17
Software
18
Figure 8. Microlib Settings
18
Debug and Download
19
Figure 9. Serial Port Interaction Window
19
Printf Via Jlinkrtt
20
Introduction
20
Example Code
20
Environment and Hardware
20
Software
20
Table 10. Hardware Connection Table -- (Without JTDO)
20
Debug and Download
21
Figure 10. Code Debug
21
Figure 11. Jlinkrttclient Window Output Information
22
Figure 12. Jlinkrttviewer Window
22
Figure 13. Device Selection Window
23
Figure 14. Jlinkrttviewer Window Output Information
23
3 Notes
24
4 Revision History
25
Table 11. Document Revision History
25
ARTERY AT32 User Manual (27 pages)
Brand:
ARTERY
| Category:
Tool Storage
| Size: 1 MB
Table of Contents
Table of Contents
2
Introduction
5
Environmental Requirements
5
Installation
6
Set up AT32 Work Bench on Windows
6
Set up AT32 Work Bench on Linux
6
Figure 1. Dpkg Command in Linux
6
Figure 2. Graphical Installation
6
Getting Started
7
Figure 3. Getting Started Page
7
Project Configuration
8
Menu Bar and Toolbar
8
Menu Bar
8
Figure 4. Project Configuration
8
Figure 5. Menu Bar and Toolbar
8
Toolbar
9
Pin out Configuration
9
Peripherals
9
Table 1. Peripheral Status
9
Mode and Configuration
10
Figure 6. Peripheral Mode and Configuration
10
Figure 7. USART1 Mode and Configuration
10
Table 2. Status of Mode and Parameters
11
Figure 8. Mode Error Prompt
11
Figure 9. Parameters Settings
11
Figure 10. GPIO Settings
12
Figure 11. DMA Settings
12
Figure 12. NVIC Settings
12
Pin Layout
13
Figure 13. PIN Layout
13
Table 3. Status of Pins
14
Figure 14. Pin Configuration Menu
14
GPIO Mode and Configuration
15
Figure 15. Custom Label
15
Figure 16. GPIO Mode and Configuration
15
DMA Mode and Configuration
16
Figure 17. DMA Mode and Configuration
16
NVIC Mode and Configuration
17
Figure 18. NVIC Mode and Configuration
17
Clock Configuration
19
Figure 19. Clock Configuration
19
Code View
20
Figure 20. Code View
20
Generate Code
21
Project Manager
21
Figure 21. Project Manager
21
Figure 22. Project File Directory
22
Figure 23. MDK_V5 Project Files
22
Keep User Code When Re-Generating
23
Package Manager
24
Figure 24. Package Manager Window
24
Revision History
26
Table 4. Document Revision History
26
Advertisement
Advertisement
Related Products
ARTERY AT32F403 Series
ARTERY AT32F421 Series
ARTERY AT32F413 Series
ARTERY AT32F415 Series
ARTERY AT32F403A Series
ARTERY AT32F407 Series
ARTERY AT32F421 GPIO
ARTERY AT32F415RCT7
ARTERY AT32F415RCT7-7
ARTERY AT32F415CCT7
ARTERY Categories
Computer Hardware
Microcontrollers
Motherboard
Recording Equipment
Tool Storage
More ARTERY Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL