cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

New Contributor II

Hi,

I am using Murata Type 1Dx module, which uses Broadcom BCM4343W chipset.

I am  trying to bring-up the Bluetooth module & using WICED SDK 3.5.2

My host MCU platform is ARM Cortex M4. I am using WICED-SDK-3.5.2\apps\snip\bluetooth\ble_hello_sensor application.

I could see read/write operations happening through UART port.

On Console I see below messages

00000000 GKI_create_task func=0xfa1d  id=1  name=BTU  stack=0x0  stackSize=6144

00000000 GKI_create_task func=0x10e91  id=0  name=HCISU  stack=0x0  stackSize=4096

00096110 GKI_exception(): Task State Table

00096110 GKI_exception 65524 getbuf: out of buffers

00100110 GKI_exception(): Task State Table

00100110 GKI_exception 65524 getbuf: out of buffers

00104110 GKI_exception(): Task State Table

00104110 GKI_exception 65524 getbuf: out of buffers

00108110 GKI_exception(): Task State Table

00108110 GKI_exception 65524 getbuf: out of buffers

00112110 GKI_exception(): Task State Table

00112110 GKI_exception 65524 getbuf: out of buffers

00116110 GKI_exception(): Task State Table

00116110 GKI_exception 65524 getbuf: out of buffers

00120110 GKI_exception(): Task State Table

00120110 GKI_exception 65524 getbuf: out of buffers

00124110 GKI_exception(): Task State Table

00124110 GKI_exception 65524 getbuf: out of buffers

Program control never reaches in  bt/ble link management callback function. Whereas the "Out of buffers" message keeps on coming. I also tried increasing  buffer count in wiced_bt_cfg_buf_pools (defined in file WICED-SDK-3.5.2\apps\snip\bluetooth\ble_hello_sensor\wiced_bt_cfg.c). But this did not help.

How can I solve this "getbuf: out of buffers" issue?

It will be very helpful if someone can provide pointers on this.

Thanks & Regards,

Pratik.

0 Likes
Reply
1 Solution
Anonymous
Not applicable

Depends on the profiles enabled.

But in general currently if this is BLE only then need at least 96KB of SRAM for reliable operation

View solution in original post

7 Replies
Moderator
Moderator

Moving to the Murata forum, adding the Murata technical team:

randerson yfang@murata.com ghouse hhyogo dan keith skerr

I thought Murata only offered the 1DX as part of the i.MX6 platform with Linux drivers integrated into the Freescale Linux distribution

Murata Wi-Fi/Bluetooth for Linux and Android

0 Likes
Reply
Anonymous
Not applicable

Which MCU are you using?


Your MCU  doesn't have enough RAM to run the Bluetooth stack

0 Likes
Reply
Anonymous
Not applicable

How much memory is required to run Bluetooth stack?

0 Likes
Reply
Anonymous
Not applicable

Depends on the profiles enabled.

But in general currently if this is BLE only then need at least 96KB of SRAM for reliable operation

View solution in original post

New Contributor II

Thanks for response.

Anonymous
Not applicable

96K SRAM requirement is quite huge.

If what I need is to scan beacons (as observer) what's such memory requirement and would you please share a configuration file for such case ?

Thanks

0 Likes
Reply
Honored Contributor

nsankar wrote:

Depends on the profiles enabled.

But in general currently if this is BLE only then need at least 96KB of SRAM for reliable operation

If enable BLE only will take at least 96KB SRAM for reliable operation,

the wifi+BT platforms with 128KB SRAM are useless because it's likely to

run out of memory after enable both BT and WIFI stacks.

Can you double check if it really need *96KB* SRAM for BLE only?

Also, do you have plan to reduce the memory usage for BLE stack?