大叶子 发表于 2024-9-7 08:01:06

用 AI8051U 来,方便替换,不信,你试试,就上瘾

jmg 发表于 2024-9-7 08:18:06

pxc 发表于 2024-9-6 17:25
请问下STC89C516RD+和STC90C516RD+有升级版吗,比这两个的处理速度快,但是还是兼容8051。因为我测试了这 ...

You need to check the SFR's used in your project.
The 80C320 itself is not quite 8051/8052 compatible, for example I can already see 80C320


CKCON 8Eh



conflicts with the usual8051 AUXR at 8Eh






80C320 can use timer 2 for UART, whilst STC parts use other BAUD options.


You could also look at the AT89LP51RD2, which is more standard Timer2 etc and faster core. (Tho not quite as fast as STC8H)


holtek 发表于 2024-9-7 08:52:44

STC90C516RD+可以

holtek 发表于 2024-9-7 08:53:34

直接不可以替换,要做一些修订

pxc 发表于 2024-9-12 17:50:57

soma 发表于 2024-8-29 19:35
4个时钟/机器周期(8032 = 12)
看这个感觉如果涉及时间就不可以,要改程序。

我原方案是DS80C320 4T + 11.0592MHz方案,按道理我现在用STC89C516RD+ 6T + 20MHz的
性能比原方案强吧,但是串口9600波特率还是有中断重叠的情况,按道理不应该出现这情况。

autopccopy 发表于 2024-9-12 19:05:51

pxc 发表于 2024-9-12 17:50
我原方案是DS80C320 4T + 11.0592MHz方案,按道理我现在用STC89C516RD+ 6T + 20MHz的
性能比原方案强吧, ...

主频升高了近一倍,当然更强。如有源码则调试串口程序到正常。如果引脚兼容,试试AI8051U...

150

qike009 发表于 2024-9-12 20:45:41

{:4_188:}直接替换不一定行
页: 1 [2]
查看完整版本: 请问有没有原样替换的单片机方案啊