79526125

Date: 2025-03-21 17:00:09
Score: 1.5
Natty:
Report link

The LOCKLPM5 bit was not cleared in the slave code which means that the GPIO pins were not unlocked, therefore preventing proper operation of P1.3 and P1.2 in I2C mode.

The line:

PM5CTL0 &= ~LOCKLPM5

clears the LOCKLPM5 bit and unlocks the GPIO pins on the MCU.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kellen Hurley