1794 views|7 replies

172

Posts

0

Resources
The OP
 

[Atlanta AT-START-F437 Review] -01- Unboxing and lighting [Copy link]

 This post was last edited by Shen Xiaolin on 2023-6-6 09:26

I'm a little embarrassed. I just received a call from EEword saying that my trial version was approved while I was on a business trip. I was on a business trip for 18 days and just returned to Chengdu yesterday. I'll do an unboxing here and make up for the evaluation report I owed before.

First, let’s take a photo and say hello to everyone.

The entire board has a USB interface, an Ethernet interface, an onboard DAP downloader, indicator lights and buttons, which are completely sufficient for general development, and the derived IO can be expanded to your full imagination.

You can take a look at this for the overall peripheral interface. I think I don’t have all of them, right?

Of course, you can also go to the official website to download the operating instructions of this board. For details, jump here: Operating Instructions Document

The above introduces the board, let’s light a lamp below, it’s simple.

(Added in the evening), I went to cook after work

I originally planned to work overtime at night, but I accidentally fell asleep... so I'll just update it today.

According to the schematic diagram, the pins of the LED are: PD13, PD14, PD15 as shown below

I started lighting the lamp directly. According to the original LED routine, I transplanted the project and configured the clock.


#include "at32f435_437_clock.h"
#include "DRV_Delay.h"


/*----------------
-- 初始化LED引脚--
*/
void LED_Init(void)
{
  gpio_init_type gpio_init_struct;
  crm_periph_clock_enable(CRM_GPIOD_PERIPH_CLOCK, TRUE );  /* enable the led clock */
  crm_periph_clock_enable(CRM_GPIOD_PERIPH_CLOCK, TRUE );
  gpio_default_para_init(&gpio_init_struct);/* set default parameter */
  gpio_init_struct.gpio_drive_strength = GPIO_DRIVE_STRENGTH_STRONGER;  /* configure the led gpio */
  gpio_init_struct.gpio_out_type  = GPIO_OUTPUT_PUSH_PULL;
  gpio_init_struct.gpio_mode = GPIO_MODE_OUTPUT;
  gpio_init_struct.gpio_pins =GPIO_PINS_13 |GPIO_PINS_14|GPIO_PINS_15;
  gpio_init_struct.gpio_pull = GPIO_PULL_NONE;
  gpio_init(GPIOD, &gpio_init_struct);
}


void LED_Flash(void)
{
	    //--点亮
	    gpio_bits_reset(GPIOD,GPIO_PINS_13);
		gpio_bits_reset(GPIOD,GPIO_PINS_14);
		gpio_bits_reset(GPIOD,GPIO_PINS_15);
		Delay_ms(100);
	    //--关闭
		gpio_bits_set(GPIOD,GPIO_PINS_13);
		gpio_bits_set(GPIOD,GPIO_PINS_14);
		gpio_bits_set(GPIOD,GPIO_PINS_15);
		Delay_ms(100);

	
	    //--点亮
	    gpio_bits_reset(GPIOD,GPIO_PINS_13);
		gpio_bits_reset(GPIOD,GPIO_PINS_14);
		gpio_bits_reset(GPIOD,GPIO_PINS_15);
		Delay_ms(400);
	    //--关闭
		gpio_bits_set(GPIOD,GPIO_PINS_13);
		gpio_bits_set(GPIOD,GPIO_PINS_14);
		gpio_bits_set(GPIOD,GPIO_PINS_15);
		Delay_ms(400);
}

int main(void)
{
	system_clock_config();
	Delay_init();
	LED_Init();
	while(1)
	{
		LED_Flash();
	}
}

This directly realizes the three lights flashing quickly for 100ms and slowly flashing for 400ms, a total of 1s. Let's take a look at the effect. I wonder if it is possible to upload the video.

d57227c4f867de83e3911d6772700995

This post is from Domestic Chip Exchange

Latest reply

Excellent unboxing post.  Details Published on 2023-7-4 09:10
 
 

266

Posts

0

Resources
2
 

The host is a good man. He cooks for himself after get off work.

This post is from Domestic Chip Exchange

Comments

The best thing to do is to taste it yourself  Details Published on 2023-6-7 08:50
Personal signature

gitee/casy

 
 
 

6052

Posts

6

Resources
3
 
caizhiwei posted on 2023-6-6 13:39 The host is a good man. He even cooks for himself after get off work.

The best thing to do is to taste it yourself

This post is from Domestic Chip Exchange
Personal signature

在爱好的道路上不断前进,在生活的迷雾中播撒光引

 
 
 

6840

Posts

11

Resources
4
 
The unboxing is very exciting. The article is professional and is a good example for us to learn from!
This post is from Domestic Chip Exchange

Comments

Moderator, you are the boss, I am just here to do some paddling, hahaha  Details Published on 2023-6-9 08:55
 
 
 

172

Posts

0

Resources
5
 
lugl4313820 posted on 2023-6-8 16:02 The unboxing is very exciting, the article is professional, and it is a good example for us to learn from!

Moderator, you are the boss, I am just here to do some paddling, hahaha

This post is from Domestic Chip Exchange

Comments

Don't be so modest. I saw you next door. You always sign in with full attendance and your hands must be cramped from receiving so many awards.  Details Published on 2023-6-9 09:59
 
 
 

6840

Posts

11

Resources
6
 
Shen Xiaolin posted on 2023-6-9 08:55 Moderator, you are the boss, I am just here to do some paddling, hahahaha

Don't be so modest. I saw you next door. You always sign in with full attendance and must have received so many awards that your hands are cramping.

This post is from Domestic Chip Exchange

Comments

Only two months, that is the CH307 board, I want one, hahaha  Details Published on 2023-6-12 12:14
 
 
 

172

Posts

0

Resources
7
 
lugl4313820 posted on 2023-6-9 09:59 Don't be modest, I saw you next door, you always sign in with full attendance, you must have won so many awards that your hands are cramped.

Only two months, that is the CH307 board, I want one, hahaha

This post is from Domestic Chip Exchange
 
 
 

6840

Posts

11

Resources
8
 
Excellent unboxing post.
This post is from Domestic Chip Exchange
 
 
 

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