|
點擊 |
回復 |
標題 |
作者 |
最後回復 |
|
516 |
13 |
|
巨大八爪鱼 |
3-6 巨大八爪鱼 |
|
2179 |
9 |
|
巨大八爪鱼 |
11-21 12345678 |
|
367 |
0 |
关闭STM32 ST-LINK Utility,拔掉ST Link的USB线再插上,接着就可以升级了,每次插上USB线后只可以升级一次。 |
巨大八爪鱼 |
10-15 巨大八爪鱼 |
|
440 |
1 |
因为板子太贵,六七百一个,他们送不起 |
巨大八爪鱼 |
10-10 巨大八爪鱼 |
|
306 |
0 |
Initialization begins... Command response received: CMD63, RESP_90ff8000 Command response... |
巨大八爪鱼 |
7-26 巨大八爪鱼 |
|
481 |
0 |
Initialization begins... Command response received: CMD63, RESP_b0300000 Command response... |
巨大八爪鱼 |
7-26 巨大八爪鱼 |
|
564 |
6 |
【main.c】 #include <stdio.h> #include <stm32f10x.h> #include <string.h... |
巨大八爪鱼 |
7-8 巨大八爪鱼 |
|
529 |
1 |
#include <stdio.h> #include <stm32f10x.h> #define _BV(n) (1u << ... |
巨大八爪鱼 |
6-24 巨大八爪鱼 |
|
512 |
1 |
#include <stdio.h> #include <stm32l476xx.h> int fputc(int ch, FILE *fp) {... |
巨大八爪鱼 |
6-20 巨大八爪鱼 |
|
579 |
1 |
#include <stdio.h> #include <stm32l476xx.h> // 供printf使用, 项目属性中勾选Use MicroLIB后... |
巨大八爪鱼 |
6-19 巨大八爪鱼 |
|
566 |
1 |
/* 单片机: STM32F107VCT6 ** 系统时钟: 72MHz ** 外部晶振: 25MHz **/ #include <stm32f10x.h... |
巨大八爪鱼 |
6-8 巨大八爪鱼 |
|
478 |
1 |
volatile uint32_t num; num = RCC->CFGR; // 0x001D040A // MCO=0: Microcontroller clock o... |
巨大八爪鱼 |
6-8 巨大八爪鱼 |
|
477 |
1 |
#include <stm32l476xx.h> void delay(void) { uint32_t i... |
巨大八爪鱼 |
5-23 巨大八爪鱼 |
|
338 |
0 |
STM32F103C8、STM32F103CB 2007.6.1 STM32F103RC、STM32F103RE、STM43F103VE... |
巨大八爪鱼 |
5-15 巨大八爪鱼 |
|
501 |
2 |
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8,... |
巨大八爪鱼 |
4-13 巨大八爪鱼 |
|
438 |
4 |
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8,... |
巨大八爪鱼 |
4-12 巨大八爪鱼 |
|
579 |
8 |
#include <stm32f10x.h> const uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82,... |
巨大八爪鱼 |
4-8 巨大八爪鱼 |
|
233 |
0 |
【PLL到HSI】 // 假设HSI已经打开 RCC->CFGR &= ~RCC_CFGR_SW; // 系统时钟切换到HSI RCC->CR... |
巨大八爪鱼 |
4-7 巨大八爪鱼 |
|
341 |
0 |
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8,... |
巨大八爪鱼 |
4-4 巨大八爪鱼 |
|
353 |
2 |
将一个电阻和一个电容串联起来接地。最左边为电阻,电阻的最左端接单片机的PC1口,并设为输出。电阻和电容中间引出一根线,接到PC0口,设为输入。 最初PC1输出低电平,电容上没有电荷,PC0为... |
巨大八爪鱼 |
4-4 巨大八爪鱼 |
|
424 |
18 |
【实验时用到的程序】 #include <stm32f10x.h> const uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x... |
巨大八爪鱼 |
4-2 巨大八爪鱼 |
|
412 |
3 |
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8,... |
巨大八爪鱼 |
3-24 巨大八爪鱼 |
|
413 |
5 |
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8,... |
巨大八爪鱼 |
3-24 巨大八爪鱼 |
|
391 |
1 |
#include <stm32f10x.h> uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8,... |
巨大八爪鱼 |
3-24 巨大八爪鱼 |
|
337 |
0 |
#include <stdio.h> #include <string.h> #include <stm32f10x.h> #defi... |
巨大八爪鱼 |
3-22 巨大八爪鱼 |
|
374 |
7 |
|
巨大八爪鱼 |
3-17 巨大八爪鱼 |
|
308 |
0 |
不能单独定义这两个函数的跳转,如 void SysTick_Handler(void) { OS_CPU_SysTickHandle... |
巨大八爪鱼 |
3-17 巨大八爪鱼 |
|
377 |
0 |
/* 本程序使用的是锐志电子六合一扩展板上的数字旋转编码开关 */ /* 注意:一定要把板子下面的JPBMA和JPBMB跳线插上 */ #include <stm32f10x... |
巨大八爪鱼 |
3-15 巨大八爪鱼 |
|
467 |
2 |
#include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_... |
巨大八爪鱼 |
3-11 巨大八爪鱼 |
|
483 |
4 |
#include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_... |
巨大八爪鱼 |
3-6 巨大八爪鱼 |
|
449 |
0 |
#include <stdio.h> #include <stm32f10x.h> #define RS_0 (GPIOA->BRR = GPIO_... |
巨大八爪鱼 |
3-5 巨大八爪鱼 |
|
445 |
2 |
/* LCD1602引脚2(VDD)必须接5V电压, 不可以接3.3V电压。其他引脚(包括引脚15-背光电源正)都可以接3.3V电压 */ /* 必须把J-Link设为不供电(更改内部跳线)... |
巨大八爪鱼 |
3-5 巨大八爪鱼 |
|
343 |
1 |
#include <stm32f10x.h> void delay(void) { uint32_t i... |
巨大八爪鱼 |
3-5 巨大八爪鱼 |
|
502 |
4 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) #define CS_0 (GPIOA->BRR =... |
巨大八爪鱼 |
2-28 巨大八爪鱼 |
|
396 |
2 |
|
巨大八爪鱼 |
2-26 巨大八爪鱼 |
|
349 |
0 |
/* 93C46选默认的16位模式 */ #include <stm32f10x.h> #define _BV(n) (1 << (n)) #de... |
巨大八爪鱼 |
2-25 巨大八爪鱼 |
|
570 |
2 |
/* 93C46选默认的16位模式,但SPI总线上每次发送/接收8位数据 */ #include <stm32f10x.h> #define _BV(n) (1... |
巨大八爪鱼 |
2-24 巨大八爪鱼 |
|
371 |
2 |
#include <stm32f10x.h> void delay(void) { uint32_t i... |
巨大八爪鱼 |
2-20 巨大八爪鱼 |
|
492 |
3 |
#include <stm32f10x.h> #include <string.h> #define _BV(n) (1 << ... |
巨大八爪鱼 |
1-16 巨大八爪鱼 |
|
338 |
1 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t num[2] = {0, 0}; // 数... |
巨大八爪鱼 |
1-16 巨大八爪鱼 |
|
323 |
0 |
所在的文件夹是STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Project/STM32F4xx_StdPeriph_Examples/DCMI/DCMI_CameraExam... |
巨大八爪鱼 |
1-16 巨大八爪鱼 |
|
555 |
3 |
【程序运行效果】 |
巨大八爪鱼 |
1-16 巨大八爪鱼 |
|
448 |
6 |
【示例1:高优先级中断屏蔽并清除低优先级中断】 #include <stm32f10x.h> #define _BV(n) (1 << ... |
巨大八爪鱼 |
1-15 巨大八爪鱼 |
|
521 |
4 |
每1位16进制数表示一个I/O端口。 1为10MHz推挽输出(推挽输出适合直接驱动)(复用为9) 2为2MHz推挽输出(复用为a) 3为50MHz推挽输出(复用为b)... |
巨大八爪鱼 |
1-15 巨大八爪鱼 |
|
441 |
5 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t seg8[] = {0xc0, 0xf9,... |
巨大八爪鱼 |
1-14 巨大八爪鱼 |
|
404 |
8 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) #define SCL_1 GPIOB->BSRR... |
巨大八爪鱼 |
1-13 巨大八爪鱼 |
|
452 |
4 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; uint8_t ... |
巨大八爪鱼 |
1-11 巨大八爪鱼 |
|
516 |
5 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t n = 0; uint8_t ... |
巨大八爪鱼 |
1-11 巨大八爪鱼 |
|
392 |
3 |
【程序】 #include <stm32f10x.h> #define _BV(n) (1 << (n)) uint8_t i = 0... |
巨大八爪鱼 |
1-10 巨大八爪鱼 |
|
476 |
9 |
#include <stm32f10x.h> #define _BV(n) (1 << (n)) void delay(void) {... |
巨大八爪鱼 |
1-10 巨大八爪鱼 |
|