Hyperterminal and DEMOQE128

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Hyperterminal and DEMOQE128

3,005 次查看
shumpi55
Contributor I
Hi all,
I am using DEMOQE128 board. I am using SCI to transmit a charachter 'H' and display it on the hyperterminal(XP). But i cannot see anything on the hyperterminal. My baud rate is 9600. I think the busclock is 4MHz.
Please help me out.
标签 (1)
0 项奖励
回复
5 回复数

1,113 次查看
erooll
Contributor II
Hi.

Are you using the DB9 attached?
In this case you need to enable Max3218, you need change jumper J205 and set PTC5 to 1 in order to enable MAX IC.




Message Edited by erooll on 2008-07-08 09:26 PM
0 项奖励
回复

1,113 次查看
shumpi55
Contributor I
I have enabled PTC5. There is no jumper J205 in this board. i am using MC9S08QE128 micro-controller. I am using the DB9 attached to the board.
0 项奖励
回复

1,113 次查看
kef
Specialist I
J8 jumper could be removed at all and R9 pullup will enable MAX3218. J8 can be also set to PTC5 position. Either you drive PTC5 high or leave it in default input mode (R8 pullup will enable MAX3218).
Did you reconfigure J7 and J8 from USB-TX/RX to MAX-TX/RX? In USB position you can send/receive only via USB and P&E terminal program. Having J7 and J8 in MAX-TX/RX you send/receive only via DB9 connector.
0 项奖励
回复

1,113 次查看
shumpi55
Contributor I
how do I set J7 and J8 in Max Tx/Rx ?
My program is as follows:
SCI1C1=0x40;
SCI1C2=0x08;
PTCDD_PTCDD5=1;
PTCD_PTCD=1;
SCIBDL=0x1A;//baud rate=9600bps and bus freq=4MHz.
for(;:smileywink:{
while((SCI1S1 & 0x80)==0);
SCI1D='H';
}


0 项奖励
回复

1,113 次查看
kef
Specialist I
J6, J7 and J8 are jumpers on the DEMOQE, close to RS232 connector. DEMOQE schematic should be on your PC if you installed P&E DemoQE toolkit.
Your code looks good and should work.
Also you may save a lot of time using easier than Hyperterminal program, like this free one from Elmicro : http://elmicro.com/files/occonsole_v30.zip


Message Edited by kef on 2008-07-09 07:01 PM
0 项奖励
回复