Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

LPC 1227 UART 1 receiving delay

Status
Not open for further replies.

arunkollam

Junior Member level 2
Junior Member level 2
Joined
Jun 26, 2008
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,412
Hi,

Any have an idea about receiving strings without waiting more than 3 ms.


Code C - [expand]
1
2
3
4
5
6
7
8
9
10
11
int UART1_getchar (void)
 
    {
 
if (!(LPC_UART1->LSR & 0x01))
    {
    
    }
 
return (LPC_UART1->RBR);
    }



i tried to remove the loop, but it making errors in receiving the second and third data.so i need a proper counder or timer to me executed after sending the data.

Thanks
Arun
 
Last edited by a moderator:

Hi
Iam working on a project based on uart communication on LPC 1227.The problem is that when ever i send a data through uart0 , my program is expected to receive a acknowledgement via uart1.so when ever the received data is missing or received in error, my program hangs and wait for the data which never come.So i need a function to identify the absence of string to avoid this hanging.

Thanks
Arun
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top