Page 1 of 1

Muxable External Interrupts for PIC32MZ...

Posted: Mon Dec 05, 2016 1:23 pm
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

Re: Muxable External Interrupts for PIC32MZ...

Posted: Mon Dec 05, 2016 1:45 pm
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 242 times
Just copy the file to your "Flowcode 7/FCD/PIC32BIT" folder and restart Flowcode for the changes to be loaded.

Re: Muxable External Interrupts for PIC32MZ...

Posted: Mon Dec 05, 2016 1:51 pm
by Brendan
That's terrific - Thanks Ben :D


Best regards,

Brendan

Re: Muxable External Interrupts for PIC32MZ...

Posted: Mon Dec 05, 2016 2:06 pm
by Benj
Here are all the fixed files. Let me know how you get on.
PIC32MZ.zip
(541.44 KiB) Downloaded 288 times

[SOLVED] Muxable External Interrupts for PIC32MZ...

Posted: Mon Dec 05, 2016 2:36 pm
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