Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/13/06 14:18
Read: times


 
Msg Score: -3
 -3 Looks like homework
#118230 - I Can't Transmit Using Serial Port
hai Every One,

Processor Used: 89S8252

Problem: Couldn't Transmit A Byte Using Serial Port.

Code Written in C as below

in while(1) i am having some other application code such as LCD etc.
when ever i wish to transmit a byte i am doing as below

while(1)
{
if data ready
{
TI = CLEAR
SBUF = data;
while(!TI);
}
}

in serial interrupt routine i had below code for transmit handling

serial interrupt
{
if(TI)
TI = 0;
if(RI)
{
;
;
}
}

Thanks & Regards
Sudheer

List of 7 messages in thread
TopicAuthorDate
I Can't Transmit Using Serial Port            01/01/70 00:00      
   This looks familiar:            01/01/70 00:00      
      a guess            01/01/70 00:00      
         For the sake of completeness:            01/01/70 00:00      
   Which C compiler?            01/01/70 00:00      
      Compiler            01/01/70 00:00      
         Hai            01/01/70 00:00      

Back to Subject List