完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好!今天的问题是:我有5个控制器,PIC16F83A,我想使用第一个像一个显示驱动器和按钮/修剪控制器。另外4个微控制器是将PWM和照明光投射到透视图上。我只想使用一个晶体或振荡器,将它连接到主和SoaveOSC1上,或者只在Savave1引脚OSC1中的主和OSC2中连接它。在这里,我找到了关于振荡器种类的设置(RC,HS,XP,LP)。足够写HS,连接振荡器OSC1还是我需要写其他的线?
以上来自于百度翻译 以下为原文 Hello evrybody. The problem of the day is: I have 5 controllers, pic16F873A, and i want to use the first like a display driver and buttons/trimmer controller. Other 4 micro are to generare the pwm and lighting the trafic light on the diorama. I would like to use only one Crystal or oscillator and connect it on the master and slave in OSC1 or connect it only in the master and OSC2 in the slave1 pin OSC1 ... I never done this. I'd found the configuration word options at pg.120. Here i found the setting about the kind of oscillator (rc, hs, xp, lp). Is enough to write HS and connect the oscillator on OSC1 or i need to write other lines? |
|
相关推荐
8个回答
|
|
它可以工作如果你很小心。你需要连接OSC2/OSCO从第一个PIC到OSC1/OSCI在第二个PIC。把一个33 R电阻器串联,以减少负载和过冲。做同样的从第二个PIC到第三(OSCO到OSCI系列电阻器)。你没有提到什么速度水晶你A。重新使用,但是如果它超过4MHz,那么所有图片中的HS模式。你为什么使用这样一个古老的图片?你可以在不需要水晶的同一个包中买到便宜的PIC16F1xxx芯片。
以上来自于百度翻译 以下为原文 It can work if you are careful. You need to connect OSC2/OSCO from the first PIC to OSC1/OSCI on the second PIC. Put a 33R resistor in series to reduce loading and overshoot. Do the same from the second PIC to the third (OSCO to OSCI with a series resistor). You did not mention what speed crystal you are going to use, but if it's over 4MHz, then HS mode in all the PICs. Why are you using such an ancient PIC? You could get cheaper PIC16F1xxx chips in the same package which don't need a crystal at all. |
|
|
|
我尽量小心。-我会像你说的,电阻器分开…我将把它串联在每个连接OSCO OSCI. 20MHz或40MHz。在代码中,我在HS模式下设置配置字。但是,我需要在代码O中指定其他这一点吗?那么,微型识别信号种类,并把OSCO的频率?OSCI中的信号必须是方波,还是可以像晶体,正弦?谢谢,但是我的实验室里有很多图片,还有16F816F87A,但是第一个是穷的,第二个是富的。谢谢。
以上来自于百度翻译 以下为原文 I try to be careful. :-) I'd do like you tell, resistor apart... I'll put it in series in each connection OSCO-OSCI. 20MHz or 40MHz. In the code i set the configuration word in HS mode. But, i need to specify other in the code o this is enaugh? So, the micro recognize the signal kind and put on OSCO the frequency? The signal in OSCI, must be a square wave or it can be like crystal, sinusoidal? Thanks, but i have many of thi pic in my lab, and some 16F84 and 16F877A, but the first is to poor, and the second is to rich. Thanks |
|
|
|
如果在LKOUT信号上的其他PIC的负载太多,则可能需要使用缓冲区。像MCP1401或1402这样的栅极驱动器可以工作(而且它非常便宜,而且在小型SOT-23-5封装中)。但是HC04或HC14或类似物可能更好。
以上来自于百度翻译 以下为原文 If the load of the other PICs on the CLKOUT signal is too much, you might want to use a buffer. A gate driver like the MCP1401 or 1402 might work (and it's pretty cheap and in a small SOT-23-5 package). But an HC04 or HC14 or similar might be better. |
|
|
|
保罗,我正在使用这个模式。HTTP://www. McMexult.It/IsIs/PutoRals/InPopy/OsStuts.PnGi从来没有这样的电路,我不知道。我昨天就把它建起来了,它的价值不是我所需要的,很明显。用20MHz的晶体,我放两个1K电阻,一个100NF电容,一个IC 7HC04(我只有这个在我的商店里)。
以上来自于百度翻译 以下为原文 Paul, I'm using this schema. http://www.microcontroller.it/images/tutorials/IntroPic/oscextser.png I never do a circuit like this and i don't know it. I'd build it yesterday and the value on draft ins't what i need, obviously. Working with 20MHz Crystal I put two 1K resistor, one 100nF capacitor, one ic 74HC04 (i have only this in my shop). |
|
|
|
你不能向外馈电40MHz,只有10 +锁相环的“波形”,它应该是方形,YEP:但一些“宽容”可能会工作…
以上来自于百度翻译 以下为原文 You can't feed 40MHz externally, only 10+PLL As for the "waveform" it should be square, yep: but some "tolerance" will possibly work... |
|
|
|
你什么意思?PLL?我用的是20MHz晶体。如果我在OSCO中接受信号,它将是BoSCi/4。如果我将其他PIC连接到同一个7404外引脚,则具有相同的频率。
以上来自于百度翻译 以下为原文 What do you mean? PLL? I'm using 20MHz crystal. If i take the signal in OSCO it will be OSCI/4. If i connect others pic to the same 7404 out pin i have the same frequency. |
|
|
|
您提到40MHz,我回答说,您不能馈电40MHz(通过晶体或振荡器),只有10,内部使用PLL 20MHz是可以的,但我不希望在OSCO提供5MHz:我确信这不是晶体的情况下(显然),我想这不会发生与振荡器(但)我没有尝试过)
以上来自于百度翻译 以下为原文 You mentioned 40MHz and I replied that you can't feed 40MHz (via Crystal or Oscillator), only 10 and internally use PLL. 20MHz is ok but I would not expect 5MHz to be provided at OSCO: I am sure this is not the case with a Crystal (obviously), and I suppose this won't happen with an Oscillator (but I did not try it) |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
5306 浏览 9 评论
2070 浏览 8 评论
1973 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3243 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2279 浏览 5 评论
827浏览 1评论
719浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
664浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
716浏览 0评论
616浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-1-25 09:07 , Processed in 1.479432 second(s), Total 89, Slave 73 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号