Is There A Real UART for the Propeller 1?
JonTitus
Posts: 193
in Propeller 1
I have seen many examples of "UART" objects written in assembly language and SPIN for the Prop-1. But a "real" UART should offer a choice of number of data bits (usually 7, 8, or 9), number of stop bits (1, 2, or even 1.5), and parity (none, even, odd). None of the code I've examined so far provides for these options. Have I missed something?
There are 9-bit UARTs; the ninth bit used as an indicator for an address or control byte. This mode is common in some industrial controls and data-acquisition equipment.
I'd rather use a Propeller for an application that scrounge on Ebay for an 8251 chip or switch to a different MCU.
Thanks for any help or suggestions.
There are 9-bit UARTs; the ninth bit used as an indicator for an address or control byte. This mode is common in some industrial controls and data-acquisition equipment.
I'd rather use a Propeller for an application that scrounge on Ebay for an 8251 chip or switch to a different MCU.
Thanks for any help or suggestions.
Comments
UARTs on the Propeller are made in software. There are many examples. They can be adapted to whatever data bits, parity, stop bits you want.
They can be adapted to do things "real UARTs" could not.
It's not so hard.
As for 9th bit mode I use it all the time for my own one-wire/RS485 networking that also handles commands at the protocol level without disturbing or interrupting the "main CPU". Real smart UART, hey?
The OBEX is another matter though and if you can't find the one you need then you either modify one or roll your own to suit. It's all a small matter of programming
Ditto on the bloat thing. If id does everything for everybody, probably nobody is going to be thrilled with it.
forums.parallax.com/discussion/comment/962586/#Comment_962586
Andy
Jon