Smart Bluetooth Forum Discussions
I use bcm20732s module, I want to use its low power mode, the scenario is like this:
- If 20732s is out of connection, it should go into sleep mode, not deep sleep mode. I want to register a GPIO interrupt: if rising edge, put module into sleep mode, if falling edge, wake up the module. So the question:
Can pin 39 of bcm20732s, GPIO: P13, wake up module from sleep mode by interrupt?
If module is waken, is there any callback function to tell firmware workflow that the process of wakeup is successfully?
How can I enable GPIO: P13’s interrupt function?
How can I register a GPIO interrupt routine?
Which function can make module goto sleep?
- If 20732s is connected, how can I make it sleep? Does it lose connection if sleep? Or, it can maintain the connection automatically by stack?
Is there any sample code for low power application?
In Wiced SDK 2.0.1 with 20736,
I'm implementing sleep and deep sleep mode.
My scenario is to make the board sleep after connection is done and execute when wakeup.
I have several questions.
1. To enter sleep mode
Documents and posts say the firmware automatically find a right power mode, so all I have to do is to add 2 functions in thread
creation - devlpm_init and devlpm_registerForLowPowerQueries.
But after putting several more functions, then board goes to sleep.
-bleprofile_PrepareHidOff,
bleprofile_enteringDiscLowPowerMode(DEV_LPM_DISC_LOW_POWER_MODES_SLEEP);
mia_enterHidOff(0xFFF, devLpmConfig.wakeFromHidoffRefClk); // for 4sec interval
bleprofile_abortingDiscLowPowerMode(DEV_LPM_DISC_LOW_POWER_MODES_SLEEP);
Is it right?
2. I saw the HELP BLOG which describes sleep/deep sleep mode .
As I understood, created thread does not anything during sleep but wakeup which is registered in stack.
what is the way to register the function which should be done during wakeup?
3. I want to make the board enter sleep mode after connection is done.
Can you give me the guidance or document?
Thank you.
Show LessHi,
I saw the A4WP power reciver and transmitter are both available inside the latest SDK.
Is there any reference schematic to shown how the H/W works? Any reference deisn?
Thanks.
B.C
Show LessWhere can I find a complete definition of the BLE_CEN_CFG attributes?
We use pwm_transitionToSubstituteValues() to control PWM, but it failed even the return value is true.
Is there any other PWM function?
The sample code we use is proximity_plus() in SDK 1.0.1
add the code in bleprox_mod_Create
gpio_configurePin(1,12,GPIO_OUTPUT_ENABLE, 0); // P28
// Configure ACLK as the reference clock of the PWM
aclk_configure(256000, ACLK1, ACLK_FREQ_24_MHZ);
ass the following function in the callback function bleprox_mod_appFineTimerCb()
pwm_start(PWM2,PMU_CLK,toggle_val,init_value);
Regards.
Licter
Show LessI saw a reference to sleep mode and deep sleep mode in another forum post, and I would like to understand how I can make my application enter these modes, and then wake up either after a set time or upon an interrupt.
Are there API calls that I can use to enter a sleep mode, or do I simply need to make sure I have stopped various services to enter sleep? If so, how do I shut down everything needed to enter sleep?
For deep sleep, how do I enter it and how can I tell that I am coming back out of deep sleep mode?
What 'objects' prevent entering sleep mode, and how can I disable them so that sleeping can proceed?
Show LessMy compunter is 64bit window7.
I was working with WICED Smart IDE 2.0.1 for a while , and finally it could not execute often.
Now I can not open IDE at all.
Error message is EXCEPTION_ACCESS_VIOLATION.
I read previous discussion so I changed java version into 32bit.
but it does not open.
I added the error message.
Can anybody help me?
Thank you.
Show LessHow to auto sleep at 6 points in the every day?
For orther MCU this can be Realize by RTC Alarm ,but for BCM20732 i don`t kown how to Realize?
Show Less1. I want to know, is there any program in 20732s when it ship to us from vendor? Or, is its program clear?
2. How much the current consumption before 20732s module shipment? zero or just several uA?
Show LessHi,
Does anyone know if there are simulation models available for the BCM20732S devices? I would like to simulate the HCI UART interface on our board.
Thanks.
Show Less