failure at RXINT1

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
Pascal_2016
Posts: 89
Joined: Wed Aug 31, 2016 4:48 pm
Been thanked: 4 times

failure at RXINT1

Post 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));

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: failure at RXINT1

Post 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.

Post Reply