4984 views|18 replies

1452

Posts

1

Resources
The OP
 

【AT32F421 Review】+ Introduction and Development Environment Construction [Copy link]

 
 This post was last edited by jinglixixi on 2021-4-4 17:36

1. First acquaintance

The long-awaited AT32F421 development board arrived as promised. The transparent outer packaging is still the same as before. The development board is removed as shown in Figure 1.

Figure 1 AT32F421 development board

After finding a USB cable and connecting the development board to the computer, in addition to the power indicator light on the board being lit, the demo's running light effect begins to appear. If the USER key is pressed, the frequency of the running light changes once. The effect is shown in Figure 2.

Figure 2 Demonstration effect

At this point, if you open the computer's resource manager, you can see that a new virtual serial port has been added, as shown in Figure 3.

Figure 3 Virtual serial port

2. Development environment construction

After decompressing AT32F4xx_StdPeriph_Lib_V1.2.9, you can find the AT_START_F421 directory and its subdirectory Examples, where corresponding routines are stored for study and testing.

The development tool I am accustomed to using is MDK, and its version is V5.30.

After installing the following two accessories, you can see AT32F421 in the list of supported chips, as shown in Figure 4.

Figure 4 Adding chip support

To facilitate debugging and downloading of programs, the debugger should be set up as shown in Figure 5. If the development board is powered on at this time, you can see that the debugger is activated, as shown in Figure 6.

Figure 5 Select debugger

Figure 6 Activating the debugger

To download the program, the download algorithm should be selected as shown in Figure 7.

Figure 7 Selecting the download algorithm

3. Development environment testing

Taking the routine LED_Toggle as an example, the result after compilation is shown in Figure 9.

Figure 8 Compilation completed

After downloading the program, you can see the demonstration effect of the running light. Different from the factory demo, the running light effect is not controlled by the USER key to change the flashing frequency.

Figure 9 Download completed

After completing the construction of the development environment, we can design and debug the program according to our needs.

4. Development board peripherals

Since the development board has relatively few peripheral resources, the schematic diagram of its peripherals is shown in Figure 10. We can use these simple peripherals to master the use of the GPIO port.

Figure 10 Peripheral schematic diagram

This post is from Domestic Chip Exchange

Latest reply

Thanks for sharing and support! I was not familiar with Keil and was misled by different versions.   Details Published on 2021-4-22 09:19
 
 

2w

Posts

341

Resources
2
 

Looking forward to continue sharing

If this development board does not have many peripheral resources, it can be made smaller, and the PCB space is larger.

This post is from Domestic Chip Exchange

Comments

You are right. That is true.  Details Published on 2021-4-8 23:50
You are right. That is true.  Details Published on 2021-4-6 10:01
 
 
 

1452

Posts

1

Resources
3
 
qwqwqw2088 posted on 2021-4-5 21:30 I look forward to continuing to share this development board. If there are not many peripheral resources, it can be smaller, and the PCB space is relatively large

You are right. That is true.

This post is from Domestic Chip Exchange
 
 
 

1w

Posts

204

Resources
4
 

You can compare it with other boards.

This post is from Domestic Chip Exchange
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle

Comments

Okay, let's get ready and see.  Details Published on 2021-4-6 18:32
Personal signature

玩板看这里:

http://en.eeworld.com/bbs/elecplay.html

EEWorld测评频道众多好板等你来玩,还可以来频道许愿树许愿说说你想要玩的板子,我们都在努力为大家实现!

 
 
 

6547

Posts

0

Resources
5
 

Figure 10 What software is used to draw the peripheral schematic diagram? How to set the color of the library?

This post is from Domestic Chip Exchange

Comments

I really don't know, I haven't drawn a board myself for a long time. I just got a permanent license for a PCB design tool some time ago, but I haven't had time to test it yet.  Details Published on 2021-4-6 18:31
 
 
 

1452

Posts

1

Resources
6
 
Jacktang posted on 2021-4-6 17:37 Figure 10 What software is used to draw the peripheral schematic diagram? How to set the color of the library?

I really don't know, I haven't drawn a board myself for a long time. I just got a permanent license for a PCB design tool some time ago, but I haven't had time to test it yet.

This post is from Domestic Chip Exchange
 
 
 

1452

Posts

1

Resources
7
 
okhxyyo posted on 2021-4-6 16:26 You can compare it with other boards.

Okay, let's get ready and see.

This post is from Domestic Chip Exchange
 
 
 

1022

Posts

0

Resources
8
 

Does this not support STM32 CUBE IDE software programming?

This post is from Domestic Chip Exchange

Comments

nmg
I haven't used it, I guess it won't work.  Details Published on 2021-4-14 16:47
I haven't used it, I guess it won't work.  Details Published on 2021-4-7 13:29
Personal signatureچوآن شـين
 
 
 

661

Posts

0

Resources
9
 

Thanks for sharing

This post is from Domestic Chip Exchange
 
 
 

1452

Posts

1

Resources
10
 
Gen_X posted on 2021-4-7 09:45 Does this not support STM32 CUBE IDE software programming?

I haven't used it, I guess it won't work.

This post is from Domestic Chip Exchange
 
 
 

58

Posts

0

Resources
11
 
qwqwqw2088 posted on 2021-4-5 21:30 I look forward to continuing to share this development board. If there are not many peripheral resources, it can be smaller, and the PCB space is relatively large

This is a small one that is compatible with the Arduino interface.

This post is from Domestic Chip Exchange
 
 
 

5213

Posts

239

Resources
12
 
Gen_X posted on 2021-4-7 09:45 Does this not support STM32 CUBE IDE software programming?

I asked Yatli official: Not supported

This post is from Domestic Chip Exchange
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
 
 
 

1022

Posts

0

Resources
13
 

Where can I find an empty project template for AT32F421?

This post is from Domestic Chip Exchange

Comments

Can I send you a light-up LED?  Details Published on 2021-4-16 20:55
Personal signatureچوآن شـين
 
 
 

1452

Posts

1

Resources
14
 
Gen_X posted on 2021-4-16 20:49 Where can I find an empty project template for AT32F421 for reference?

Can I send you a light-up LED?

This post is from Domestic Chip Exchange
 
 
 

7422

Posts

2

Resources
15
 

Thanks for sharing, looking forward to the follow-up!

This post is from Domestic Chip Exchange
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 
 

1452

Posts

1

Resources
16
 
freebsder posted on 2021-4-16 23:51 Thank you for sharing, looking forward to the follow-up!

This post is from Domestic Chip Exchange
 
 
 

1022

Posts

0

Resources
17
 

Can I send you the lighting routine?

This post is from Domestic Chip Exchange

Comments

Lighting routine  Details Published on 2021-4-20 12:56
Personal signatureچوآن شـين
 
 
 

1452

Posts

1

Resources
18
 
Gen_X posted on 2021-4-20 09:14 Can I send you the lighting routine?

Lighting routine

LED_Toggle.zip

1.85 MB, downloads: 6

This post is from Domestic Chip Exchange

Comments

Thanks for sharing and support! Because I am not familiar with Keil, I was misled by different versions.  Details Published on 2021-4-22 09:19
 
 
 

1022

Posts

0

Resources
19
 

Thanks for sharing and support!
I was not familiar with Keil and was misled by different versions.

This post is from Domestic Chip Exchange
Personal signatureچوآن شـين
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list