Uart question in FC4
Posted: Wed Nov 14, 2012 12:59 pm
Hi guys
I have a question about the uart macro in FC4, with respect to the hardware and "soft" uart
options. The situation is i will be receiving and sending data on the hardware TX/RX, but also
need another TX on some other i/o pin. So the question is, if i enable hardware uart for the
normal TX/RX pair(macro properties select box), will i be able to set another uart macro
properties for soft TX on another i/o in another part of the program when i need to do this?
Will this not confuse the properties of the macro box that had already the hardware uart set
or cause some sort of clash or override?
Also if this is possible, when the soft uart is setup in the macro box, what happens to the
actual hardware uart pins? (do they become inactive/idle), as the hardware uart port will
be interrupt driven. I am just concerned that i may miss in-coming char on the hardware
uart RX when the "soft" uart TX is busy.
Sorry quite a mouthful, but i need to ask this as its a bit of a puzzle otherwise and may
complicate the pcb design to make provision for other flow control ability. The "soft" uart TX
will be used for xon/xoff flow control.
Thanx
Mark
I have a question about the uart macro in FC4, with respect to the hardware and "soft" uart
options. The situation is i will be receiving and sending data on the hardware TX/RX, but also
need another TX on some other i/o pin. So the question is, if i enable hardware uart for the
normal TX/RX pair(macro properties select box), will i be able to set another uart macro
properties for soft TX on another i/o in another part of the program when i need to do this?
Will this not confuse the properties of the macro box that had already the hardware uart set
or cause some sort of clash or override?
Also if this is possible, when the soft uart is setup in the macro box, what happens to the
actual hardware uart pins? (do they become inactive/idle), as the hardware uart port will
be interrupt driven. I am just concerned that i may miss in-coming char on the hardware
uart RX when the "soft" uart TX is busy.
Sorry quite a mouthful, but i need to ask this as its a bit of a puzzle otherwise and may
complicate the pcb design to make provision for other flow control ability. The "soft" uart TX
will be used for xon/xoff flow control.
Thanx
Mark