using hyperterminal with QE128 demoboard

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

using hyperterminal with QE128 demoboard

3,915 Views
shumpi55
Contributor I
how do we send data from serial port of MC9SQE128 micro-controller to a hyperterminal? I  tried connecting to the hyperterminal but nothing appears on the screen. I checked my program too.




Labels (1)
Tags (1)
0 Kudos
11 Replies

1,021 Views
fabio
Contributor IV
The jumpers J6, J7 and J8 are configured correctly ?

Best regards,
0 Kudos

1,021 Views
shumpi55
Contributor I
jumper J8 is SCI Transciever enable COM_EN.(PTC5)
Do I have to enable PTC5 in the program?


0 Kudos

1,021 Views
fabio
Contributor IV
Hello Shumpi55,

Yes, in order to use the built-in level shifter, you need to place jumper J8 in COM_EN position, configure PTC5 as an output and force it to 1:

PTCDD_PTCDD5 = 1;  // PTC5 as an output
PTCD_PTCD5 = 1; // PTC5 = high

This sequence is not present on example 11.10 in my book (because I tested it using the built-in BDM serial channel). I'll update the errata file with a tip about that and add the proper code sequence.

Best regards,
0 Kudos

1,021 Views
shumpi55
Contributor I
I tried running the program by enabling PTC5 but i did not get anything on the hyperterminal.:smileysad:
I used the following program:
void main(void){
SOPT1=0x23;
SCGC1=0x01;
SCI1BDL=0x1A;
SCI1BDH=0x00;
SCI1C2=0x0C;
PTCDD_PTCDD5=1;
PTCD_PTCD5=1;
SCI1D='H';
while(1);
}
But it did not work and I did not get 'H' on hyper terminal. The hyperterminal config was
9600bps baud rate
8 bit mode
No parity checked
1 stop bit
No flow control



0 Kudos

1,021 Views
fabio
Contributor IV

Hi Shumpi55,

Maybe you could try example 11.10 of my book. It is a circular buffer using the SCI on the MC9S08QE128. The whole project file can be downloaded at:

www.sctec.com.br/hcs08

Best regards,

0 Kudos

1,021 Views
J2MEJediMaster
Specialist I
Are you getting anything to appear at all in Hyperterminal? If not, you might need a null modem cable to connect the two device's serial ports.

---Tom
0 Kudos

1,021 Views
shumpi55
Contributor I
this is my problem. Nothing appears on the hyperterminal. I connected the demo board and pc using RS232 cable. I used the hyper terminal present in XP.
0 Kudos

1,021 Views
J2MEJediMaster
Specialist I
Try checking this forum thread for a similar problem. You may need to configure your board as a DTE, or use a null modem cable.

---Tom

0 Kudos

1,021 Views
shumpi55
Contributor I
thanks....
0 Kudos

1,021 Views
shumpi55
Contributor I
thanks... I will try that program.
0 Kudos

1,021 Views
shumpi55
Contributor I
thanksFabio........::smileyhappy:
0 Kudos