Two serial ports one cog
electric550
Posts: 122
Has anybody run more than one serial port in a single cog, simultaneously? Or should I expect to be using two cogs to have two serial ports at 115200?
Comments
-Phil
Serial line two would need to send out low data rate sensor data, and receive low data rate commands...say 3 times a second
possibly another thing...the data being sent OUT is very similar. Is it possible to transmit the serial data out on two pins at the same time? That way minimal extra processing would go on. The RX lines would still need to be different because they would be sending different data.
So I would say that it could get by with half duplex, although full duplex would be nice.
I guess hooking up two serial ports to one pin on the prop would allow for data to be sent out on both, but I would like to avoid that if possible.
Great job!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
JMH