??? 03/06/07 19:33 Read: times |
#134410 - Thanks for a patience reply Responding to: ???'s previous message |
First of all, thanks for being understanding and come out with such a patience reply.
Pin 3.1 is shared between port 3 and the UART TxD. Keep port bit 3.1 = 1 at all times, and it will work. It was dumb of me not to figure it out earlier, but i found it know. Thanks for reminding :) Close. The command should be mov sbuf, #'A' What you did was load sbuf with the address of the accumulator (0e0h) Thanks for the clarification and pointing out the difference between the two method of input. No, no, no, no. The move instruction only works on one byte at a time. You will need to put your data in a buffer, and create a loop that will fetch one byte at a time and send it. Again, this is a very clear explanation, and i fully understand what are you trying to say. Not enough information. We need your oscillator frequency, and the desired baud rate. And, you are better off using timer 2's baud rate capability. I am thinking to use the Timer 1 auto-reload mode to set up the baud rate instead of using oscillator frequency (it's 11.0592Mhz by the way) since the baud rate would be too large if i were to use the oscillator frequency as the timing method (i think) . As i havent mentioned earlier, i do not actually know what is supposed to be my desired baud rate. And, uhmm... i do not think my uC has Timer 2, it has only 2 timer (Timer 0 and Timer 1) |