I am trying to implement an interrupt driven Serial interface on both UART1 and UART4 useing the Microchip C32 compiler and am getting this error: uart_interrupt.c:174:1: error: Vector number must be an integer between 0 a= nd 63 with this code snippet: void __ISR(_UART4_VECTOR, ipl2) IntUart2Handler(void) { // Is this an RX interrupt? if(INTGetFlag(INT_SOURCE_UART_RX(UART4))) { // Clear the RX interrupt Flag INTClearFlag(INT_SOURCE_UART_RX(UART4)); // Echo what we just received. PutCharacter(UARTGetDataByte(UART4)); // Toggle LED to indicate UART activity mPORTAToggleBits(BIT_7); } // We don't care about TX interrupt if ( INTGetFlag(INT_SOURCE_UART_TX(UART4)) ) { INTClearFlag(INT_SOURCE_UART_TX(UART4)); } } It compiles fine for UART1and UART2 but not UART4. Any Idea what I am missing, or is UART4 not supported by interrupts? Thanks Chris --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .