资源简介
后来查看原理图,原来STLink V2有引脚与PA9 PA10连接。应该是USB转串口吧,因此,再把USB-TTL 接到PA9 PA10上,就会发生 两个TXD->TXD相互干扰的现象,因此不通!!我这里直接去掉连接的短接电阻,程序正常了。

代码片段和文件信息
/**
******************************************************************************
* @file system_stm32f4xx.c
* @author MCD Application Team
* @version V1.6.1
* @date 21-October-2015
* @brief CMSIS Cortex-M4 Device Peripheral Access layer System Source File.
* This file contains the system clock configuration for STM32F4xx devices.
*
* 1. This file provides two functions and one global variable to be called from
* user application:
* - SystemInit(): Setups the system clock (System clock source PLL Multiplier
* and Divider factors AHB/APBx prescalers and Flash settings)
* depending on the configuration made in the clock xls tool.
* This function is called at startup just after reset and
* before branch to main program. This call is made inside
* the “startup_stm32f4xx.s“ file.
*
* - SystemCoreClock variable: Contains the core clock (HCLK) it can be used
* by the user application to setup the SysTick
* timer or configure other parameters.
*
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
* be called whenever the core clock is changed
* during program execution.
*
* 2. After each device reset the HSI (16 MHz) is used as system clock source.
* Then SystemInit() function is called in “startup_stm32f4xx.s“ file to
* configure the system clock before to branch to main program.
*
* 3. If the system clock source selected by user fails to startup the SystemInit()
* function will do nothing and HSI still used as system clock source. User can
* add some code to deal with this issue inside the SetSysClock() function.
*
* 4. The default value of HSE crystal is set to 25MHz refer to “HSE_VALUE“ define
* in “stm32f4xx.h“ file. When HSE is used as system clock source directly or
* through PLL and you are using different crystal you have to adapt the HSE
* value to your own configuration.
*
* 5. This file configures the system clock as follows:
*=============================================================================
*=============================================================================
* Supported STM32F40xxx/41xxx devices
*-----------------------------------------------------------------------------
* System Clock source | PLL (HSE)
*-----------------------------------------------------------------------------
* SYSCLK(Hz) | 168000000
*-----------------------------------------------------------------------------
* HCLK(Hz)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-05-22 16:20 CMSIS\
目录 0 2016-05-22 16:20 CMSIS\DSP_Lib\
目录 0 2016-05-22 16:20 CMSIS\DSP_Lib\Source\
目录 0 2016-05-22 16:20 CMSIS\DSP_Lib\Source\BasicMathFunctions\
文件 5113 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_f32.c
文件 5457 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_q15.c
文件 4430 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_q31.c
文件 5091 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_abs_q7.c
文件 4890 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_f32.c
文件 4422 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_q15.c
文件 4552 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_q31.c
文件 4225 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_add_q7.c
文件 4612 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_f32.c
文件 4911 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_q15.c
文件 4999 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_q31.c
文件 5407 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_dot_prod_q7.c
文件 5581 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_mult_f32.c
文件 5303 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_mult_q15.c
文件 5200 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_mult_q31.c
文件 4529 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_mult_q7.c
文件 4573 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_negate_f32.c
文件 4620 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_negate_q15.c
文件 4177 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_negate_q31.c
文件 4103 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_negate_q7.c
文件 5094 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_offset_f32.c
文件 4533 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_offset_q15.c
文件 4424 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_offset_q31.c
文件 4461 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_offset_q7.c
文件 5647 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_scale_f32.c
文件 5504 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_scale_q15.c
文件 7053 2015-10-01 01:14 CMSIS\DSP_Lib\Source\BasicMathFunctions\arm_scale_q31.c
............此处省略396个文件信息
相关资源
- STM32F103 USART+DMA
- STM32F429内部FLASH读写程序
- stm32F429中文数据手册279362
- STM32F429DISCOVERY外接SD卡使用SDIO4BIT方式
- FreeModbus_For_STM32_USART1_RS485移植分享
- stm32f429discovery的USB_HID移植
- stm32F429多通道ADC+串口30
- 激光测距模块简易测量(STM32F429).
- STM32L051C8T6_USART1.zip
- stm32f429+FATFS+SD卡项目模版
- STM32F429ZITG6驱动OV2640串口图像助手显示
- STM32F429操作两片AD7689
- STM32F429内部FLASH读写保护测试程序
- stm32f429I核心板
- 基于ARM STM32F429的红外遥控贪吃蛇游戏
- STM32F429中文数据手册
- 移植MPU9250_DMP原代码到STM32F429
- STM32F429 USB HID
- STM32F429 485实验源码(hal库)
- STM32F427xx/STM32F429xx
- STM32F429IGT6开发版原理图及器件封装
- stm32f429核心板PCB
- STM32F429 库函数手册
- stmf429开发板基础例程序
- STM32F429驱动迪文串口屏程序
- 基于STM32F429的语音识别交互系统
- USART6_DMA_NVIC.zip
- STM32F103RCT6_USART1串口通信代码
- stm32F429的ADC采样的傅里叶变换
- 野火STM32F4开发板适配TouchGFX
评论
共有 条评论