I am doing repeated BLE scan/stop scan and after around 10 times I will stop getting the sleep callback. I am not doing any more BLE actions at this time. What is preventing this from happening? This is my sleep config:
sleep_config.sleep_mode = WICED_SLEEP_MODE_NO_TRANSPORT;
sleep_config.device_wake_gpio_num = WICED_P07;
sleep_config.device_wake_mode = WICED_SLEEP_WAKE_ACTIVE_HIGH;
sleep_config.device_wake_source = WICED_SLEEP_WAKE_SOURCE_GPIO;
sleep_config.host_wake_mode = WICED_SLEEP_WAKE_ACTIVE_HIGH;
This is my sleep handler. I check 2 pins are low before I allow sleep:
uint32_t sleep_handler(wiced_sleep_poll_type_t type )
{
uint32_t ret = WICED_SLEEP_NOT_ALLOWED;
switch(type)
{
case WICED_SLEEP_POLL_SLEEP_PERMISSION:
if ((wiced_hal_gpio_get_pin_input_status(WICED_P07) == 0) &&
(wiced_hal_gpio_get_pin_input_status(WICED_P08) == 0))
{
ret = WICED_SLEEP_ALLOWED_WITHOUT_SHUTDOWN;
}
break;
case WICED_SLEEP_POLL_TIME_TO_SLEEP:
if ((wiced_hal_gpio_get_pin_input_status(WICED_P07) == 0) &&
(wiced_hal_gpio_get_pin_input_status(WICED_P08) == 0))
{
ret = WICED_SLEEP_MAX_TIME_TO_SLEEP;
}
else
ret = 0;
break;
}
return ret;
}
If I don't get the sleep callback, does it mean it is not going to sleep anymore? I still get GPIO interrupts but no sleep callback after processing is done.
Show LessHi,
I have testing HID Device . But, i can not connected to bluetooth of my notebook on firstly connection.
its connection is down after 30 second when it connection is established.
in case of my cellphone, connection is working normally without cut off.
i have used default example hid source in SDK 6.2, trying connection in ClientControl.exe.
please, anybody help me.
thanks.
Show LessI've been looking through these forums for a suitable bluetooth module:
1. I2S audio output (48kHz/16 bit minimum)
2. SPP communications
3. Use UART or similar to change bluetooth name, activate pairing, etc.
I'd like to avoid having to learn the details of a new development platform - is there a module available that does this? Or sample software that comes very close for modules such as the CYBT-343026-01?
Thanks!
Show LessI am using CYBT-343026-01. I have tested 2-3 randomly from 400 devices. I have written a new code. to test sleep functionality.
I believe wiced_sleep_config( WICED_TRUE, NULL, NULL ) PMU will determine when it should sleep and wake up. In short, it will sleep whenever it will get the time, and there no user control over it.
Code:
wiced_sleep_config( WICED_TRUE, NULL, NULL );
There is 1 timer (execute at every 1 second) which keeps the printing current count++. Apart from this, there is nothing written. and I can see current consumption is less than 1 mA for 1st 20-30 minutes. but some time (approximately after 20-30 minutes) current suddenly increases to 8mA and when I am trying to forcefully execute wiced_sleep_config( WICED_TRUE, NULL, NULL ); it is not working. I have to hard reset every time to make it consume low. Why So?
I have also tried to use wiced_allow_sleep(TRUE);
First of all, it should not take this much high current when I am doing nothing.
Why wiced_sleep_config( WICED_TRUE, NULL, NULL ) is stopping its working after some time?
Regards,
Neeraj Dhekale
Show LessI am using CYBT-343026-01. I have used find me example and added wiced_sleep_config( WICED_TRUE, NULL, NULL ); API to make sure it should consume minimum current. And its average current consumption is 320mAh. I have given firmware in production for 400 nos. after testing 2-4 days. But its almost 1 month, now the problem is beacons whos battery is still sufficient (2.9-3.0v) but it has stopped broadcasting. We need to reset by replug-in to make it broadcast.
Is this because we have used wiced_sleep_config( WICED_TRUE, NULL, NULL ); API?
Regards,
Neeraj
Show LessHi, we are using CYW20706+Wiced6.4 for an important project, after days of pressure test, we found a tricky problem:
In a fast booting senario (power on/off hundreds times ), part of SS section (2~3KBytes from address 0x0000) might be written to 0 , so the chip will boot to HCI mode as it think the SPI flash is invalid, although the application area (start from 0x4000) is still there.
This is a huge risk for us as when SS corrupted , the chip can not work at all !
Can anyone help me ?
HELP!
THANKS!
Show Less
Hi
How is the situation regarding EN 300 328 V2.2.2 support of CYBT-343026-01?
If so, the customer wants the evidence (PDF, Web site, etc.).
Could you provide it for them?
Thanks
Yang
Show LessHello,
I started exploring the CYBT343026-01 module, to understand if it usable as a serial interface between an external device communicating through UART and a PC or a Smartphone. I was able to successfully connect and communicate data using the module, but I am not able to enter the command mode through the COM port associated to the SerialPort profile of the Bluetooth module. I can access the command mode just through a connection to the PUART pins. Unfortunately this procedure is not possible in my final application, as the module will not be connectable to an external host for sending commands through the UART, but I still need to access the command mode to configure and update it. Is there any way to enter the command mode using the classic Bluetooth or the BLE communication interface?
Thank you
Show Lessmy usb serial configuration utility can't connect to CYBT-413055- EVAL (with CY7C65215A on it)
for a standallone :
Is there a solution , to use gpio 's from
Show Less
hello ,
We are using CYBT-423028-02 module for one of our projects,
IDE: Wiced IDE
SDK: Wiced6.2 SDK
We have developed the custom PCB for the same, and due to size constraints, we have not used external RTC.
So we are using internal RTC for date-time with external 32Khz crystal with 10PF load capacitors.
This device has to run in dual mode(peripheral and central). It's a battery-operated device.
Normally it will be in central mode only. and we are not running it on low power mode, but we will implement it soon.
Queries:
1. how can we use the current date-time service, and how can we update a reference time to it?
2. Does internal RTC give the higher latency? We have tried configuring internal RTC and checked but it runs very slow, and its latency for time increases.
3. What if the module power source removed, and re-powered after some time so how can we sync with the current date-time?
Show LessEmployee
Employee
Employee
Contributor
Employee
Employee
Employee
Contributor