STM32 Getting Started - chip Introduction

 

Micro-channel public number [electronic] development circle, theory with practice, you learn to open new scheme!

Electronic DIY, Arduino, 51 microcontroller, STM32, FPGA ......
electronic encyclopedia, interesting knowledge, professional experience, disassemble the equipment, technology headlines ......

Click on the link, free download 100G + electronic design learning materials!

http://mp.weixin.qq.com/mp/homepage?__biz=MzU3OTczMzk5Mg==&hid=7&sn=ad5d5d0f15df84f4a92ebf72f88d4ee8&scene=18#wechat_redirect

 

First, understand the STM32

 

From the literal meaning:

 

STM32.png

 

Second, the relationship with ARM STM32

 

ARM is a British chip design companies, the most successful way to 32-bit embedded CPU core --ARM series, the most commonly used is the ARM7 and ARM9.
ARM company provides IP (Intellectual Property core core intellectual property) core is the core structure of the CPU, includes only the core, not the complete processor.

 

STM32.png

 

Three, STM32 classification

 

STM32 classification .png

STM32 naming rules:

STM32 naming .png

 

E.g:

For example .png

 

Four, STM32 use

 

USART: ESP8266 WIFI module, GSM module, Bluetooth module, GPS module, fingerprint recognition module.
IIC: EEPROM, MPU6050 gyroscope, 0.96-inch OLED screen, capacitive screens.
SPI: serial FLASH, Ethernet W5500, VS1003 / 1053 audio module, SPI interface OLED screen, the screen resistance and the like.
AD / DA: photosensitive sensor module, the sensor module smoke, combustible gas sensor module, a simple
and easy oscilloscope.
Some other interfaces. STM32 can do a lot of things.

 

Five, STM32F103ZET6 chip

 

STM32F103ZET6.png

(A) Core

32位,高性能ARM Cortex-M3处理器。
时钟:高达72M,实际还可以超频一点。单周期乘法和硬件除法。

(二)IO口

STM32F103ZET6:144引脚,112个IO,大部分IO口都耐5V(拟通道除外),支持调试:SWD和JTAG,SWD只要2根数据线。

(三)存储器容量

512K FLASH,64K SRAM

(四)时钟,复位和电源管理

  1. 2.0~3.6V电源和IO电压
  2. 上电复位,掉电复位和可编程的电压监控
  3. 强大的时钟系统
    • 4~16M的外部高速晶振
    • 内部8MHz的高速RC振荡器
    • 内部40KHz低速RC振荡器,看门狗时钟
    • 内部锁相环(PLL,倍频),一般系统时钟都是外部或者内部高速时钟经过PLL倍频后得到
    • 外部低速32.768K的晶振,主要做RTC时钟源

(五)低功耗

  1. 睡眠,停止和待机三种低功耗模式
  2. 可用电池为RTC和备份寄存器供电

(六)AD

  1. 3个12位AD(多达21个外部测量通道)
  2. 转换范围:0-3.6V(参考电源电压)
  3. 内部通道可以用于内部温度测量
  4. 内置参考电压

(七)DA

2个12位DA

(八)DMA

12个DMA通道(7通道DMA1,5通道DMA2),支持外设:
定时器,ADC,DAC,SDIO,I2S,SPI,I2C,和USART

(九)定时器

多达11个定时器

  • 4个通用定时器
  • 2个基本定时器
  • 2个高级定时器
  • 1个系统定时器
  • 2个看门狗定时器

(十)通信接口

多达13个通信接口

  • 2个I2C接口
  • 5个串口
  • 3个SPI接口
  • 1个CAN2.0
  • 1个USB FS
  • 1个SDIO
  •  

六、学习使用的开发板

 

PZ6806L.png

 

七、STM32芯片架构

 

STM32F103.png

 

八、STM32芯片系统结构

 

STM32芯片系统结构.png

 

九、STM32学习

 

(一)基本外设

GPIO输入输出,外部中断,定时器,串口。

(二)基本外设接口

SPI、IIC、WDG、FSMC、ADC/DAC、SDIO等。

(三)高级功能

UCOS、FATFS、EMWIN等。

(四)C语言要加强

C 语言是嵌入式开发的基础中的基础。

  • 入门及巩固C语言基础:谭浩强的《C程序设计 第四版》
  • C语言提高:《C与指针》、《C指针编程之道》等
  • 遇到问题可访问官方论坛:
    ST官方论坛:www.stmcu.org



作者:虞锦雯
链接:https://www.jianshu.com/p/2bca0d7efa1d
来源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。

Guess you like

Origin blog.csdn.net/weixin_42625444/article/details/93170548