Page 1 of 1

failure at RXINT1

Posted: Fri Sep 30, 2016 11:28 pm
by Pascal_2016
Hello

I belive the UART channel 2 interrupt have a failure.

CPU 32MX250
UART channel 2

the following code causes the failure:

IEC1bits.U2RXIE = 1;
IPC8bits.U2IP = 1; ==> this command code belongs to the UART cannel 1. The wrong code is IPC9bits.U2IP = 1;
IPC9bits.U2IS = 0;
INTCONbits.MVEC = 1;
__builtin_mtc0(12,0,(__builtin_mfc0(12,0) | 0x0001));

Re: failure at RXINT1

Posted: Tue Oct 04, 2016 11:32 am
by Benj
Hello,

I have managed to find and fix the problem in the definition files. There was a surprising number of interrupt issues I came across while investigating this issue which all should hopefully be sorted now.

http://www.flowcode.co.uk/mmforums/viewt ... 63&t=18182

Let me know how you get on.