有啊! 8s 价格上有优势,工厂上在8S能完成的情况下。是决不会用32的。价格、成本是第一位
同为一个公司的,同为
cortex-M0内核的cpu;开发过程(外设编程)几乎完全一样;查看区别需要对比
datasheet,每个型号资源都不一样的;内核一样,外设不一样。
【STM32】
STM32系列基于专为要求高性能、低成本、低功耗的嵌入式应用专门设计的ARM
Cortex-0内核(ST's
product
portfolio
contains
a
comprehensive
range
of
microcontrollers,
from
robust,
low-cost
8-bit
MCUs
up
to
32-bit
ARM-based
Cortex®-M0
and
M0+,
Cortex®-M3,
Cortex®-M4
Flash
microcontrollers
with
a
great
choice
of
peripherals.
ST
has
also
extended
this
range
to
include
an
ultra-low-power
MCU
platform)
。按内核架构分为不同产品:
其中STM32F1系列有:
STM32F103“增强型”系列
STM32F101“基本型”系列
STM32F105、STM32F107“互联型”系列
增强型系列时钟频率达到72MHz,是同类产品中性能最高的产品;基本型时钟频率为36MHz,以16位产品的价格得到比16位产品大幅提升的性能,是32位产品用户的最佳选择。两个系列都内置32K到128K的闪存,不同的是SRAM的最大容量和外设接口的组合。时钟频率72MHz时,从闪存执行代码,STM32功耗36mA,是32位市场上功耗最低的产品,相当于0.5mA/MHz。
LZ ,你这个STM32F030 的ID确定了吗? 看手册有一个ID 寄存器,但没有说是unique唯一的。
《25.4.1 MCU device ID code
The STM32F0 products integrate an MCU ID code. This ID identifies the ST MCU part
number and the die revision.
This code is accessible by the software debug port (two pins) or by the user software.
DBGMCU_IDCODE
Address: 0x40015800
Only 32-bit access supported. Read-only
Bits 31:16 REV_ID(15:0) Revision identifier
This field indicates the revision of the device. It is read as 0x1000 for Revision 1.0 and
0x2000 for Revision 2.0.
Bits 15:12 Reserved: read 0b0110.
Bits 11:0 DEV_ID(11:0): Device identifier
This field indicates the device ID.
For STM32F030x4 and STM32F030x6 devices, the device ID is 0x444.
For STM32F030x8 devices, the device ID is 0x440.》这是手册上的
如果030f4p6 iic作为从设备,地址在初始化函数中有接口可以配置,然后,通过主设备即可访问;如果030f4p6作为主设备,地址需要查看相连接从设备的芯片手册获取。
STM32F030F4
Mainstream ARM Cortex-M0 Value line MCU with 16 Kbytes Flash, 48 MHz CPU
STM32F030F4供应商:拍明芯城
The STM32F030x4/x6/x8/xC microcontrollers incorporate the high-performance ARM®Cortex®-M0 32-bit RISC core operating at a 48 MHz frequency, high-speed embedded memories (up to 256 Kbytes of Flash memory and up to 32 Kbytes of SRAM), and an extensive range of enhanced peripherals and I/Os. All devices offer standard communication interfaces (up to two I2Cs, up to two SPIs and up to six USARTs), one 12-bit ADC, seven general-purpose 16-bit timers and an advanced-control PWM timer.
The STM32F030x4/x6/x8/xC microcontrollers operate in the -40 to +85 °C temperature range from a 2.4 to 3.6V power supply. A comprehensive set of power-saving modes allows the design of low-power applications.
The STM32F030x4/x6/x8/xC microcontrollers include devices in four different packages ranging from 20 pins to 64 pins. Depending on the device chosen, different sets of peripherals are included. The description below provides an overview of the complete range of STM32F030x4/x6/x8/xC peripherals proposed.
These features make the STM32F030x4/x6/x8/xC microcontrollers suitable for a wide range of applications such as application control and user interfaces, handheld equipment, A/V receivers and digital TV, PC peripherals, gaming and GPS platforms, industrial applications, PLCs, inverters, printers, scanners, alarm systems, video intercoms, and HVACs.
Key Features
Core: ARM®32-bit Cortex®-M0 CPU, frequency up to 48 MHz
Memories
16 to 256 Kbytes of Flash memory
4 to 32 Kbytes of SRAM with HW parity
CRC calculation unit
Reset and power management
Digital I/Os supply: VDD= 2.4 V to 3.6 V
Analog supply: VDDA= VDDto 3.6 V
Power-on/Power down reset (POR/PDR)
Low power modes: Sleep, Stop, Standby
Clock management
4 to 32 MHz crystal oscillator
32 kHz oscillator for RTC with calibration
Internal 8 MHz RC with x6 PLL option
Internal 40 kHz RC oscillator
Up to 55 fast I/Os
All mappable on external interrupt vectors
Up to 55 I/Os with 5V tolerant capability
5-channel DMA controller
One 12-bit, 1.0 μs ADC (up to 16 channels)
Conversion range: 0 to 3.6 V
Separate analog supply: 2.4 V to 3.6 V
Calendar RTC with alarm and periodic wakeup from Stop/Standby
11 timers
One 16-bit advanced-control timer for six-channel PWM output
Up to seven 16-bit timers, with up to four IC/OC, OCN, usable for IR control decoding
Independent and system watchdog timers
SysTick timer
Communication interfaces
Up to two I2C interfaces
Up to six USARTs supporting master synchronous SPI and modem control; one with auto baud rate detection
Up to two SPIs (18 Mbit/s) with 4 to 16 programmable bit frames
Serial wire debug (SWD)
All packages ECOPACK®2
CIRCUIT DIAGRAM
可以用stlink disable read protection的菜单程序来解锁。
STM32F0系列有3种保护等级,L0,L1,L2。L0是不保护,L1,可以解锁,但是解锁后FLASH被清空;L2是不可逆的,就是锁死,什么工具都解锁不了(芯片破解除外)。
扫描隧道显微镜(Scanning Tunneling Microscope, 缩写为STM)是一种扫描探针显微术工具,扫描隧道显微镜可以让科学家观察和定位单个原子,它具有比它的同类原子力显微镜更加高的分辨率。STM使人类第一次能够实时地观察单个原子在物质表面的排列状态和与表面电子行为有关的物化性质,在表面科学、材料科学、生命科学等领域的研究中有着重大的意义和广泛的应用前景,被国际科学界公认为20世纪82年代世界十大科技成就之一。隧道针尖的结构是扫描隧道显微技术要解决的主要问题之一。针尖的大小、形状和化学同一性不仅影响着扫描隧道显微镜图像的分辨率和图像的形状,而且也影响着测定的电子态。针尖的宏观结构应使得针尖具有高的弯曲共振频率,从而可以减少相位滞后,提高采集速度。如果针尖的尖端只有一个稳定的原子而不是有多重针尖,那么隧道电流就会很稳定,而且能够获得原子级分辨的图像。针尖的化学纯度高,就不会涉及系列势垒。例如,针尖表面若有氧化层,则其电阻可能会高于隧道间隙的阻值,从而导致针尖和样品间产生隧道电流之前,二者就发生碰撞。制备针尖的材料主要有金属钨丝、铂-铱合金丝等。钨针尖的制备常用电化学腐蚀法。而铂- 铱合金针尖则多用机械成型法,一般 直接用剪刀剪切 而成。不论哪一种针尖,其表面往往覆盖着一层氧化层,或吸附一定的杂质,这经常是造成隧道电流不稳、噪音大和扫描隧道显微镜图象的不可预期性的原因。因此,每次实验前,都要对针尖进行处理,一般用化学法清洗,去除表面的氧化层及杂质,保证针尖具有良好的导电性。
本文标签:stm32f030定位