This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

a problem about serial communication with cc1010 dk

hey all
I uploaded to cc1010 chip an example about serial comm with pc and cc1010 development kit.
I have used the hyper terminal.
With using example program I am supposed to see the chars which I typed to the hyper term. window but I cant. Im sure there is no prblem with the exaple program.

and also is serial window box usable to see transmitted chars or received chars ?
thanks.....

  • sorry I meant with my question ;
    which type of chars are shown at serial window transmitted? or received?

  • I'm not familar with the CC1010 Development Kit so I will attempt to answer your question from the Keil Debugger and Hyperterminal.
    The Keil Debugger Serial window will show both Tx characters and Rx characters. Hyperterminal can be set to echo local characters but by default it will show received characters.
    I Opened Keil's example 'Hello World' project and changed the TH1 reload value to 243 and added PCON |= 0x80; to set the SMOD1 bit to 1. This gave me a baud rate of 9614.
    I set Hyperterminal to 9600,N,8,1 with NO handshake.
    In the Debugger command line I set MODE to COM1 to open a PC com port. Then ASSIGN COM1 <SIN0 >SOUT. Running the 'Hello World' program printed the hello message in both the debugger serial window and Hyperterminal. Note this is only an output example. See the Debugger manual for the MODE and ASSIGN keywords.

  • Sorry. I meant to add the note to see the many serial examples in the App Notes on Keil's Web site.

  • thank you for your information but as i sais I use cc1010dk and evaluation bord to gether ther is a program and when we made this program run on the chip, I mean when I type sth on hyper term window the green len is on which is located on the eval bord.(green led is on shows us there is a communication with pc and cc1010)
    The thing is even the green led is on the eval bord I cant see the chars which is sent from eval bord.So I souldnt choose the box of echo chars at the setting of hyper terminal.
    Did you get it (sorry for my english I wish I could be more clear)

    thanks anyway......