UniqueLion 发表于 2011-7-17 15:25:59

avr单片机 串口UART不够用,请问怎么扩充?

需要2~3个UART,现在的altmel644p,只有一个

谢谢

avr-qq 发表于 2011-7-17 16:01:08

换片子

huayuliang 发表于 2011-7-17 16:12:56

MRGA640 有4个。。

MEGA64 有2个,可以用软件方式实现一个,就可以有3个了。

hetao7241 发表于 2011-7-17 16:15:43

atmega64,128都是2个,

不行用AVR系列的,用STM32系列的可以达到3-5个

luckystone 发表于 2011-7-17 16:26:45

换芯片呗,有的型号是多串口的,或者就用其他端口软件模拟串口

lisn3188 发表于 2011-7-17 16:56:52

ATXMEGA32a4

• Peripheral Features
– Four-channel DMA Controller with support for external requests
– Eight-channel Event System
– Five 16-bit Timer/Counters
Three Timer/Counters with 4 Output Compare or Input Capture channels
Two Timer/Counters with 2 Output Compare or Input Capture channels
High-Resolution Extensions on all Timer/Counters
Advanced Waveform Extension on one Timer/Counter
– Five USARTs
IrDA Extension on one USART
– Two Two-Wire Interfaces with dual address match (I
2
C and SMBus compatible)
– Two SPIs (Serial Peripheral Interfaces) peripherals
– AES and DES Crypto Engine
– 16-bit Real Time Counter with Separate Oscillator
– One Twelve-channel, 12-bit, 2 Msps Analog to Digital Converter
– One Two-channel, 12-bit, 1 Msps Digital to Analog Converter
– Two Analog Comparators with Window compare function
– External Interrupts on all General Purpose I/O pins
– Programmable Watchdog Timer with Separate On-chip Ultra Low Power Oscillator

jasonzhu8888 发表于 2011-7-17 17:16:12

用模拟量开关芯片切换,比如HC4053。
不过这种方法需要自己做切换,不适合连续输入不能丢数据的场合!

ShuJi187 发表于 2011-7-17 18:52:25

扩几个嘛,CH432T,两个的,SPI

Garbage614 发表于 2011-7-17 20:37:42

用广播的方式按照一定规律发送数据(加数据开始字符),然后接收方检测,分辨

gallle 发表于 2011-7-17 20:57:40

atmegax64

sinside 发表于 2011-10-15 13:28:11

为什么要那么多个UART,能不能当成uart总线,都挂在上面呢

lu976046395 发表于 2013-7-14 16:05:35

mark      
页: [1]
查看完整版本: avr单片机 串口UART不够用,请问怎么扩充?