5826 views|3 replies

1366

Posts

6

Resources
The OP
 

GD32F350---Experience 2, fix the code and restart it to fail [Copy link]

I worked overtime a little late at night, and I was still worried about this code when I came back, so I still looked for the reason. It should have been solved. Maybe I was too confident in the new project, which led to my own mistakes. I don’t know the specific reason now. Later, I solved it by selecting the startup file in the magic wand of MDK. At first, I suspected that the backup function of the serial port was wrong. I shouldn’t choose GPIO_AF_1, because I saw on the interface that I was using serial port 1. According to the interface comments, it is also correct to choose GPIO_AF_4, but in fact it is wrong. From the datesheet of the F350xx series, it can be seen that the corresponding PA2 and PA3 do not have the backup function of AF4, so I can’t find the north again. Later I changed it to the original backup function, and selected the corresponding startup file in the MDK magic wand, and it really worked. The serial port had a log, and the light was running.




MySunDevice.zip

4.26 MB, downloads: 28

This post is from GD32 MCU

Latest reply

Recently, I have been learning about photovoltaic trackers. At present, tracking controllers are widely used in the fields of solar thermal and photovoltaics. The photovoltaic industry mainly has dual-axis trackers and single-axis trackers. From the perspective of industry development, single-axis trackers are already widely used, and the market is also gradually expanding. At the same time, due to the emergence of double-sided photovoltaic modules, the combination of the two significantly improves the photovoltaic power generation and increases investment returns.   Details Published on 2019-7-24 13:30
Personal signature

1084534438 欢迎交流  [加油,一切皆有可能]

 

7171

Posts

195

Resources
2
 
RC is awesome. I'm not going to create a new project. I'm just going to modify PS on Chengcheng. Wasn't the problem before that the program couldn't run after the simulation was powered off?   
This post is from GD32 MCU
 
 
 

158

Posts

0

Resources
3
 
I followed your instructions and used the MDK magic wand to select the corresponding startup file, compiled, and ran, but it still failed. I don't know why.
This post is from GD32 MCU
 
 
 

4

Posts

0

Resources
4
 

Recently, I have been learning about photovoltaic trackers. At present, tracking controllers are widely used in the fields of solar thermal and photovoltaics. The photovoltaic industry mainly has dual-axis trackers and single-axis trackers. From the perspective of industry development, single-axis trackers are already widely used, and the market is also gradually expanding. At the same time, due to the emergence of double-sided photovoltaic modules, the combination of the two significantly improves the photovoltaic power generation and increases investment returns.

This post is from GD32 MCU
 
 
 

Find a datasheet?

EEWorld Datasheet Technical Support

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