BTStack on MSP430 Value Line

88 views
Skip to first unread message

David Cox

unread,
Mar 1, 2012, 1:49:12 AM3/1/12
to btsta...@googlegroups.com
How possible do you think it would be to get a stripped down version of BTStack running on a MSP430g2553 (http://www.ti.com/product/msp430g2553)? I'm hoping to be able to connect a Panasonic module - PAN1326 (http://www.panasonic.com/industrial/electronic-components/rf-modules/bluetooth/pan1326-1316.aspx) and utilize the Low-Energy capabilities of the module, stack, and microprocessor.

Any thoughts on how feasible this is? Anyone doing any work of this sort?

Matthias Ringwald

unread,
Mar 2, 2012, 9:00:27 AM3/2/12
to btsta...@googlegroups.com
Hi David

While not impossible, it is very close to that.

The crucial values are RAM and Flash. The msp430g2553 has 16 kB Flash and 512 B RAM. The init script of the PAN1326 with BLE enabled already has 10 kB, so there's only 6 kB left. BTstack uses something in the order of 32 kB for a full SPP implementation. Only BLE should be lower but not soo much.

RAM: the packet buffers for RX and TX are 256 bytes each. That consumes all RAM on the value line chip. You may do some ugly cross-layer optimization (merge command generation with the UART TX driver) and reduce the TX buffer to around 30 bytes.

Hm.. I guess it's not impossible but it won't be pretty. I've seen a Bluetooth stack which doesn't use rx/tx buffers running on an ATmega128, but even that one actually had 4 kB of RAM.

Even though it requires the IAR compiler, maybe the TI CC2540 might be easier to use in this scenario.

Best
Matthias

On Mar 1, 2012, at 7:49 AM, David Cox wrote:

> How possible do you think it would be to get a stripped down version of BTStack running on a MSP430g2553 (http://www.ti.com/product/msp430g2553)? I'm hoping to be able to connect a Panasonic module - PAN1326 (http://www.panasonic.com/industrial/electronic-components/rf-modules/bluetooth/pan1326-1316.aspx) and utilize the Low-Energy capabilities of the module, stack, and microprocessor.
>
> Any thoughts on how feasible this is? Anyone doing any work of this sort?
>

> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/btstack-dev/-/PT1DjplnYtwJ.
> To post to this group, send email to btsta...@googlegroups.com.
> To unsubscribe from this group, send email to btstack-dev...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/btstack-dev?hl=en.

Reply all
Reply to author
Forward
0 new messages