7 Replies Latest reply on Jul 2, 2014 7:05 AM by userc_2132

    Getting blebat to work

      Hi,

       

      I'm currently trying to get battery monitoring with blebat on the BCM20732S to work similar to what hello_sensor is doing.

      Right now I'm not able to see anything on the HCI UART when I switch on the power and then the UART interface (trying to keep RXD low). The module seems to go into deep sleep instead drawing only 3uA.

       

      My assumption was that the GPIO pin wasn't the right one, my config currently looks like the following:

       

      const BLE_PROFILE_GPIO_CFG xyz_gpio_cfg = {

      /*.gpio_pin =*/

              {GPIO_PIN_BATTERY, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 // GPIOs are not used

              },

              /*.gpio_flag =*/

              {GPIO_SETTINGS_BATTERY, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } };

       

      I hope you can tell me what to expect from blebat and whether it could work on the module at all.

       

       

      Regards,

       

      Kilian