完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
我正在使用UM_0884来了解有关STM8S发现的更多信息,一切顺利,直到我连接蜂鸣器,如第6/23页所示。问题是它不起作用。 hyperterminal.c似乎工作,它调用beeper enable但没有任何反应。它确实进入BEEP_Cmd,但它如何将信息发送到io端口?看起来它使用tim2但是time2永远不会被初始化。任何人都可以告诉我错误是在手册或代码中?
查尔斯 以上来自于谷歌翻译 以下为原文 I am using UM_0884 to learn more about STM8S-discovery and everything wa going good until I connected the beeper as shown on page 6/23. The problem is it doesn't work. hyperterminal.c seems to work and it calls beeper enable but nothing happens. It does get into BEEP_Cmd but how does it send information to an io port? It looks like it uses tim2 but time2 is never initialized. can anyone tell me were the mistake is in the manual or code? charles |
|
相关推荐
7个回答
|
|
|
要在PD4上启用蜂鸣器输出,您需要使用STVP设置AFR7进入选项字节选项卡。
brazov2 以上来自于谷歌翻译 以下为原文 To enable beeper output on PD4 you need to set AFR7 using STVP go in the option byte tab. brazov2 |
|
|
|
|
|
我打开STVD并使用cosmic加载我的超级终端项目。在哪里可以找到您提到的选项字节选项卡。我看一下工具栏上的标签,找不到它。非常感谢您的帮助。
查尔斯 以上来自于谷歌翻译 以下为原文 I open STVD and load my hyperterminal project using cosmic. Where do I find the option byte tab you mention. I look at the tabs on the tool bars and cannot find it. thank you so much for trying to help. charles |
|
|
|
|
|
查尔斯你好,
- 您可以通过点击:工具>程序员来访问STVP。并按''运行STVP''按钮。 - 在STVP中:转到Option-Byte选项卡,修改AFR7选项并点击''Program> Current tab'' 最好的祝福 格罗姆 以上来自于谷歌翻译 以下为原文 Hello Charles, - You can access STVP by clicking on : Tools>Programmer. and push ''run STVP'' button. - in STVP : go to Option-Byte tab , modify the AFR7 option and click on ''Program>Current tab'' Best Regards Grom |
|
|
|
|
|
查尔斯你好,
不要混用STVD和STVP。它们都是ST工具集的一部分。 选项字节选项卡brazov2正在谈论的是STVP菜单的一部分。 最好的祝福 stefast 以上来自于谷歌翻译 以下为原文 Hello Charles, Do not mix STVD and STVP. They are both part of the ST toolset. The option byte tab brazov2 is talking about is part of STVP menu. Best regards stefast |
|
|
|
|
|
我正在使用设备:STM8S105x6
董事会:ST-LINK 端口:USB 编程模式:SWIM 但似乎在试图设置AFR7后,我已经失去了与我的RS232的通信,即。我的电脑。有什么建议么? 我不确定我在ioptons字节中做了什么,我只是点击了AFR7,左边和右边都没有发生任何事情。另外,我不知道我是如何安装STVD的。我是stm8s-discovery工具包的新手 以上来自于谷歌翻译 以下为原文 I am using Device: STM8S105x6 Board: ST-LINK Port: USB Programming Mode: SWIM but it seems as if after trying to set AFR7 that i have lost communication with my RS232 ie. my computer. Any suggestions? I am not sure I did anything in the ioptons byte I simply clicked on AFR7 both left adn right and nothing seemed to happen. Also, I don't know how I installed STVD in the first place. I am a newbee to the stm8s-discovery kit |
|
|
|
|
|
我正在改进,但仍然没有。我在AFVD中设置了AFR7,但它仍然无法工作,所以到目前为止,我还有一些调试要做
chaarles 以上来自于谷歌翻译 以下为原文 I am making improvments, but still not there. I have AFR7 set in STVD but it still doesn't work so I hve some debugging to do thanks so far chaarles |
|
|
|
|
|
在STVD选择菜单TOOLS上,然后选择PROGRAMMER选项卡SETTINGS,最后点击按钮RUN STVP并查看附件。
brazov2 以上来自于谷歌翻译 以下为原文 On STVD select menu TOOLS, then PROGRAMMER then select tab SETTINGS and finally click on button RUN STVP and see attachment. brazov2 |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1453 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1502 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3649 浏览 1 评论
3842 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2461 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
727浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
661浏览 5评论
710浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
941浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
745浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 04:52 , Processed in 1.773880 second(s), Total 84, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1849