<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>微控圈（MCU Loop） - STM32/8</title>
    <link>https://mculoop.com/forum-2-1.html</link>
    <description>Latest 20 threads of STM32/8</description>
    <copyright>Copyright(C) 微控圈（MCU Loop）</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Mon, 20 Apr 2026 06:26:15 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://mculoop.com/static/image/common/logo_88_31.gif</url>
      <title>微控圈（MCU Loop）</title>
      <link>https://mculoop.com/</link>
    </image>
    <item>
      <title>STM32 软件模板</title>
      <link>https://mculoop.com/thread-193-1-1.html</link>
      <description><![CDATA[[md]
创建文件目录如下：

![](https://file.mculoop.com/images/2024/01/16/202401160118888.png)

1. Doc 用于存放文档；

2. Libraries 用于存放各种库，其中的 STM32Lib 是不可缺少的内核与标准外设的驱动库。原则上，所有的库都不要做任何修改，保持与原始发行状态 ...]]></description>
      <category>STM32/8</category>
      <author>阡陌</author>
      <pubDate>Wed, 28 Feb 2024 01:53:40 +0000</pubDate>
    </item>
    <item>
      <title>STM8S 使用笔记</title>
      <link>https://mculoop.com/thread-138-1-1.html</link>
      <description><![CDATA[[md]
1、GPIO

- 关于 SWIM 用作普通 GPIO 脚

即使 CFG_GCR 的 SWD 脚不置为 1，事实上 PD1 脚也可正常执行输入输出功能，只不过在同时使用 SWIM 调试时，即使设置 DDR 为输出，ODR 总保持为 1。关开 SWIM 连线，复位 MCU 后输出功能可正常执行。SWD 位看似没有什么作 ...]]></description>
      <category>STM32/8</category>
      <author>阡陌</author>
      <pubDate>Mon, 22 Jan 2024 05:21:01 +0000</pubDate>
    </item>
    <item>
      <title>STM32 CAN 总线通信</title>
      <link>https://mculoop.com/thread-137-1-1.html</link>
      <description><![CDATA[[md]

CAN 是控制器局域网络 (Controller Area Network, CAN) 的简称，是由以研发和生产汽车电子产品著称的德国 BOSCH（没错，就是那个卖电动工具的博世）公司开发的，并最终成为国际标准（ISO 11898），是国际上应用最广泛的现场总线之一。 在北美和西欧，CAN 总线协议 ...]]></description>
      <category>STM32/8</category>
      <author>阡陌</author>
      <pubDate>Mon, 22 Jan 2024 05:20:58 +0000</pubDate>
    </item>
    <item>
      <title>Cortex-M3 HardFault_Handler 调试心得</title>
      <link>https://mculoop.com/thread-136-1-1.html</link>
      <description><![CDATA[[md]

这几天在 MDK 下调试 STM32 在进入 HardFault_Handler 异常中端原因的问题上花费了不少周折

简单来说应该采取下面的查找思路：

1、进入 HardFault_Handler 后根据 LR 确定异常发生处所使用的栈指针是 MSP 还是 PSP

2、查看 PSP（假设是 PSP）的值，在 RAM 中找 ...]]></description>
      <category>STM32/8</category>
      <author>阡陌</author>
      <pubDate>Sun, 21 Jan 2024 05:41:12 +0000</pubDate>
    </item>
    <item>
      <title>STM32F1 库函数的宏定义</title>
      <link>https://mculoop.com/thread-135-1-1.html</link>
      <description><![CDATA[[md]
**1、USE_STDPERIPH_DRIVER 宏定义**

要在编译器中预定义这个宏：

![](https://file.mculoop.com/images/2024/01/11/202401111139003.png)

而且在编译器中仅仅定义这一个宏就可以了。STM32F10X_HD 这类的宏在编译器中选好 MCU 型号后就自动确定下来对应的宏了。 ...]]></description>
      <category>STM32/8</category>
      <author>阡陌</author>
      <pubDate>Sun, 21 Jan 2024 05:41:06 +0000</pubDate>
    </item>
    <item>
      <title>STM32 型号规则</title>
      <link>https://mculoop.com/thread-134-1-1.html</link>
      <description><![CDATA[[md]

STM32 型号以 STM32F103C8T6 为例：

1. STM32: ARM-based 32-bit microcontroller
2. F：代表芯片子系列
3. 103：基本型 101、增强型 103、
4. C：引脚数，T：36 脚  C：48 脚  R：64 脚  V：100 脚  Z：144 脚
5. 8：Flash大小，6：32KB，8： 64KB，B：128KB，C ...]]></description>
      <category>STM32/8</category>
      <author>阡陌</author>
      <pubDate>Fri, 19 Jan 2024 17:05:04 +0000</pubDate>
    </item>
    <item>
      <title>STM32 定时器</title>
      <link>https://mculoop.com/thread-98-1-1.html</link>
      <description><![CDATA[[md]
## 预分频器（TIMx_PSC）

预分频器的值 PSC[15:0]，计数器的时钟频率 CK_CNT 等于 fCK_PSC/(PSC[15:0]+1)。也就是说 PSC[15:0] 等于分频数 - 1。

## 自动重装载寄存器（TIMx_ARR）

自动重装载的值 ARR[15:0]，用于作为计数器的初始值（向下计数）或溢出值（向上 ...]]></description>
      <category>STM32/8</category>
      <author>阡陌</author>
      <pubDate>Sun, 31 Dec 2023 17:37:18 +0000</pubDate>
    </item>
  </channel>
</rss>