Smart Bluetooth Forum Discussions
I am using BCM920737TAG board for software development. I did configured puart port and sending data on Tx. I am capturing data by using Saleae logic analyzer and I observed that some times the data has framing error. Any ideas?
Show Less===
SDK: 2.1.
Tag: 920737.
app: OTA hello-sensor.
OTA firmware size ~ 18KB.
===
We use WsOtaUpgrade to download a image size bigger than example size(9KB).
Test 5 times but only 2 times ok and 3 times failed during downloading process.
I try to add trace and find as attached snapshot (hello_sensor_OTA_lower_layer_Queue.jpg) ,
@$*#04FF0EF7009201010000E5750405FF0000@$*#04FF0EF7009201010000E5750405FF0000@$*#04FF0EF7009201010000E5750405FF0000Write
NV in
NV out 0.
@$*#04FF0EF7009201010000E5750405FF0000@$*#04FF0EF7009201010000E5750405FF0000@$*#04FF0EF7009201010000E5750405FF0000Write
NV in
Write NV out 0.
@$*#04FF0EF7009201010000E5750405FF0000
[..... NO RESPONSE]
[PC:] hello_sensor_timeout:81 [ lower-layer seems alive cause timer thread is alive]
it seems when downloading a big file, when lower-layer of BLE pass the file segment
to app layer for storage which is ok to write to NV but owing to storage speed (may be a little slow)
and owing to PC site's transmission (maybe a little faster), the lower-layer file segment transfer
will be suspended or failed when continue transfer.
I try to do some way for this problem
- to kill timer before transfer start.
- to update connection request slower like lel2cap_sendConnParamUpdateReq(8, 15, 0, 900);
still have same problem found.
Is there any help for this issue? ( Try to make a delay in lower-layer or something or to increase
larger buffer in lower-layer Rx...something like this.)
Hello, guys.
1. I use two BLE starter kit BCM20737TAG. One in host mode and other in slave mode. After connecting slave TAG to the host TAG and save to NV memory address of the connected host and sending data I turn into a deep sleep. After pressing on the user button SW1 (waking up due interrupt GPIO) restarts slave TAG. Please, tell me, how to determine what slave TAG start came from the deep sleep mode to exclude paring (send advertising) again? May be there is an example implementation?
2. As I read on the community going to deep sleep mode is only possible in not connected state. How to perform explicitly disconnect slave from the host?
3. What API functions are used to going to simple sleep and waking up from in?
Thanks in advance for your replies
Show LessIs there a way to re-configure the I2C pins (21-SCL and 22-SDA) of a 20736S so that they can be used as regular GPIOs?
And if yes then how can they be switched back to regular I2C functionality?
Show LessIn WICED_SMART_SDK 2.1.0,
I compared 2 applications, one is cycling_speed_cadence and the other is hello_sensor.
For both case, I put the following codes at the end of application_create().
UINT8 TestReadFlag1= 0x04;
UINT8 TestReadFlag2;
UINT8 TestReadFlag3;
bleprofile_WriteNVRAM(VS_BLE_HOST_LIST, sizeof(UINT8), (UINT8 *)&TestReadFlag1);
TestReadFlag3 = bleprofile_ReadNVRAM(VS_BLE_HOST_LIST, sizeof(UINT8), (UINT8*)&TestReadFlag2);
ble_trace2("TestReadFlag2 is %d, Read result is %d", TestReadFlag2, TestReadFlag3);
In cycling_speed_cadence, it worked properly.
TestReadFlag2 is 4, Read result is 1
but In hello_sensor, NVRAM read or write seem not to work properly.
the message was
TestReadFlag2 is 0, Read result is 0
Could you recommend which points I did wrong?
Show LessThe datasheet shows the BLE receiver sensitivity as TBD. I'm hoping someone has measured this by now. Does anyone have this answer?
Thanks,
Scott
Show LessHello,
Is there any documentation for programming the WICED Sense module on a MAC? I have v 2.1.1.
I plugged it in to the USB port but nothing happens (it's not visible with ls /dev/cu* or in the system info) I tried on windows and it makes a noise like it's working and shows up in the device manager so maybe it's a driver issue?
Also, it doesn't look like there is a platform for this module in the SDK 2.1.1 either, only BCM920736TAG_Q32 and BCM920737TAG_Q32 is there, should there be another one or is BCM920737TAG_Q32 the one to use?
Thanks!
Mike
Show LessHi,
Is it possible to clarify the following statement in the datasheet of the 20737x under Peripheral UART:
"Both high and low baud rates can be supported by running the UART clock at 24 MHz."
What are "high baud" and "low baud" rates in that case? I see the two statements being referenced only once in the documentation.
Also reading the code of the driver (puart.h) I see:
/// Some useful default constants used by teh driver.
enum
{
P_UART_CLK = 24000000,
P_UART_SAMPLE_CLOCK = 16,
DEFAULT_P_UART_BAUDRATE = 115200,
DEFAULT_P_UART_HWFLOWCONTROLWATERMARK = 13, // Peer flow off waterline
DEFAULT_P_UART_MIN_PKT_LENGTH = 1
};
Is it possible to increase the DEFAULT_P_UART_BAUDRATE? (the P_UART_CLK is running at 24MHz).
Is this P_UART_CLK inherited from the Bluetooth baseband? why do we have such a high freqency when the baud rate seems to be limited to 115,2Kbps ?
Thanks,
Show LessHi Sir,
I want to ask if there any size limitation if I use the custom notify function?
The following photo is an experiment of the 80 bytes data but I'm not sure if any limitations.
Show Less
Hello, my name is Taka, triing to use BCM20737S.
I installed WICED Smart IDE 2.1.1 but it couldn't run and the message is "JRE or JDK must available in order to run Eclipse. No Java virtual machine was found after serching the following locations: **this is the path... javaw.exe in your current PATH."
There is no javaw.exe in the installed folder.
Do I have to install JAVA first?
I already installed JAVA for 64bit and use for Android development.
Taka,
Show Less