完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
亲,
在我计划的应用中允许的振荡器频率容差为1%。我想使用HSI并定期进行校准。有一个描述过程+ SW代码的应用笔记。在那里应用的方法是测量一些参考频率并比较测量频率与已知值。频率参考应由外部晶体产生。方法还可以,但这样就需要外部晶体(=金钱,PCB位置)。我想到了另一种方法。我想用温度传感器校准HSI振荡器。最好的事情是构建任何线性(或另一个)函数 - 频率(温度),但数据表没有频率与温度特性(只有-2到+ 2%的范围),所以如果我想要这种方法,我可以尝试在实验中自己找到这个功能,或者稍微另一种方法是建立一个查找表,也在实验中。 在提到的应用程序中。注意我发现了关于这种方法的简短通知,但我有点怀疑也许我错过了一些东西而且我没注意这种方法可能存在的潜在问题? 我现在看到的应用程序将处于Active Halt模式,唤醒时间为1秒。唤醒后,它将在让我们说300us时运行。在此运行模式或甚至5秒内,我可以打开仅需要20us的温度传感器进行测量。 任何帮助都会很高 赞赏。 E.L。 以上来自于谷歌翻译 以下为原文 Dear, The allowed tolerance of oscillator frequency in my planned application is 1%. I'd like to use HSI and periodically to calibrate it. There is an application note describing the process + SW code. The method applied there is to measure some referenced frequency and to compare the measured frequency vs the known value. The frequency reference should be generated by an external crystal. The method is OK, but in this way external crystal is required( = money, PCB place). I thought about another approach. I'd like to calibrate the HSI oscillator with temperature sensor. The best thing would be to build any linear(or another) function - Freq (temperature) but the Datasheet does not have Freq vs Temperature characteristic ( just a range of -2 to +2 %), so if I want this approach I could try to find the function by myself in experiment, Or slightly another method is to build a look-up table, also in experiment. In the mentioned App. note I found a brief notice regarding this method, but I have a little doubt perhaps I'm missing something and I'm not paying attention to a potential problem that might exists with this approach ? My application, as I see it now, will be in Active Halt mode with a wake-up period of 1 sec. Upon the wake-up it will be run during let's say 300us. During this run-mode or even one in 5sec I may turn on the temperature sensor that needs just 20us to be measured. Any help would be highly appreciated. E.L. |
|
相关推荐
2个回答
|
|
嗨Yevpator,
只需一条评论,HSI频率取决于电源电压(VDD),因此您的实验应在与最终应用相同的电压下完成。 如果您打算通过电池为STM8L供电,那么您应该对其进行处理。 以上来自于谷歌翻译 以下为原文 Hi Yevpator, Just one comment, the HSI frequency depends on the supply voltage (VDD) so your experiments should be done at the same voltage as the final application. If you are planning to power your STM8L by a battery so you should take care of it. |
|
|
|
由于内部LDO,Vdd对HSI没有影响。
HSI可以在计划时削减 lowpowermcu 2011年6月29日星期三下午7:44 STM8L15x内部RC振荡器校准 嗨Yevpator, 只需一条评论,HSI频率取决于电源电压(VDD),因此您的实验应在与最终应用相同的电压下完成。 如果您打算通过电池为STM8L供电,那么您应该对其进行处理。 以上来自于谷歌翻译 以下为原文 Because of The internal LDO, Vdd is not impact to HSI. HSI can trim when program lowpowermcu Wednesday, June 29, 2011 7:44 PM STM8L15x internal RC oscillator calibration Hi Yevpator, Just one comment, the HSI frequency depends on the supply voltage (VDD) so your experiments should be done at the same voltage as the final application. If you are planning to power your STM8L by a battery so you should take care of it. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
1474 浏览 1 评论
2142 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1511 浏览 1 评论
2836 浏览 6 评论
5271 浏览 21 评论
365浏览 4评论
557浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
282浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
634浏览 3评论
533浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-27 11:26 , Processed in 0.426550 second(s), Total 44, Slave 38 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号