Interrupt component fails on PIC32MZ
Posted: Fri Nov 20, 2020 4:16 pm
Hi team.
Attached is an extract from a project which exemplifies an issue with the interrupt component when deployed with the challenging PIC32MZ2048EFG144.
Exactly the same macro is called in the loop as by interrupt. Clock settings therefore appear AOK and the loop approach works fine, but all interrupt timers I've tried are no-go. The attached allows either loop or interrupt to be enabled for test.
It's probably unfair to expect Flowcode to be able to handle all such complex devices, so if not a conventional bug as-such, then is there a workaround I can employ?
Many thanks,
Brendan
Attached is an extract from a project which exemplifies an issue with the interrupt component when deployed with the challenging PIC32MZ2048EFG144.
Exactly the same macro is called in the loop as by interrupt. Clock settings therefore appear AOK and the loop approach works fine, but all interrupt timers I've tried are no-go. The attached allows either loop or interrupt to be enabled for test.
It's probably unfair to expect Flowcode to be able to handle all such complex devices, so if not a conventional bug as-such, then is there a workaround I can employ?
Many thanks,
Brendan