Wi-Fi Combo Forum Discussions
I could not find an exact answer for this question of mine. Do BCM88335 or BCM43353 support wifi direct as group owner?
Thank you in advance!
Show Lessusing platform BCM94343WWCD1 with WICED Studio 4.1
trying to implement a hands free profile (basically a headset).
combined 2 demo apps :
- bt_dualmode_server (only non-ble app I could find for BCM94343WWCD1)
- dual_hf_a2dp (couldn't get this to compile for BCM94343WWCD1)
replaced the rfcomm in bt_dualmode_server with the hf code from dual_hf_a2dp.
I see the WICED board appear as a heaset in my android settings.
It also seems to connect and pair, but about 10 seconds later it disconnects, with an error code saying host disconnected.
any help would be greatly appreciated.
Show Less
I always get the 8033 (WICED_BT_BUSY) error code when I want to start again a discovery.
At the end of the scan, in the p_scan_result_cback, I try the following:
void scanCallback(wiced_bt_ble_scan_results_t *p_scan_result, uint8_t *p_adv_data)
{
if (p_scan_result == NULL)
{
printf("wiced_bt_ble_get_current_scan_state = %u\n", wiced_bt_ble_get_current_scan_state());
printf("wiced_bt_ble_scan(START) = %d\n", wiced_bt_ble_scan(BTM_BLE_SCAN_TYPE_HIGH_DUTY, WICED_TRUE, scanCallback));
}
}
And as expected I get:
wiced_bt_ble_get_current_scan_state = 0
wiced_bt_ble_scan(START) = 8033
So, why can't the device discovery restart if the state is 0 ?
Show LessThe WICED device works as BLE central.
How to retrieve SNR & noise for a peer BLE peripheral?
Is it possible to do so after connected?
I already know RSSI can be found during scanning, but
- during scanning, can we get SNR & noise?
- after connected, can we get RSSI, SNR & noise?
Platform : BCM94343W (Avnet Starter Kit)
SDK version : 4.0.1
Show LessI am planning to use a Cortex-M0 host to control CYW43362 and would like to know if WICED supports it.
I finally have a chance to test latest BT library with the wiced_bt_print_cfg_buf_pool_stats().
The normal case:
It usually only uses Small Buffer Pool and Medium Buffer Pool.
00:00:46.055248 GKI_create_task func=0x8068651 id=1 name=BTU stack=0x0 stackSize=6144␍␍␊
00:00:46.063248 GKI_create_task func=0x8069b71 id=0 name=HCISU stack=0x0 stackSize=4096␍␍␊
00:03:24.037032 ␍␍␊
00:03:24.038032 --- Bluetooth(Pool type: A-App, I-Internal) Buffer summary ---␍␍␊
00:03:24.046032 Pool(size,type) Available In-use Total Max-used␍␍␊
00:03:24.051032 --------------------------------------------------------␍␍␊
00:03:24.056032 00( 64, A): 16, 0, 16, 5␍␍␊
00:03:24.063032 01( 360, A): 6, 0, 6, 3␍␍␊
00:03:24.003496 02( 360, A): 6, 0, 6, 0␍␍␊
00:03:24.010496 03( 600, A): 2, 0, 2, 0␍␍␊
00:28:13.040248 ␍␍␊
00:28:13.041248 --- Bluetooth(Pool type: A-App, I-Internal) Buffer summary ---␍␍␊
00:28:13.045248 Pool(size,type) Available In-use Total Max-used␍␍␊
00:28:13.005712 --------------------------------------------------------␍␍␊
00:28:13.008712 00( 64, A): 16, 0, 16, 5␍␍␊
00:28:13.013712 01( 360, A): 6, 0, 6, 4␍␍␊
00:28:13.021712 02( 360, A): 6, 0, 6, 0␍␍␊
00:28:13.024712 03( 600, A): 2, 0, 2, 0␍␍␊
00:59:51.011032 ␍␍␊
00:59:51.012032 --- Bluetooth(Pool type: A-App, I-Internal) Buffer summary ---␍␍␊
00:59:51.021032 Pool(size,type) Available In-use Total Max-used␍␍␊
00:59:51.023032 --------------------------------------------------------␍␍␊
00:59:51.027032 00( 64, A): 16, 0, 16, 5␍␍␊
00:59:51.031032 01( 360, A): 5, 1, 6, 4␍␍␊
00:59:51.037032 02( 360, A): 6, 0, 6, 0␍␍␊
00:59:51.043032 03( 600, A): 2, 0, 2, 0␍␍␊
The abnormal case:
From the Max-used field, you can find it actually run out of all buffers.
00:01:01.008856 GKI_create_task func=0x8068651 id=1 name=BTU stack=0x0 stackSize=6144␍␍␊
00:01:01.016856 GKI_create_task func=0x8069b71 id=0 name=HCISU stack=0x0 stackSize=4096␍␍␊
01:58:07.064392 GKI_exception(): Task State Table␍␍␊
01:58:07.063856 GKI_exception 65524 getbuf: out of buffers␍␍␊
03:04:18.027928 ␍␍␊
03:04:18.028928 --- Bluetooth(Pool type: A-App, I-Internal) Buffer summary ---␍␍␊
03:04:18.036928 Pool(size,type) Available In-use Total Max-used␍␍␊
03:04:18.043928 --------------------------------------------------------␍␍␊
03:04:18.049928 00( 64, A): 12, 4, 16, 5␍␍␊
03:04:18.056928 01( 360, A): 6, 0, 6, 6␍␍␊
03:04:18.062928 02( 360, A): 6, 0, 6, 6␍␍␊
03:04:18.003392 03( 600, A): 2, 0, 2, 2␍␍␊
03:05:15.054928 ␍␍␊
03:05:15.056928 --- Bluetooth(Pool type: A-App, I-Internal) Buffer summary ---␍␍␊
03:05:15.063928 Pool(size,type) Available In-use Total Max-used␍␍␊
03:05:15.005392 --------------------------------------------------------␍␍␊
03:05:15.012392 00( 64, A): 12, 4, 16, 5␍␍␊
03:05:15.018392 01( 360, A): 6, 0, 6, 6␍␍␊
03:05:15.024392 02( 360, A): 6, 0, 6, 6␍␍␊
03:05:15.031392 03( 600, A): 2, 0, 2, 2␍␍␊
So my question is why the BT library suddently request so many Large Buffer Pool and Extra Large Buffer Pool.
What happens so the bt library needs large buffer pool and extra large buffer poll?
In my use case, I only call wiced_bt_ble_observe() to scan tags.
I don't think this is a normal thing as in above normal case it never request Large Buffer Pool and Extra Large Buffer Pool at all.
ps. In most of the debug print I can see the In-use number is usually very small.
I have no idea what's going on with the abnormal case. It looks like a bug.
And I have no idea how to config the buffers in such case as the Max-used number seems suddenly growth.
Appreciate if someone from cypress can help.
Show LessHello All,
The throughput of these BRCM chips is a big question mark. I have been using one module with STM32 and SPI (Inventek) and I am able to get sustained 5-6Mbps. However this is far from the true capability of this technology and there is really no clear benchmark out there. I wish there was one.
The thread above has some information. This information is inline with my expectatios however some claims are questionable. Our admin claims 30-40Mbps using SDIO. Has this ever been demonstrated? For example using Linux iMx6 and SDIO modules? I very much like to know this.
In addition there is a link with some decent data SN8200 maximum TCP data throughput ?
This thread concludes BCM4390 is the best solution for performance. The thread says M3/M4+Wiced with SPI limited bw.
ACk.me guys also make claims about 14Mbit via SPI and 5Mbit via Uart but no measurement results are shared.
So, in summary my questions are:
- If we use Linux and SDIO what can be achieved with BRCM Wiced ics?
- Which IC will provide the best performance?
Show LessI am trying to bring up the manufacturing test 43438 wifi firmware 43438A1-mfgtest.bin to read its capabilities. However, I fail with the error: "Could not turn off TX glomming" due to missing IOCTL response. I am looking for suggestions to figure out if the wifi core is sending the response late or is the arm core not processing the received response due to a higher priority task hogging resources on FreeRTOS.
Debugging so far:
1. wwd_management_wifi_on() performs the following call which always times out. The 3.7.0 SDK has set the timeout to 400 ms. Even if I make the timeout 10x it does not help.
data = (uint32_t*) wwd_sdpcm_get_iovar_buffer( &buffer, (uint16_t) 4, IOVAR_STR_TX_GLOM );
retval = wwd_sdpcm_send_iovar( SDPCM_SET, buffer, 0, WWD_STA_INTERFACE );
2. The mfg_test_init.c does not handle the failure so it makes the following call anyway:
wwd_wifi_set_iovar_value( IOVAR_STR_MPC, 0, WWD_STA_INTERFACE );
3. As soon as the following call happens, the wwd_thread runs and finds the the response to the first IOVAR and drops it saying its waiting for the response to the second. It also receives the second response in quick succession.
Since, the second response comes in quick succession it seems like the SDIO_irq is working and the first response was truly delayed by the wifi core.
I enabled the SDPCM logs and see the following:
{direction = LOG_TX, type = IOCTL, time = 190, length = 47,
header = "...bus:txglom",
'\000' <repeats 53 times>},
{direction = LOG_TX,
type = IOCTL, time = 706, length = 40,
header = "...mpc\000\000\000\000\000om",
'\000' <repeats 53 times>},
{direction = LOG_RX, type = IOCTL, time = 708, length = 47,
header = "...bus:txglom",
'\000' <repeats 53 times>},
{direction = LOG_RX, type = IOCTL, time = 718, length = 40,
header = "...mpc\000\000\000\000\000om",
'\000' <repeats 53 times>},
Show LessI have been exclusively using BCM94343W Module to send sensor data over WiFi.
Now i want to send sensor data over Bluetooth to a gateway but struggling to find right demo.
I don't have prior experience with Bluetooth, so any guidance will be very appreciated !!
Show LessHi,
We are upgrading sdk from 3.5.2 to 3.7.0 for Adafruit Wiced Feather https://www.adafruit.com/product/3056 (BCM43362) . But when trying to get 100KB from one of our test page http://adafruit-download.s3.amazonaws.com/text_100KB.txt we got WICED_TLS_ERROR_RECORD_OVERFLOW error from tls_get_next_record() called from wiced_tls_receive_packet() . On sdk 3.5.2 we could completely received all the data from the same url with CRC verification.
So Is there anyway that we could increase the number of TLS records to overcome this issue ?
Show Less