Hi,
I'm hopelessly trying to read the PB status bit from STATUS register, but the bit does NOT sit when the PB is pressed down (Yes, I'm keeping it pressed down for a little while, but still STATUS register report 0). I get interrupt generated and I am able to see that the PB INT flag is set.
Also, I'm unable to power down the module (OFF state). I have the OFF bit in the STATUS register set before initiating a power-down sequence by setting the SEQDWN bit in the SEQ6 register.
EDIT: The module does power down, however after 1sec it powers back up!
I'm using the Beaglebone Black Rev. C from element14 with the latest version of the Starterware set of libraries.
-Khalid