dsPIC33EP512GM710 UART Interrupt warning

An area to discuss 16-bit PIC specific problems and examples

Moderator: Benj

Post Reply
lexicon
Flowcode v5 User
Posts: 55
Joined: Mon Apr 06, 2015 6:30 pm
Has thanked: 20 times
Been thanked: 22 times
Contact:

dsPIC33EP512GM710 UART Interrupt warning

Post by lexicon »

When using the UART RX interrupt I see the following message during compilation:

In function '_U1RXInterrupt':
coff-cc1.exe: warning: _U1RXInterrupt PSV model not specified for '_U1RXInterrupt';
assuming 'auto_psv' this may affect latency

Not sure if this is significant or not as the interrupt works fine.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: dsPIC33EP512GM710 UART Interrupt warning

Post by Benj »

Hello,

You can safely ignore the warning. It's just saying that interrupts are assigned vectors automatically. If you assign your own vectors then the latency (the time from interrupt being triggered to your interrupt macro being called) may be very slightly decreased or at least can be reordered so the highest priority interrupt has the lowest latency, but this is a very advanced feature which most users will not require.

Post Reply