Created Sat, 31 Mar 2012 16:36:55 +0000 by lalqaeh
Sat, 31 Mar 2012 16:36:55 +0000
Hello,
I have a Chipkit MAX32 with mpide_0023_windows. I used the externel interrupt INTO with no problem. But now I want to use the UART interrupt but I don't find the interrupt fonction for UART. How do I write what I want to detect the arrival of a word on RX?
Thank you.
Wed, 04 Apr 2012 02:29:29 +0000
http://ww1.microchip.com/downloads/en/DeviceDoc/32bitPeripheralLibraryGuide.pdf
See page 232.
You should be able to use MCHP api calls inside of mpide. Ive done it.
I think you should be able to get away with :
ConfigIntUART1(UART_RX_INT_EN);
You might need to enable interrupts , and specify a priority, but try that out and see if it works.