04-20-2011 01:03 AM
I write a program about the xuartlite receive interrupt.my purpose is to send the text thorough the compiuter,that will cause the recevice interrupter.in the recevice interrupt function,it sends "helloworld" to the computer.but it just doesn't work.How to use the Xuartlite recevie interrupt?
void RecHandler(void *CallBackRef, unsigned int ByteCount)
// XUartLite_Send(&xuar,p ,10);
// XUartLite_Recv(&xuar,pStr ,10);
04-20-2011 08:41 AM
04-20-2011 09:38 PM
04-21-2011 05:54 AM
It doesn't look like you have setup the interrupt system alongside of UartLite driver.
Missing calls to initialize, connect, and enable the interrupt controller driver. Not sure which version of the tools you are using but look for the example driver file for the Uartlite - such as the "xuartlite_intr_example.c".
For me the file is located in the following directory:
04-25-2011 03:37 AM