[Moved] how to send more character from UART

Status
Not open for further replies.

akshada

Member level 3
Joined
Jun 29, 2010
Messages
67
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
india
Activity points
1,746
As you all know that UART FIFO is of 16 byte long.i want to know how can i send a character more than 16 bytes say 100 bytes continiously
 

Re: how to send more character from UART

You have posted in the wrong section so I'm not sure if you refer to a microcontroller but assuming that you do there should be an interrupt you can use that is triggered when the fifo is empty so you add more data and there is a also a flag that you can check continuously in a loop and add data when it's set.
 

first be clear if the problem is pertaining to a micro-controller or not
 

hello all,

thanks for the reply at last.

My code to send characters is:

void UART_Send(char * string)
{

while(*string!='\0')
{
while(!(U0LSR & U0_TEMT));
U0THR = *string++;
}
}
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…