Em 21/11/2011 17:12, Electron escreveu: > At 17.36 2011.11.21, you wrote: >>> The ports exist, I can read and write them fine using the 4 byte FIFO >>> in the PIC UART's, but I need to make them interrupt driven rather than >>> have to pole them. The Chip is the PIC32MX695F512L. and I am using >>> UART1 for communications with a Telit GSM Module, UART2 for an RFID >>> reader, UART4 for a console interface and UART5 to drive an RS485 BUS. >>> I am also using the USB and the SPI BUS both of which are working, but >>> I am not sure that that would impact on the UART4 interrupt handling >>> though. >>> >>> Cheers >>> Chris >> Somewhere (again it was probably the Microchip Forum) someone noted=20 >> that these chips share interrupts around peripherals - rather like the=20 >> PIC16 & 18 families ... >> >> It's not just a case of correctly identifying the appropriate=20 >> interrupt share? I haven't dealt with the PIC32 family so have no=20 >> experience with programming them. > Yes, there are more interrupt sources than interrupt vectors, and this > may indeed be the case. > > I invite Chris to check the reference manuals on interrupts, I assumed > by default that he had already verified this. > > Document # 61108F: > http://ww1.microchip.com/downloads/en/DeviceDoc/61108F.pdf > > perhaps even a look at the UART one may shed light on the shared vector > hypotesis: > http://ww1.microchip.com/downloads/en/DeviceDoc/61107F.pdf=20 > > I hope this is useful. If I'm not mistaken, the modules that share interrupt vectors also share pins, so only one of them will be active at any time. Isaac --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .