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.
Hi
I have hyper terminal, but i need a software which sends data continuously which is preprogrammed.for example if i need a continious sequence0x01 at port 2.an example of such a software is **broken link removed** need something different.my purpose is to send a sequence of data to a UART...
Hi
Any have a software which can generate serial data sequence or ASCi charactors through the output ports(USB/SERAIL) of a pc.
Thanks in advance
Arun8-O
the programs again stuks inside the while loop by incrementing the time, it is not checking the if time == limit. when the program got stuck, i went to debug mode and find out that the program loop between while and time++...
my project uses uart 0 and uart 1 for both reception and...
i tried values 2000 and 5000, but now my U0 not rx charactor,waits in the while loop, iam going to implement the same function there too int UART0_getchar (void) {
while (!(LPC_UART0->LSR & 0x01))
{
}
return (LPC_UART0->RBR);
}
- - - Updated - - -
int...
i prefer the trial and error method, so i just defined #define LIMIT 2
- - - Updated - - -
#define END_COMMAND 0x00
main(void)
{
uint32_t *temp_ptr;
int pelcod_payload_status = 0;
int pelcod_message_type = 0;
//int i = 0 ; // counter
// Initialise the LEDs
LED_init();
//...
Hi venkadeshm
can i use delay(2) directly in Limit in first case?
- - - Updated - - -
Can you please explain the function of this (LPC_UART0->LSR & 0x01)
Hi
Iam attaching the UART function used in my program.please have a look at the code( the LPC UART init) and discribe the proper way to implement it
//****************************************************************************
// LPC122X Hardware setup
//...
Hi venkadeshm ,
How can i adjust the limit with baud rate?what is the use of that?can you please explain it for me?
my baud rate used for receiving and transmitting is 9600.
Thanks
Arun
Can any one have an idea in building a function which will wait only for 10 ms after that it jumps from the loop and clear the previous data s stored in both uarts (UART0 AND UART1).My intention is that UART 1 will not wait for the remaining characters,after a particular time.The UART is waiting...
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...
Hi,
Any have an idea about receiving strings without waiting more than 3 ms.
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...
Hi
i am writing a program which receives 0x03 and 0x04 strings continusly via UART0 and sends to a device through UART1.The device responds with a 3 bit data for each command(0x03 and 0x04).
DEVICE-1 sends 0x03 =>uart0----- LPC1227-----UART1=>0x03 to the device2
DEVICE-2 sends 0x01...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.