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

LPC2378: Unable to recieve data from serial hyperteminal to serial port

when i giv the getkey() commmand, the hyperterminal doesn't accept any value. However i am able to transmit from serial port to hyperterminal using sendchar or printf..
eg,
sendchar (65);
this displays A, as it should

But if i give :
int i;
printf ("enter your choice 1/2/3");
i=getkey();
sendchar(i);

this does not accept anything at the hyperterminal only the message after printf is displayed.

Please help...

Parents
  • Yes it may sound silly but i have tried everything i could..
    I know it is a very simple mistake i am making but can't figure it out.

    I connected the COM1 of the board, (as i was using UART1) to that of the computer.
    The transmitting part is working fine, but i am not able to recieve any thing..Do i have to do any other settings in the Hyperterminal or board which i am overlooking..

Reply
  • Yes it may sound silly but i have tried everything i could..
    I know it is a very simple mistake i am making but can't figure it out.

    I connected the COM1 of the board, (as i was using UART1) to that of the computer.
    The transmitting part is working fine, but i am not able to recieve any thing..Do i have to do any other settings in the Hyperterminal or board which i am overlooking..

Children
No data