完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
PIC24FV32 KA302IT建议在本论坛其他地方,可以设置VREF+= Vdd,那么如果Vdd是“低”,则测量带隙值将“看起来很高”,反之亦然。这是一种不用外部电阻分压器来监测VDD的方法。我想把这项技术结合到一个阈值检测扫描- PIC坐在“睡眠”,直到它看到一个“足够小的带隙”& lt;& &“VDD是健康的”。但是,我看不到匹配的缓冲寄存器的内部带隙。通常,比较值放在那里。我假设匹配缓冲区RG必须存在,否则将没有点允许它作为A/D输入(除了差分转换可能)。但是似乎有一个匹配的A/D输入扫描选择寄存器,CSS26,但是这是一个猜测,基于O。在AD1CHS“CH0S”位中,当然,这些比特不被用于阈值检测。有一些模式,我可以把期望的带隙通道的比较值放入RAM中,PIC的阈值检测扫描硬件会看到它吗?22.1.2 A/D结果缓冲器//DS3995D页210模块包含一个多字双端口RAM,称为ADC1BUF。缓冲器由至少有相同数量的字位置作为外部和lt;-(!)问题!)用于特定设备的模拟信道,最大数目为32。
以上来自于百度翻译 以下为原文 PIC24FV32KA302 It was suggested elsewhere on this forum that one can set VREF+ = Vdd, then the measured band-gap value will "seem high" if Vdd is "low" and vice-versa. This is a way to monitor Vdd without external resistor dividers. So far, so good. I had wanted to incorporate this technique into a Threshold Detect scan - the PIC sits in 'sleep' until it sees a "small enough band-gap" <--> "Vdd is healthy". However, I see no matching Buffer Register for the internal band gap. Normally, the comparison value is placed there. I suppose a matching buffer reg must exist, otherwise there would be no point allowing it as an A/D input (other than differential conversion maybe). There seems to be a matching A/D Input Scan Select Register though, CSS26, but this is a guess, based on the AD1CHS "CH0S" bits - of course, these bits are not used for Threshold Detect. Is there some mode whereby I can place the desired comparison value for the Band Gap channel into RAM, and the PIC's Threshold Detect scan hardware will see it? 22.1.2 A/D RESULT BUFFERS //DS39995D-page 210 |
|
相关推荐
4个回答
|
|
虽然我在参考手册的DS中找不到,但是人们似乎用ADC1BUF0来读BAND-GAPP。PS:注意到高/低电压检测模块(HLVD)。这将完全解决它,除了预设的跳闸点并不完全适合我的应用程序。
以上来自于百度翻译 以下为原文 Although I can't find it in the DS of reference manual, people seem to use ADC1BUF0 to read the band-gap. PS: Just noticed the High/Low-Voltage Detect module (HLVD). That would solve it completely, except the preset trip points are not at all ideal for my application. |
|
|
|
|
|
|
|
嗯……他们怎么会这么不准确呢?这些仅仅是非常宽松的公差吗?&“行程(任一方向),在某个范围(4.28…4.87)V”中,或者,它们(不知何故)显示滞后现象吗?&“旅行超过4.87”,“4.28岁以下”?
以上来自于百度翻译 以下为原文 Hmm... How do they make it so inaccurate? Are these simply very loose tolerances? --> "trip (either direction), somewhere in the range (4.28...4.87) V" Or, do they (somehow) show hysteresis? --> "trip 'over 4.87', 'under 4.28'? |
|
|
|
我以为它们是迟滞的,但是我没细想细节…我只是在电池过低时得到警报
以上来自于百度翻译 以下为原文 I assumed they were hysteresis, yep: but I did not dig much into details... I just get an alert when battery gets too low |
|
|
|
只有小组成员才能发言,加入小组>>
4814 浏览 9 评论
1823 浏览 8 评论
1743 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
2949 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2055 浏览 5 评论
452浏览 1评论
1107浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
355浏览 0评论
260浏览 0评论
LAN9252使用SQI通信,进行数字复位后读BYTE_TEST异常
1777浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-18 07:16 , Processed in 1.127610 second(s), Total 77, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号