fengye5340 发表于 2014-11-4 16:13:23

深入浅出STM32-NUCLEO-072RB开发板视频教程资料(PPT+图片+MDK源码)

本帖最后由 fengye5340 于 2014-11-28 16:58 编辑

一、摩尔吧视频地址链接         https://www.moore8.com/courses/306二、课程简介STM32 NUCLEO开发平台是ST最新发布的易用性好、可扩展性佳的低成本平台。NUCLEO开发板具有mbed功能支持Arduino接口,同时还提供STMorpho扩展排针,可连接微控制器的所有周边外设,可以利用Arduino巨大生态系统优势,便于快速实现STM32学习和评估!STM32因为有着良好的生态系统,学习本课程的方式和方法,可以有助于其它STM32系列型号的学习!本课程采用逐步深入的方式讲解,步步为营,结合一些应用实例进行讲解,适合对STM32感兴趣的初学者和有一定STM32基础的入门级工程师提高自己!本课程的目标是让大家在短时间内(一周到一个月)快速上手开发板,并能独立以此平台进行项目开发应用!所以,有些技术细节如有遗漏,请多包涵,有问题,请随时留言!对于有些局部内容,我的理解可能有误,欢迎批评指正,在此不胜感谢! 三、课程资料 本课程共有8个章节,各个章节的PPT课件内容和MDK见附件!第一章:资料篇-NUCLEO-072RB开发板特性讲解及资料准备课件PPT:第二章工程篇-搭建KEIL-MDK开发平台及工程模板课件PPT:工程文件:第三章初级教程篇-实现一个LED灯(软件延时+systick定时器)课件PPT:          工程文件: 第四章 初级教程篇- 串口驱动实现(printf打印字符+中断数据接收)课件PPT:工程文件:第五章 初级教程篇-按键(中断方式)实现24C04存储器内容读写课件PPT:
          工程文件: 第六章 中级教程篇-利用定时器实现6路互补PWM波形输出(可做BLDC应用)课件PPT:

工程文件:

实物图片:
PWM输出:
1、单路PWM输出--50%占空比

2、单路PWM输出--60%占空比

3、单路WM输出--70%占空比

4、6路PWM输出--20KHZ-50%占空比

5、6路PWM输出--加死区

BLDC:
工程文件:


1 HALL-A-B-C波形图--HALL值5 4 6 2 3 1


2、三相H桥电路--6-NMOS管排列方式

3、驱动方式:三相H桥电路--H-PWM-L-ON波形图

4、硬件连线图

第七章 中级教程篇-利用SPI总线构建NUCLEO-072RB和NUCLEO-302RB双机处理系统课件PPT:

工程文件:
主机端:
从机端:
实物图片:


第八章 高级教程篇-基于Labview上位机界面的NUCLEO-072RB数据采集系统课件PPT:

工程文件:

Labview VI界面工程文件:

实物图片:




luscu 发表于 2014-11-28 16:39:57

在请问: driver文件夹里面也有一个KEY.C文件(lib 文件夹里面有个KEY.C文件), 一个工程文件里面同时包含两个同名C文件不会有冲突吗?

沐紫 发表于 2014-11-4 16:21:33

支持,下载课件后,欢迎大家支持楼主去看培训视频。
楼主用到的板子现在可以19.9买到,活动网址:https://www.stmcu.org.cn/page/STM32Nucleo-homepage/

mrjiang111222 发表于 2015-5-11 22:28:04

怎么用MDK5编译全是错误,Rebuild target 'STM32F072RBT6-DEMO'
assembling startup_stm32f072.s...
compiling stm32f0xx_adc.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_adc.c: 0 warnings, 1 error
compiling stm32f0xx_can.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_can.c: 0 warnings, 1 error
compiling stm32f0xx_cec.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_cec.c: 0 warnings, 1 error
compiling stm32f0xx_comp.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_comp.c: 0 warnings, 1 error
compiling stm32f0xx_crc.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_crc.c: 0 warnings, 1 error
compiling stm32f0xx_crs.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_crs.c: 0 warnings, 1 error
compiling stm32f0xx_dac.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_dac.c: 0 warnings, 1 error
compiling stm32f0xx_dbgmcu.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_dbgmcu.c: 0 warnings, 1 error
compiling stm32f0xx_dma.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_dma.c: 0 warnings, 1 error
compiling stm32f0xx_exti.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_exti.c: 0 warnings, 1 error
compiling stm32f0xx_flash.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_flash.c: 0 warnings, 1 error
compiling stm32f0xx_gpio.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_gpio.c: 0 warnings, 1 error
compiling stm32f0xx_i2c.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_i2c.c: 0 warnings, 1 error
compiling stm32f0xx_iwdg.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_iwdg.c: 0 warnings, 1 error
compiling stm32f0xx_misc.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_misc.c: 0 warnings, 1 error
compiling stm32f0xx_pwr.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_pwr.c: 0 warnings, 1 error
compiling stm32f0xx_rcc.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_rcc.c: 0 warnings, 1 error
compiling stm32f0xx_rtc.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_rtc.c: 0 warnings, 1 error
compiling stm32f0xx_spi.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_spi.c: 0 warnings, 1 error
compiling stm32f0xx_syscfg.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_syscfg.c: 0 warnings, 1 error
compiling stm32f0xx_tim.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_tim.c: 0 warnings, 1 error
compiling stm32f0xx_usart.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_usart.c: 0 warnings, 1 error
compiling stm32f0xx_wwdg.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\lib\src\stm32f0xx_wwdg.c: 0 warnings, 1 error
compiling LED.C...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\driver\LED.C: 0 warnings, 1 error
compiling main.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\user\main.c: 0 warnings, 1 error
compiling system_stm32f0xx.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\stm32f072rbt6\system_stm32f0xx.c: 0 warnings, 1 error
compiling stm32f0xx_it.c...
..\stm32f072rbt6\core_cm0.h(127): error:#5: cannot open source input file "core_cmInstr.h": No such file or directory
#include <core_cmInstr.h>                /* Core Instruction Access                         */
..\stm32f072rbt6\stm32f0xx_it.c: 0 warnings, 1 error
".\LED.axf" - 27 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:00:00:12

shiyongzhu 发表于 2014-11-4 23:06:12

谢谢分享!

ughbss 发表于 2014-11-5 08:18:13


谢谢分享!

haihuang-402384 发表于 2014-11-5 13:30:36

为什么我的板子用Utility连的上,用keil就连不上了,是因为升级了st-link的固件原因吗
https://www.stmcu.org.cn/module/forum/thread-597522-1-1.html

liuwei111 发表于 2014-11-5 13:46:46

看到在摩尔吧的课程啦,牛啊!!!

fengye5340 发表于 2014-11-5 14:33:00

沐紫 发表于 2014-11-4 16:21
支持,下载课件后,欢迎大家支持楼主去看培训视频。
楼主用到的板子现在可以19.9买到,活动网址:http://ww ...

多谢沐紫老师的大力支持!:)

fengye5340 发表于 2014-11-5 14:38:06

haihuang-402384 发表于 2014-11-5 13:30
为什么我的板子用Utility连的上,用keil就连不上了,是因为升级了st-link的固件原因吗
http://www.stmcu.or ...

你KEIL-MDK版本是用的MDKV5还是V4呢?以前遇到过ST-LINK固件升级后不能KEIL下载的问题!分析可能是版本不匹配造成的,后来把升级的ST-LINK固件又更改回来就好了,你下载旧版本的UTILITY,然后把版本更改回来再试一下

fengye5340 发表于 2014-11-5 14:38:39

liuwei111 发表于 2014-11-5 13:46
看到在摩尔吧的课程啦,牛啊!!!

感谢支持!

haihuang-402384 发表于 2014-11-5 15:19:07

fengye5340 发表于 2014-11-5 14:38
你KEIL-MDK版本是用的MDKV5还是V4呢?以前遇到过ST-LINK固件升级后不能KEIL下载的问题!分析可能是版本不 ...

我用的是MDK5.11a,旧版本的UTILITY哪里有下,ST-LINK的固件如何更改回来旧版本?以后不敢乱升级固件了额,看官网有那个工具直接给升级了,乏力

fengye5340 发表于 2014-11-6 19:36:03

haihuang-402384 发表于 2014-11-5 15:19
我用的是MDK5.11a,旧版本的UTILITY哪里有下,ST-LINK的固件如何更改回来旧版本?以后不敢乱升级固件了额 ...

你去网上搜索一下ST-LINK-UTILITYV3.1.0,那个是以前的版本,装上后,更新固件就改回来了,新的是V340,那个是针对ST-LINNKV2-1的版本

清风不相识 发表于 2014-11-6 22:47:27

看一看;P;P

suyong_yq 发表于 2014-11-6 23:52:24

谢谢分享,资料很及时啊!

fengye5340 发表于 2014-11-7 19:30:30

suyong_yq 发表于 2014-11-6 23:52
谢谢分享,资料很及时啊!

不客气的,那些比较复杂的代码要过段时间了

ahljj 发表于 2014-11-8 19:10:28

深入浅出STM32-NUCLEO-072RB开发平台视频教程资料
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 深入浅出STM32-NUCLEO-072RB开发板视频教程资料(PPT+图片+MDK源码)