BlueNRG-2
- January 18, 2023
- 3 replies
- 2122 views
Hi,
I have a STEVAL-ID008V2 evaluation board which has a BueNRG2 BLE chip. SDK that I got from the ST website has project examples for this evaluation board. Looking at the codes examples, below method handles the low power mode functionality.
/* Device Power Save Management Procedures */
BlueNRG_Sleep(SLEEPMODE_NOTIMER, 0, 0);
However, the second argument to this function (wakeup GPIO pin selection/mask) has been set to zero, but according to the reference manuals and the datasheet the second argument must be one of the following only.
/** @brief Wakeup source IO9 Mask */
#define WAKEUP_IO9 0x0001
/** @brief Wakeup source IO10 Mask */
#define WAKEUP_IO10 0x0002
/** @brief Wakeup source IO11 Mask */
#define WAKEUP_IO11 0x0004
/** @brief Wakeup source IO12 Mask */
#define WAKEUP_IO12 0x0008
/** @brief Wakeup source IO13 Mask */
#define WAKEUP_IO13 0x0010
my question is why it has been set to zero and what would be the expected behaviour?
Many thanks,
