Elastic Sheep

Because elasticdog was already taken

Elastic Sheep header image 2

Bluetooth module parallel-SPI interface

June 28th, 2012 · 5 Comments · Uncategorized

The BC417143-based module can be programmed through its SPI interface using a simple parallel port interface.

I am using the circuit published on Byron’s blog.

The SPI protocol is bit-banged on the parallel port of the PC. The 5V to 3.3V level adaptation is done using resistor dividers.

The SPI pins are accessed through a right-angle header on the bottom of the breakout board I designed.

The 3.3V power supply is supplied by a 3.3V Teensy2 that is also used as a serial-to-USB interface.

The difficult part is to find a PC with a parallel port :) . CSR also distributes an USB-SPI interface that should be more convenient with a modern laptop but that is also a little more expensive than a DB25 connector and some wires.

The Bluetooth module can now be programmed/configured using the BlueSuite tools. BlueSuite can be downloaded from the CSR support website after registration (Click Browse category tree…/Bluetooth PC Software).

Tags:

5 Comments so far ↓

  • Bertrand

    Hi,

    For usbspi interface, have your tried the bus pirate ?

    regards,

    bertrand

  • Firmware For Cheap Bluetooth Modules

    [...] custom firmware on these devices is programming them. For that, [Elastic Sheep] comes to the rescue with a parallel port to SPI interface. There’s also a firmware dumperĀ and some breakout boards available. These modules are pretty [...]

  • Firmware For Cheap Bluetooth Modules - Tech key | Techzone | Tech data

    [...] custom firmware on these devices is programming them. For that, [Elastic Sheep] comes to the rescue with a parallel port to SPI interface. There’s also a firmware dumper and some breakout boards available. These modules are pretty [...]

  • NKT

    Have you tried interfacing this with an SPI capable device like the Raspberry Pi? That might be the best way to interface to it, if all you are doing is putting out SPI traffic.

    I’m going to try and pick up a few of these Bluetooth devices. Have you got a link? What’s the range like?

  • The Chief Sheep

    Hi,
    The protocol used over the SPI interface is proprietary to CSR.
    So you have to use their tools to access the device, either with a parallel port or using a USB interface also sold by CSR.
    Thanks to the Hackaday article, it seems we have now an implementation of the protocol for the Stellaris Launchpad (https://github.com/Frans-Willem/CsrUsbSpiDeviceRE)
    It should be easily portable to a Teensy 2 board.
    BR
    Mathieu

Leave a Comment