完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
从数据表
SOC -输入* 转换开始(SOC)是可选的PIN。如果选择硬件触发器采样模式,就会看到它。该输入的上升沿开始ADC转换。如果调用SARYSTART()函数时输入很高,转换将立即开始。在第一次转换之后,输入端的上升沿将开始ADC转换。这个信号应该与ADCYSAR时钟同步。如果将示例模式参数设置为自由运行,则隐藏该I/O。 似乎说如果我选择HW触发SOC将显示,否则隐藏。但它说只有它 隐藏,如果我选择自由运行。下面我设置为SW触发器,SoC显示了什么? 以上来自于百度翻译 以下为原文 From datasheet - soc – Input * The start of conversion (soc) is an optional pin. You see it if you select the Hardware Trigger sample mode. A rising edge on this input starts an ADC conversion. If this input is high when the SAR_Start() function is called, a conversion will start immediately. After the first conversion, a rising edge on the input will start an ADC conversion. This signal should be synchronized to the ADC_SAR clock. If you set the Sample Mode parameter to Free Running, this I/O is hidden. Seems to say if I select HW trigger SOC will show, otherwise hidden. But then it says its only hidden if I select free running. Below I set to SW trigger, and SOC is showing ? |
|
相关推荐
3个回答
|
|
顺便问一下,原始帖子说AR配置错误?应该是
合成孔径雷达配置误差? 以上来自于百度翻译 以下为原文 By the way, orginal post says AR Configuration Error ?, should have been SAR Configuration Error ? |
|
|
|
该引脚显示或隐藏时的描述是不正确的。目的是展示这个引脚除非你在自由运行模式,所以在这段底部的说法是正确的。你提出的问题是什么呢在软件触发方式的情况下,你应该怎么做的销。我将在这里描述3种模式:
-自由运行:SOC不存在。 硬件触发:SoC是目前是触发启动转换。 软件触发器:SOC是存在的。如果你只想做基于软件的转换,然后你可以离开这个引脚连接(默认连接到0)或者你宁愿将所有的显式连接的输入(我的偏好)那么你可以连接一个常数0。如果你想使用的硬件和软件组合触发操作,那么这是设置使用。在这种情况下,你可以使用硬件触发,直到你让startconvert()第一个电话。在这一点上,SOC引脚是残疾人和转换只能由软件通过调用startconvert()触发。如果你想使用硬件触发又是启用的stopconvert()。你可以看到,startconvert()和stopconvert(),开关是否硬件触发活跃的副作用。 - Brad 以上来自于百度翻译 以下为原文 The description of when this pin is shown or hidden is incorrect. The intention is to show this pin unless you are in the Free Running mode, so the statement at the bottom of the paragraph is correct. That brings up the issue of what does it do in the case of Software Trigger mode and what should you do with the pin. I'll describe the 3 modes here: - Free Running: SOC is not present. - Hardware Trigger: SOC is present and is the trigger to start conversions. - Software Trigger: SOC is present. If you only want to do software based conversions, then you can leave this pin unconnected (it is connected to a 0 by default) or if you would prefer to have all the inputs with explicit connections (my preference) then you can connect a constant 0. If you want to use a mix of hardware and software triggered operation, then this is the setting to use. In this case you can use hardware triggering until you make the first call to StartConvert(). At that point the SOC pin is disabled and conversions are triggered only by software by making more calls to StartConvert(). If you want to use hardware triggering again it is enabled by StopConvert(). You can see that StartConvert() and StopConvert() have the side effect that they switch on and off whether hardware triggering is active. - Brad |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
715个成员聚集在这个小组
加入小组1896 浏览 1 评论
1651 浏览 1 评论
3401 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1567 浏览 6 评论
1379 浏览 1 评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
180浏览 2评论
179浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
318浏览 2评论
344浏览 1评论
58浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-19 10:35 , Processed in 2.066729 second(s), Total 73, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号