GHI Team & Followers…
4.3QFE2/2015 R1PR
I’m porting known working code from Cerb40 II based prototype (where it’s working 100% after much hammer-testing) to a G120 module…Love the Cerb 40 II, but for some applications, it’s like break dancing in a phone booth (grin)…
Upon sensor trigger, I’m receiving an interrupt on GHI.Pins.P2_13 (maps to pin ID# 77)…HW wireup is correct and verified via meter all the way back to 2.13 on the SoM, but the ISR event is reporting pin ID#45, not a numerical match to the expected P2_13/#77…A quick noodle on it reveals that the delta (expected 77 - reported 45) is 32, not coincidentally the size of a pin block on the SoM processor (P0_0=#0, P1_0=#32, P2_0=#64).
Presumably then, since only P0_x and P2_x are interrupt capable per SoM user’s manual, P2_x interrupts are being reported as if they are sequential to P0_x without a 32 pin offset to account for the absence of P1_x interrupt support.
Can you confirm and is this something that needs attention in the next release? It’s a minor nuisance, but could become a real headache for the unwary…
GEB@ SIM