<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>ST意法半导体中文论坛 - STM8</title>
    <link>https://qa-shequ.stmicroelectronics.cn/forum-394-1.html</link>
    <description>Latest 20 threads of STM8</description>
    <copyright>Copyright(C) ST意法半导体中文论坛</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Tue, 19 May 2026 05:49:37 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://qa-shequ.stmicroelectronics.cn/static/image/common/logo_88_31.gif</url>
      <title>ST意法半导体中文论坛</title>
      <link>https://qa-shequ.stmicroelectronics.cn/</link>
    </image>
    <item>
      <title>求高人给个STM8-TIM4的例程，STVD环境下的，万分感谢！</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-606004-1-1.html</link>
      <description><![CDATA[求高人给个STM8-TIM4控制LED闪烁的例程，STVD环境下的，在用TIM4得时候碰到困难，手上没有例程，百度找参考没用。。。。。。。。。]]></description>
      <category>STM8</category>
      <author>脱缰的蜗牛</author>
      <pubDate>Fri, 06 May 2016 10:51:03 +0000</pubDate>
    </item>
    <item>
      <title>STM8L101F3触摸环问题</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-604820-1-1.html</link>
      <description><![CDATA[芯片型号：STM8L101F3
触摸库版本：STM8L_STMTouch_Lib_V1.1.0

圆环管脚，暂命名为A引脚、B引脚、C引脚
采样管脚：PB1(组1的第二通道)、PB3(组2的第二通道)
管脚配置：A引脚 ---- PD0管脚，组1的第三通道

                 B引脚 ---- PB0管脚，组1的第一通道
        ...]]></description>
      <category>STM8</category>
      <author>yygy3748</author>
      <pubDate>Fri, 08 Jan 2016 05:26:43 +0000</pubDate>
    </item>
    <item>
      <title>来高手哈，STM8S103 内部振荡HSI 波特率对，串口数据不对</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-593011-1-1.html</link>
      <description><![CDATA[小弟原先学的51，现转战STM8S，可第一个小问题就难道我了，请求大虾帮忙验证下程序：

      main.c文件如下，软件是IAR1.42，要实现的功能:给电脑串口发送一个0xAA,有开发板的大虾帮个忙，看看此程序在你们那是否正常，我买的是核心板，没接外部晶振。我直接将串口 ...]]></description>
      <category>STM8</category>
      <author>jacky1983</author>
      <pubDate>Thu, 31 Jul 2014 15:44:21 +0000</pubDate>
    </item>
    <item>
      <title>STVD庫函數建立失敗</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-592807-1-1.html</link>
      <description><![CDATA[最近从51换学习STM8，想用库函数环境开发，这周已经照https://wenku.baidu.com/view/87aade66b84ae45c3b358cc3.html 做了不下数次。
每次做到第5页&amp;quot;将stm8s_it.c中的INTERRUPT_HANDLER(NonHandledInterrupt, 25)函数注释掉，因为重复定义了。然后编译通过。&amp;quot;，编译都会 ...]]></description>
      <category>STM8</category>
      <author>SIngYu</author>
      <pubDate>Tue, 29 Jul 2014 14:55:59 +0000</pubDate>
    </item>
    <item>
      <title>STVD库函数建立失败 请各位版友帮忙</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-592806-1-1.html</link>
      <description><![CDATA[最近从51换学习STM8，想用库函数环境开发，这周已经照https://wenku.baidu.com/view/87aade66b84ae45c3b358cc3.html 做了不下数次。
每次做到第5页&amp;quot;将stm8s_it.c中的INTERRUPT_HANDLER(NonHandledInterrupt, 25)函数注释掉，因为重复定义了。然后编译通过。&amp;quot;，编译都会 ...]]></description>
      <category>STM8</category>
      <author>SIngYu</author>
      <pubDate>Tue, 29 Jul 2014 14:49:17 +0000</pubDate>
    </item>
    <item>
      <title>stm8做CAN总线</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-592708-1-1.html</link>
      <description><![CDATA[ 做CAN总线是遇到问题，接收端收到数据挂起，但在中断读取FIFO时读到的数据全为0x00;
以下是自测的发送程序，邮箱能成功发送
]]></description>
      <category>STM8</category>
      <author>ttb</author>
<enclosure url="/forum/can_data[1]=\'1\';
" length="can_data[2]=\'1\';
" type="image/jpeg" />      <pubDate>Mon, 28 Jul 2014 08:17:49 +0000</pubDate>
    </item>
    <item>
      <title>stm8 208做CAN总线遇到的问题求助</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-592656-1-1.html</link>
      <description><![CDATA[我用STM8——208做CAN总线，在正常模式下，数据能发出去，接收方也有了应答，但接收方就是没有FIFO挂起，查看接收标志位可以查到引脚正在接收，但就是没有消息挂起，不能中断，用查询方式也只是检测到引脚在接收，但没有消息挂起，请问是什么原因？
贴代码
初始化
{
CAN ...]]></description>
      <category>STM8</category>
      <author>ttb</author>
      <pubDate>Mon, 28 Jul 2014 01:25:50 +0000</pubDate>
    </item>
    <item>
      <title>STM8L  TIMER4 定时中断时间不能调整</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-592518-1-1.html</link>
      <description><![CDATA[ 在官网下载了最新的库文件，在 stm8l15x_tim4.c文件中看到如下描述：
       ===================================================================      
              TIM4 Driver: how to use it in Timing(Time base) Mode
       ========= ...]]></description>
      <category>STM8</category>
      <author>dsoyy</author>
      <pubDate>Fri, 25 Jul 2014 03:49:08 +0000</pubDate>
    </item>
    <item>
      <title>求教！关于stm8的静态变量</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-592501-1-1.html</link>
      <description><![CDATA[ 最近用stm8l151做一个小程序，发现在函数体内定义的静态变量的值会莫名其妙的被清零，有哪位大大知道这个问题的原因？程序如下，Cosmic编译器。
下面这个函数1ms运行一次，结果发现在USI_BUF &amp;gt; 333的情况，大概0.5s的间隔就会发送一次SendStatus(ch, 0x66);，也就是说 ...]]></description>
      <category>STM8</category>
      <author>kane.edn</author>
      <pubDate>Fri, 25 Jul 2014 02:40:59 +0000</pubDate>
    </item>
    <item>
      <title>关于TIM1定时器问题</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-592451-1-1.html</link>
      <description><![CDATA[ 解决了。
 ]]></description>
      <category>STM8</category>
      <author>xiaorong321</author>
      <pubDate>Thu, 24 Jul 2014 07:06:34 +0000</pubDate>
    </item>
    <item>
      <title>关于STM8触摸按键问题</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-592224-1-1.html</link>
      <description><![CDATA[ST工程师以及ST大神，最近正在搞项目，用到STM8触摸功能，开始一切顺利，但是现在出现了一个非常棘手的问题： 不同端口触摸按键感应能力竟然不同，比如，我的触摸按键用到了PB口和PC口，在0.8mm覆盖物下没有什么不同，但是，当我的覆盖物增加到0.15mm，PB口的触摸按键没 ...]]></description>
      <category>STM8</category>
      <author>zhangliang1997</author>
      <pubDate>Tue, 22 Jul 2014 06:43:52 +0000</pubDate>
    </item>
    <item>
      <title>STVP 如何将Option Byte 里的ROP改为disable</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-591891-1-1.html</link>
      <description><![CDATA[ 菜鸟求助，先谢过各位高手。
现象是这样的，我做的是蜂鸣器的功能，程序里有改写Option Byte，我的芯片烧写几次之后就不能烧写了。错误如下面提示。看到有帖子说在Option Byte里面的ROP改为disable，再enable就可以解决问题。但是我打开Option Byte发现ROP只有&amp;quot;READ O ...]]></description>
      <category>STM8</category>
      <author>aleelove</author>
      <pubDate>Thu, 17 Jul 2014 12:08:22 +0000</pubDate>
    </item>
    <item>
      <title>STM8外中断唤醒有问题</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-591784-1-1.html</link>
      <description><![CDATA[在停机状态，用外中断来唤醒时，只能唤醒一次，为什么这样？？？？？？？？？？
 

#include  &amp;quot;iostm8s003f3.h&amp;quot;
#define  nop() asm(&amp;quot;nop&amp;quot;)
#define K1  PD_IDR_IDR4  //按键
#define LED PD_ODR_ODR2  //LED指示，低亮
void delay(unsigned char i)
{
 unsigned ...]]></description>
      <category>STM8</category>
      <author>hificwc-319059</author>
      <pubDate>Wed, 16 Jul 2014 10:02:46 +0000</pubDate>
    </item>
    <item>
      <title>为何函数内部变量初始化不执行!请大师指点</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-591549-1-1.html</link>
      <description><![CDATA[stm8s207 下面的函数中u16 adcTemp=0; 该变量在仿真的时候无法初始化。我用的是cosmic。
本人在使用stlink2仿真单步执行时，发现进入该函数后执行 u8 i=0;后应该执行u16 adcTemp=0;
但是仿真的结果是跳过了u16 adcTemp=0;该变量的初始化，这是为什么呢？请高人指点！！ ...]]></description>
      <category>STM8</category>
      <author>riptell</author>
      <pubDate>Sun, 13 Jul 2014 09:35:32 +0000</pubDate>
    </item>
    <item>
      <title>【求助】STM8S103FP6的TIM2的捕获功能</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-591477-1-1.html</link>
      <description><![CDATA[ 想用STM8S103FP6的TIM2的捕获功能测仪方波的脉宽，但每次采集回来的数都是0。
///////////////////////////////////TIM2初始化///////////////////////////////////////////
void Tim2_Init(void)
{  
    TIM2_DeInit();
    TIM2_TimeBaseInit(TIM2_PRESCALER_ ...]]></description>
      <category>STM8</category>
      <author>tianruoliang</author>
      <pubDate>Sat, 12 Jul 2014 07:13:25 +0000</pubDate>
    </item>
    <item>
      <title>STM8S使用库函数编译提示没有定义</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-591398-1-1.html</link>
      <description><![CDATA[ 本人刚接触单片机，现在想用自带蜂鸣器的功能，附件是我的代码，请各位帮我看看，谢谢！
错误提示：clnk -l&amp;quot;C:\\Program Files\\COSMIC\\CXSTM8\\Lib&amp;quot;  -o Debug\\led.sm8 -mDebug\\led.map Debug\\led.lkf 
#error clnk Debug\\led.lkf:1 symbol _FLASH_Unlock not defined ...]]></description>
      <category>STM8</category>
      <author>aleelove</author>
      <pubDate>Fri, 11 Jul 2014 05:06:39 +0000</pubDate>
    </item>
    <item>
      <title>关于STM8L时钟切换问题</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-591384-1-1.html</link>
      <description><![CDATA[我用的单片机型号：STM8L052R8，时钟切换不正常，在debug时候发现，一执行CLK_SWCR_SWEN = 1命令，debug出错： Failed to read memory at 0x50C7: SWIM error [30004]: Comm timeout
Failed to read memory at 0x50C8: SWIM error [30004]: Comm timeout
Failed to read ...]]></description>
      <category>STM8</category>
      <author>谈笑之间</author>
      <pubDate>Fri, 11 Jul 2014 04:00:53 +0000</pubDate>
    </item>
    <item>
      <title>STM8 I2C硬件连续运行情况下接收数据时发送地址后接收不到应答信号。</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-591273-1-1.html</link>
      <description><![CDATA[ void I2C_Init(void)
{
        I2C_close();]]></description>
      <category>STM8</category>
      <author>风-417456</author>
      <pubDate>Thu, 10 Jul 2014 02:30:49 +0000</pubDate>
    </item>
    <item>
      <title>STM8F103电源管脚易对地短路</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-591040-1-1.html</link>
      <description><![CDATA[我在用STM8F103调试防夹电机时，发现单片机电源管脚老是对地短路，都烧死2个了。到底是单片机本身问题还是电路设计有问题？感觉有点怕怕，批量时出问题就麻烦啦！]]></description>
      <category>STM8</category>
      <author>jackliu-417543</author>
      <pubDate>Tue, 08 Jul 2014 03:26:37 +0000</pubDate>
    </item>
    <item>
      <title>STM8的C语言延时及外部中断编程</title>
      <link>https://qa-shequ.stmicroelectronics.cn/thread-591035-1-1.html</link>
      <description><![CDATA[ STM8s103f3的C语言延时及外部中断编程
 最近想上手玩一下stm8s103f3，开发板已经有了，想用实际应用促进学习进程，设计了一个控制流程，恭请高人依照如下控制流程编写一个c语言程序，如能成功烧写进去运行，将赠送简装版攀登者瑞士军刀一把，不成敬意，略表心意。也 ...]]></description>
      <category>STM8</category>
      <author>小马达</author>
      <pubDate>Tue, 08 Jul 2014 02:42:32 +0000</pubDate>
    </item>
  </channel>
</rss>