Forum Discussion
Altera_Forum
Honored Contributor
20 years agoUART Control
Good morning everybody, I need to find out if it is possible to independantly switch the transmitter or receiver on / off. The reason for this is that I have the TX and RX lines connected throu...
Altera_Forum
Honored Contributor
20 years agoI don't think there is a way to separately control Tx/Rx enables, but you can separately turn the interrupt enables on/off. If you disable Rx interrupts while you are transmitting then you won't see your own reflection. At the end of Tx you can read the Rx register (twice) to empty it then enable the interrupt. Don't forget, when you load the last character of your Tx into the UART it hasn't yet been sent. I hope this might be of some help.
Banx.