cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rone22
Visitor
Visitor
6,422 Views
Registered: ‎02-08-2008

Using Xuartlite for RS232 communication with computer

Hi everybody,
 
I have a problem, I would like to know how to do to receive 4 bytes comming from the computer ?
For the moment, I use in interrupt on RS232_Uart_1 and I use DATA = XUartLite_Recv(@ptr instance,XPAR_RS232_UART_1_BASEADDR,4);
 
But what I don't know it's if as I will receive the 4 bytes, they would be stored in the 4 * bytes in uart receive buffer, or if they would be written one after the other at
XPAR_RS232_UART_1_BASEADDR[0] ??
 
Another question is what must I write for @ptr instance ??
 
Could someone help me?
 
Thanks
 
Rone
0 Kudos
0 Replies