dsPIC33EP512GM710 UART Interrupt warning

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

Moderator: Benj

Flowcode v5 User
Posts: 44
Joined: Mon Apr 06, 2015 6:30 pm
Has thanked: 16 times
Been thanked: 15 times

dsPIC33EP512GM710 UART Interrupt warning

Postby lexicon » Mon Apr 30, 2018 12:24 pm

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
Matrix Staff
Posts: 14139
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4329 times
Been thanked: 4074 times

Re: dsPIC33EP512GM710 UART Interrupt warning

Postby Benj » Mon Apr 30, 2018 5:28 pm


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.
These users thanked the author Benj for the post (total 2):
lexicon (Tue May 01, 2018 8:42 am) • ronaldlijs (Tue Mar 26, 2019 12:27 am)
Rating: 11.11%