Cypress技术william hill官网
直播中

申换换

7年用户 1526经验值
私信 关注
[问答]

如何设置ECO输入引脚上的振荡器数字时钟

以下是关于AN5439关于外部晶体振荡器的摘录:
如果没有使用MHz或KHz ECO,ECO引脚上的外部时钟信号可以使用KHz或MHz的晶体输入引脚将外部时钟信号路由到ECO时钟网络上。这允许使用这些时钟网络代替时钟树中通常的DSI时钟网络。外部时钟可以通过KHz和MHz XTALIN引脚路由到该部分。XTALOUT引脚应该允许浮动。理想情况下,外部信号应该是轨到轨正弦或方波。如果信号的幅度太低,则它们不能被正确地翻译成数字信号。这些信号必须在ECOS的额定频率,在32.768 kHz或4-25兆赫。外部时钟也可以到部分使用GPIO路由。详情见an60631 PSoC 3和PSoC -®5lp时钟资源。
我想用MEMS振荡器为MHz的32kHz生态和生态。这听起来像我可以配合他们每个生态输入正确,但它不说我需要设置的创造者。它具有所有微调晶体如故障恢复,参数调整的幅度,并参考水平。有人知道我在这种情况下会用到什么设置吗?同时,它说它应该是轨到轨输入,但铁路是我们在谈论什么?我打算用5V只有一个或两个端口,但MEMS振荡器似乎是3.3V的最大多数时间。似乎为港口生态VDDIO引脚都不会有任何的影响由于引脚被用在一个不同的方式,对吗?我们将不胜感激。

以上来自于百度翻译


     以下为原文
   Here's an excerpt from AN54439 about external crystal oscillators:
    Using an External Clock Signal on the ECO Pins
If the MHz or kHz ECO is not being used, an external clock signal may be routed onto the ECO clock nets using the kHz or MHz crystal input pins. This allows the use of these clock nets in place of the usual DSI clock net in the clock tree. External clocks can be routed into the part through the kHz and MHz XtalIn pins. The XtalOut pins should be allowed to float. Ideally, the external signals should be rail-to-rail sine or square waves. If the amplitude of the signals is too low, they may not be properly translated into digital signals. These signals must be within the frequency ratings of the ECOs, either at 32.768 kHz or 4-25 MHz.
External clocks can also be routed into the part using the GPIOs. For more details, see AN60631 - PSoC® 3 and PSoC 5LP Clocking Resources.
     I want to use MEMS oscillators for both the MHz ECO and the 32khz ECO.  It sounds like I can tie them right to the input of each ECO, but it doesn't say anything about how I would need to set it up in Creator.  It has all the parameters for fine tuning the crystal such as fault recovery, amplitude adjustment, and reference levels.  Anyone know what settings I would use in this case?  Also, it says it should be a rail to rail input, but which rail are we talking about?  I'm planning on using 5V for all but one or two ports, but the MEMS oscillators seem to be 3.3V max most of the time.  It seems like the VDDIO for the port where the ECO pins are located would not have any effect since the pin is being used in a different mode, right?  Some guidance would be greatly appreciated.

回帖(8)

姜钰

2019-7-17 14:25:17
ECOS是需要外部晶体的振荡器威廉希尔官方网站 。这就是配置的目的。你的MEMS振荡器是一个独立的组件。因此,您需要配置PSoC,只需使用外部时钟信号。我知道它有可能兆赫生态,但我不是那么肯定的KHz生态(我没有时间现在检查)。只要看看时钟配置屏幕…

以上来自于百度翻译


     以下为原文
  The ECOs are oscillator circuits needing an external crystal. Thats what the configuration is for. Your MEMS oscillators are an standalone component. So you need to configure PSoC for just using an external clock signal. I know that its possible for the MHz ECO, but I'm not so sure about the kHz ECO (and I lack the time now to check). Just look in the clock configuration screen...
举报

杨军

2019-7-17 14:38:18
您可以直接联系MAX(AP注释的作者),并在这里发布
其余的william hill官网 。
Max k@ CyPress
AP注释没有讨论ECO AMP是标准的逻辑逆变器还是特定的AMP。
设计,所以一个懒惰的R R问题(我猜是VSSD到VDDD)会是这样的
猜测,不应该被认为是足够的。
你可以建议马克斯Rev他的AP笔记包括你问的基本问题。
问候,Dana。

以上来自于百度翻译


     以下为原文
  You might contact max (author of ap notes) directly, and post back here for the
    rest of the forum.
     
    maxk@cypress.com
     
    Neither ap note discusses if ECO amp is a standard logic inverter or a specific amp
    design, so anwering R-R question (my guess is Vssd to Vddd) would be just that, a
    guess, and should not be considered sufficient.
     
    You might suggest max rev his ap note(s) to include the basic questions you are asking.
     
    Regards, Dana.
举报

姜钰

2019-7-17 14:49:05
更深入地阐述:
时钟配置只允许为IMO馈送外部时钟,但不针对ILO,外部时钟信号通过DSI(数字信号互连)路由,因此它是一个正常的外部信号,意味着外部振荡器需要提供逻辑电平信号(CMOS或TTL)I。T可以将振荡器连接到振荡器的XI输入端,而XO管脚打开应该工作,但是TRM没有说什么(虽然AN51439确实)输入信号仍然受最大额定值(当不使用时,它们是正常的GPIOs,所以输入ValTAG)。E应该在0V - Vdd),我想用数字信号工作最好。

以上来自于百度翻译


     以下为原文
  To elaborate a little bit deeper:
   
        
  • the clock configuration allows only to feed an external clock for the IMO, but not for the ILO    
  • the external clock signal is routed through the DSI (digital signal interconnect), so it is a normal external signal    
  • that means the external oscillator needs to supply a logic-level signal (CMOS or TTL)    
  • it might be possible to just connect your oscillators to the XI inputs of the oscillators, and leave the XO pins open
         
            
    • should work, but the TRM doesn't say anything about it (though AN54439 does)      
    • input signals are still subject to maximum ratings (they are normal GPIOs when not used, so input voltage ashould be in 0V - Vdd), and I guess using a digital signal works best     
       
举报

杨军

2019-7-17 14:58:21
对于32千赫,你将通过内部路由到
放大器设计的振荡,如果它不是一个标准的CMOS反相器
喜欢用GPIO结构,其水平偏差可能需要解决的问题,
需要用Max来确认。
我会发邮件给Max和点他这个帖子,看看我们得到什么。
问候,Dana。

以上来自于百度翻译


     以下为原文
  For the 32 Khz, you will be coming thru the internal route to the
    amp designed for oscillation, if its not a standard CMOS inverter
    like used in GPIO structures, its levels/bias may need to be addressed,
    need to be confirmed with max.
     
    I will email max and point him to this thread, and see what we get.
     
    Regards, Dana.
举报

更多回帖

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