完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
关于PSOC5上ADC SAR组件的一个快速问题:
我在单镜头8位模式下使用ADCXAR,每8ms读取一次。我使用ADCXAR的内部ISR来检测转换的结束并读取该值。如果我以这种方式检测EOC,仍然需要/推荐ISDeNosithType()吗?这似乎是多余的,因为当ISR单独启动时,确认转换完成。 提前感谢您的澄清! 以上来自于百度翻译 以下为原文 A quick question regarding the ADC SAR Component on the PSoC5: I am using the ADC_SAR in single shot 8-bit mode to take a reading every 8mS. I am using the internal ISR of the ADC_SAR to detect the end of a conversion and read the value. If I am detecting EoC in this fashion, is the call to IsEndConversion() still required/recommended? It seems like it would be redundant, since when the ISR fires that alone would confirm that the conversion is done. Thanks in advance for the clarification! |
|
相关推荐
2个回答
|
|
我对PSoC是相当新的,但我正在使用ADCXAR,正如你所描述的。我使用EOC输出触发转换数据的DMA内存传输。我没有对ISTENTRONTROSE()进行任何调用。我不相信这对你是必要的。
以上来自于百度翻译 以下为原文 I am fairly new to the PSOC, but I am using the ADC_SAR as you describe. I am using the eoc output to trigger a DMA memory transfer of the converted data. I am not making any calls to the IsEndConversion(). I don't believe it will be required for you. |
|
|
|
河南顺之航 发表于 2018-11-23 08:52 谢谢,我想你是对的,这不是严格要求的。我最大的担心是,可能有一个寄存器状态或位可能需要在ISDeNeXTIONTHORE()中读取状态寄存器,但事实并非如此。我更想知道它是否仍然被认为是“最佳实践”,用这个AccSARR组件来进行这个调用,以确保组件在下一个读取中处于正确的状态。 以上来自于百度翻译 以下为原文 Thanks, I think you're right, it's not strictly required. My biggest concern was that there is possibly a register state or bit that would maybe need to be cleared on read of a status register in IsEndConversion(), but it appears that is not the case. I was more wondering if it was still considered "Best Practice" with this ADC_SAR component to make that call anyway to ensure the component is in the correct state for the next read. |
|
|
|
只有小组成员才能发言,加入小组>>
754个成员聚集在这个小组
加入小组2100 浏览 1 评论
1846 浏览 1 评论
3664 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1782 浏览 6 评论
1532 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
556浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
410浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
433浏览 2评论
379浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
905浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-19 00:05 , Processed in 0.992588 second(s), Total 80, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191