Well, the concept you may be missing is that the Tx data register simply CAN'T be read at all, not in the simulator or on the real thing, because it shares an i/o port address with the Rx registers. Although there really are two registers on the chip, a write to that port address writes to the Tx register, while a a read reads the Rx register, a completely different register. This applies to the Low part of the register, bu the high part is slightly different with regards to bit T8. If you look in the spec, that is the same bit for both read and write. Odd, but thats the way it is. You can stop worrying about that. What you see is what would be expected.
If you are using CodeWarrior, try generating sample code in Processor Expert. As far as I know this should work in the simulator at least the Tx interrupts should happen.
There are some samples
here that might help as well. These were wirtten for the DP, and may apply to the C version as well.
Message Edited by JimDon on
2008-02-09 01:00 AM