The examples from the library are written for the ST eval boards, not for the PRimers. The pins assignment is possibly very different, and if the 'shutdown' pin is used by their eval board, you could not do anything... but shutting down the power supply.