PIC #1:
TXSTA.5 = 1 ' TXEN: Transmit Enable bit
hserout [ "[1]" ]
while TXSTA.1 = 0 ' Check TRMT: Transmit Shift...
Yes, they'll definitely be tri-state.
Demon Yesterday, 22:56I decreased the pause to 300uSec so everything is in the window when zoomed in.
The 2 transmits are working just fine, with the framing error over on the right.
9758
In post 8 the trace is showing that the analyzer is detecting a framing error being generated by the transmitter when it sends the ']' and disables TXEN.
The TX data line should never idle low......
It's an awesome project. I can almost see the light at the end of the tunnel. I've done unit tests of every component all the way up to interfacing with MS Flight Sim. I'm just not seeing why I...
Demon Yesterday, 22:22don't give up on yourself or sell yourself short !...... it is a good project :)
amgen Yesterday, 22:07Question: why do people use TX INT?
I can understand why you want to use RX INT, cause you don't know when the data will be incoming, but I do know when the data is being transmitted.
I'm just...
But the 2nd RX PIC receives perfectly. It's the 1st TX PIC that gives a framing error. And yet the 2nd RX gives an ACK using the HSEROUT structure, and it can DISABLE transmitter just fine.
I...
I'll be adding several more PICs on the network later, along with a tri-state BUSY line. The BUSY line will determine which PIC will be permitted to TRANSMIT at any given time. And that's why I...
Demon Yesterday, 21:49
Re: Framing error if I disable transmitter after shift register is empty?
IT'S THE DARN PIC !
Demon Today, 00:20I swapped the coding between the 2 PICs, and PIC #1 now has a framing error every time it tries to disable the transmitter.
9760
I'm going to swap it for another unit...