Cypress技术论坛
直播中

杨军

8年用户 304经验值
私信 关注
[问答]

Creator路线错误

在PSoC 4上,下面将不进行路由。但是,如果我做SAR 1通道,
单端,它成功地与外部多路复用器路由。好像
这是工具错误吗?

以上来自于百度翻译


     以下为原文
  On PSOC 4 the below will not route. However if I make SAR 1 channel,
    single ended, it routes successfully with an external mux. Seems like
    this is a tool error ?
     
   

回帖(6)

王琳

2019-1-17 14:00:58
不是工具错误。有一个图片的psoc4内部显示“地址复用器直接连接到IO引脚,另一端接SAR。没有区别,当你提供你自己的频道切换你的“自己”AMUX或使用测序的SAR和内部地址复用器(这是完全相同的底层硬件)。
鲍勃

以上来自于百度翻译


     以下为原文
  Not a tool error afaik. There was a picture of the PSoC4 internals which showed that "the" AMUX was directly connected to the IO-pins and the other side was connected to the SAR. There is no difference when you provide your own channel-switching with your "own" AMUX or using the sequenced SAR and the internal AMUX (which is quite the same underlying hardware).
     
    Bob
举报

王琳

2019-1-17 14:14:09
我才意识到是什么意思,你期待的创造者能够驱动混合AMUX测序SAR应尽可能的利用资源而由软件否认。唯一的出路是:使用一个或另一个。
鲍勃

以上来自于百度翻译


     以下为原文
  I just realize what exactly you mean, you are expecting Creator to be able to drive a mix of AMUX and sequenced SAR which SHOULD be possible with the avail resources but is denied by the software. Only way out is: Use one OR the other.
     
    Bob
举报

杨军

2019-1-17 14:25:50
“唯一的出路是:使用一个或另一个。”
我试图确定这是否是一个创造者工具错误。我会张贴一个案子,
我本应该这么做的。

以上来自于百度翻译


     以下为原文
  "Only way out is: Use one OR the other."
     
    I am trying to establish if this is a Creator tool error. I will post a CASE,
    I should have done that.
举报

杨军

2019-1-17 14:35:30
技术支持的结果
你所面临的错误是预期的行为。SAR序列ADC使用硬件AMUX,因此它期望输入序列ADC来自模拟引脚(因为硬件AMUX使用在PIN上的开关)。如果您想使用外部AMUX,则可以将SAR序列ADC的信道数配置为1,并在ADC外部具有AMUX(硬件或软件)以复用模拟信号。这消除了路由问题。

以上来自于百度翻译


     以下为原文
  The results from Tech Support -
     
    The error you are facing is an expected behavior.

The SAR sequence ADC uses hardware amux and hence it expects inputs to sequence ADC come from analog pins(since hardware AMUX uses the switch at pin).

If you want to use an external AMUX, then you may configure the number of channels of SAR sequence ADC to 1 and have an AMUX (hardware or software) external to the ADC to multiplex the analog signals. This eliminates the routing problems.
 
举报

更多回帖

发帖
×
20
完善资料,
赚取积分