STC最新的下载软件上也有波特率从计算器,可以参考这个帖子:
STC-ISP下载软件贴心工具: 波特率计算器,自动帮您算好 - 定时器/计内部时钟,计数器/计外部脉冲,时钟分频输出,软件延时 - 国芯论坛-STC全球32位8051爱好者互助交流社区 - STC全球32位8051爱好者互助交流社区https://www.stcaimcu.com/forum.php?mod=viewthread&tid=191&extra=page%3D1
请问STC8H或者STC32G支持4线串口么?最高波特率能到多少?能超过1Mbps么?谢谢! 4组串口,波特率可 8M bps 以上
13918210822 发表于 2023-8-4 19:20
请问STC8H或者STC32G支持4线串口么?最高波特率能到多少?能超过1Mbps么?谢谢! ...
The highest BAUD is Sysclk/4, but the code also needs to be able to keep up, if you want to handle many bytes.
There is no mention of handshake lines, but software control of handshake lines is possible.
Transmit from MCU will add stop bits if the MCU is unable to load bytes fast enough, and can poll a wait pin from the remote if needed.
Receive could be helped by using DMA, but then you have difficulty creating an outgoing handshake line.
Get the various UART-USB examples and test them, at higher baud speeds.
Thanks a Lot. that meaning remote also need support USB-CDC driver, currently remote host can run linux, so linux usb-cdc driver should be loaded first.
Maybe, USB-CDC is silver bullet for mcu like 251.
页:
1
[2]