Muxable External Interrupts for PIC32MZ...

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
Brendan
Posts: 243
Joined: Tue Nov 27, 2012 12:53 pm
Location: Cambridge, UK
Has thanked: 140 times
Been thanked: 118 times
Contact:

Muxable External Interrupts for PIC32MZ...

Post by Brendan »

Hi Ben.

Many thanks for the recent updates, with 'FC7_Latest_Files_051216' patch downloaded and applied.

I noticed an issue however with pin-selectable external interrupts (specifically, for the 32MZ2048EFG144 chip that we're using). I'm setting up to monitor 20 x system fan tachos, organised as five banks of four fans, with four muxable external interrupts monitoring four tachos (i.e. one bank) at a time.

INT1 to INT4 are pin-muxable so suit the job nicely, though all four interrupts presently show as the same pins (correct for INT3) in the Interrupt component drop-down. Not all are present for the 144-pin chip above (i.e. only those available for 64-pin chips), but not an immediate issue for us as we only require four of the nine selectable pins presently available.

Thanks and best regards,

Brendan

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: Muxable External Interrupts for PIC32MZ...

Post by Benj »

Hi Brendan,

Many thanks for the spot. I have fixed the INT1-INT4 sections in the attached FCD. I'm now going through the other devices in the family and fixing these too.
32MZ2048EFG144.fcdx
(78.02 KiB) Downloaded 191 times
Just copy the file to your "Flowcode 7/FCD/PIC32BIT" folder and restart Flowcode for the changes to be loaded.

Brendan
Posts: 243
Joined: Tue Nov 27, 2012 12:53 pm
Location: Cambridge, UK
Has thanked: 140 times
Been thanked: 118 times
Contact:

Re: Muxable External Interrupts for PIC32MZ...

Post by Brendan »

That's terrific - Thanks Ben :D


Best regards,

Brendan

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: Muxable External Interrupts for PIC32MZ...

Post by Benj »

Here are all the fixed files. Let me know how you get on.
PIC32MZ.zip
(541.44 KiB) Downloaded 222 times

Brendan
Posts: 243
Joined: Tue Nov 27, 2012 12:53 pm
Location: Cambridge, UK
Has thanked: 140 times
Been thanked: 118 times
Contact:

[SOLVED] Muxable External Interrupts for PIC32MZ...

Post by Brendan »

Thanks Ben.

I can confirm download and use of the PIC-specific update, with all associated pin-selectable options present and correct. Furthermore, muxed bank select table created in the flow, and the project builds successfully :D

I'll update all to the latest zip.

Many thanks,
Brendan

Post Reply