|
點擊 |
回復 |
標題 |
作者 |
最後回復 |
|
1150 |
13 |
|
巨大八爪鱼 |
3-6 巨大八爪鱼 |
|
2681 |
9 |
|
巨大八爪鱼 |
11-21 12345678 |
|
727 |
0 |
关闭STM32 ST-LINK Utility,拔掉ST Link的USB线再插上,接着就可以升级了,每次插上USB线后只可以升级一次。 |
巨大八爪鱼 |
10-15 巨大八爪鱼 |
|
829 |
1 |
因为板子太贵,六七百一个,他们送不起 |
巨大八爪鱼 |
10-10 巨大八爪鱼 |
|
636 |
0 |
Initialization begins... Command response received: CMD63, RESP_90ff8000 Command response rece... |
巨大八爪鱼 |
7-26 巨大八爪鱼 |
|
848 |
0 |
Initialization begins... Command response received: CMD63, RESP_b0300000 Command response rece... |
巨大八爪鱼 |
7-26 巨大八爪鱼 |
|
917 |
6 |
【main.c】 #include <stdio.h> #include <stm32f10x.h> #include <string.h>... |
巨大八爪鱼 |
7-8 巨大八爪鱼 |
|
948 |
1 |
#include <stdio.h> #include <stm32f10x.h> #define _BV(n) (1u << (n)) uint... |
巨大八爪鱼 |
6-24 巨大八爪鱼 |
|
900 |
1 |
#include <stdio.h> #include <stm32l476xx.h> int fputc(int ch, FILE *fp) {... |
巨大八爪鱼 |
6-20 巨大八爪鱼 |
|
946 |
1 |
#include <stdio.h> #include <stm32l476xx.h> // 供printf使用, 项目属性中勾选Use MicroLIB后有效... |
巨大八爪鱼 |
6-19 巨大八爪鱼 |
|
909 |
1 |
/* 单片机: STM32F107VCT6 ** 系统时钟: 72MHz ** 外部晶振: 25MHz **/ #include <stm32f10x.h>... |
巨大八爪鱼 |
6-8 巨大八爪鱼 |
|
856 |
1 |
volatile uint32_t num; num = RCC->CFGR; // 0x001D040A // MCO=0: Microcontroller clock outpu... |
巨大八爪鱼 |
6-8 巨大八爪鱼 |
|
877 |
1 |
#include <stm32l476xx.h> void delay(void) { uint32_t i;... |
巨大八爪鱼 |
5-23 巨大八爪鱼 |
|
704 |
0 |
STM32F103C8、STM32F103CB 2007.6.1 STM32F103RC、STM32F103RE、STM43F103VE... |
巨大八爪鱼 |
5-15 巨大八爪鱼 |
|
942 |
2 |
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x... |
巨大八爪鱼 |
4-13 巨大八爪鱼 |
|
722 |
4 |
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x... |
巨大八爪鱼 |
4-12 巨大八爪鱼 |
|
860 |
8 |
#include <stm32f10x.h> const uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0x... |
巨大八爪鱼 |
4-8 巨大八爪鱼 |
|
500 |
0 |
【PLL到HSI】 // 假设HSI已经打开 RCC->CFGR &= ~RCC_CFGR_SW; // 系统时钟切换到HSI RCC->CR &= ~(... |
巨大八爪鱼 |
4-7 巨大八爪鱼 |
|
642 |
0 |
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x... |
巨大八爪鱼 |
4-4 巨大八爪鱼 |
|
620 |
2 |
将一个电阻和一个电容串联起来接地。最左边为电阻,电阻的最左端接单片机的PC1口,并设为输出。电阻和电容中间引出一根线,接到PC0口,设为输入。 最初PC1输出低电平,电容上没有电荷,PC0为低电... |
巨大八爪鱼 |
4-4 巨大八爪鱼 |
|
963 |
18 |
【实验时用到的程序】 #include <stm32f10x.h> const uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99,... |
巨大八爪鱼 |
4-2 巨大八爪鱼 |
|
685 |
3 |
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x... |
巨大八爪鱼 |
3-24 巨大八爪鱼 |
|
750 |
5 |
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x... |
巨大八爪鱼 |
3-24 巨大八爪鱼 |
|
695 |
1 |
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x... |
巨大八爪鱼 |
3-24 巨大八爪鱼 |
|
682 |
0 |
#include <stdio.h> #include <string.h> #include <stm32f10x.h> #define BIT... |
巨大八爪鱼 |
3-22 巨大八爪鱼 |
|
706 |
7 |
|
巨大八爪鱼 |
3-17 巨大八爪鱼 |
|
670 |
0 |
不能单独定义这两个函数的跳转,如 void SysTick_Handler(void) { OS_CPU_SysTickHandler();... |
巨大八爪鱼 |
3-17 巨大八爪鱼 |
|
709 |
0 |
/* 本程序使用的是锐志电子六合一扩展板上的数字旋转编码开关 */ /* 注意:一定要把板子下面的JPBMA和JPBMB跳线插上 */ #include <stm32f10x.h... |
巨大八爪鱼 |
3-15 巨大八爪鱼 |
|
808 |
2 |
#include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_BRR_B... |
巨大八爪鱼 |
3-11 巨大八爪鱼 |
|
771 |
4 |
#include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_BRR_B... |
巨大八爪鱼 |
3-6 巨大八爪鱼 |
|
758 |
0 |
#include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_BRR_B... |
巨大八爪鱼 |
3-5 巨大八爪鱼 |
|
805 |
2 |
/* LCD1602引脚2(VDD)必须接5V电压, 不可以接3.3V电压。其他引脚(包括引脚15-背光电源正)都可以接3.3V电压 */ /* 必须把J-Link设为不供电(更改内部跳线),... |
巨大八爪鱼 |
3-5 巨大八爪鱼 |
|
627 |
1 |
#include <stm32f10x.h> void delay(void) { uint32_t i;... |
巨大八爪鱼 |
3-5 巨大八爪鱼 |
|
891 |
4 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) #define CS_0 (GPIOA->BRR = GPI... |
巨大八爪鱼 |
2-28 巨大八爪鱼 |
|
781 |
2 |
|
巨大八爪鱼 |
2-26 巨大八爪鱼 |
|
630 |
0 |
/* 93C46选默认的16位模式 */ #include <stm32f10x.h> #define _BV(n) (1 << (n)) #define C... |
巨大八爪鱼 |
2-25 巨大八爪鱼 |
|
858 |
2 |
/* 93C46选默认的16位模式,但SPI总线上每次发送/接收8位数据 */ #include <stm32f10x.h> #define _BV(n) (1 <... |
巨大八爪鱼 |
2-24 巨大八爪鱼 |
|
708 |
2 |
#include <stm32f10x.h> void delay(void) { uint32_t i;... |
巨大八爪鱼 |
2-20 巨大八爪鱼 |
|
772 |
3 |
#include <stm32f10x.h> #include <string.h> #define _BV(n) (1 << (n)) uint... |
巨大八爪鱼 |
1-16 巨大八爪鱼 |
|
655 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t num[2] = {0, 0}; // 数码管两侧... |
巨大八爪鱼 |
1-16 巨大八爪鱼 |
|
606 |
0 |
所在的文件夹是STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Project/STM32F4xx_StdPeriph_Examples/DCMI/DCMI_CameraExamp... |
巨大八爪鱼 |
1-16 巨大八爪鱼 |
|
892 |
3 |
【程序运行效果】  |
巨大八爪鱼 |
1-16 巨大八爪鱼 |
|
855 |
6 |
【示例1:高优先级中断屏蔽并清除低优先级中断】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint16... |
巨大八爪鱼 |
1-15 巨大八爪鱼 |
|
905 |
4 |
每1位16进制数表示一个I/O端口。 1为10MHz推挽输出(推挽输出适合直接驱动)(复用为9) 2为2MHz推挽输出(复用为a) 3为50MHz推挽输出(复用为b) 5为10... |
巨大八爪鱼 |
1-15 巨大八爪鱼 |
|
785 |
5 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9, 0xa... |
巨大八爪鱼 |
1-14 巨大八爪鱼 |
|
867 |
8 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) #define SCL_1 GPIOB->BSRR = _B... |
巨大八爪鱼 |
1-13 巨大八爪鱼 |
|
754 |
4 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; uint8_t seg8[]... |
巨大八爪鱼 |
1-11 巨大八爪鱼 |
|
826 |
5 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; uint8_t seg8[]... |
巨大八爪鱼 |
1-11 巨大八爪鱼 |
|
698 |
3 |
【程序】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t i = 0; uint8_t... |
巨大八爪鱼 |
1-10 巨大八爪鱼 |
|
876 |
9 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) void delay(void) {... |
巨大八爪鱼 |
1-10 巨大八爪鱼 |
|