The BLE112 is a Bluetooth Low Energy (aka Bluetooth Smart) module from bluegiga. The product page has more information, but basically, it is a package that includes a bluetooth SoC module from TI, an antenna, certification, and some free developer tools.
- Product Page
- Breakout Vendor
- Datasheet
- Programming the BLE112 with IAR - A good walkthough of getting the BLE112 set up, even if you do not have IAR, like me.
- Programming the BLE112 with BGScript - A follow-up post to the first post that uses BGScript. It also walks you through getting the SDK from bluegiga.
The BLE112 is packaged implementation of the CC2540 BLE SoC from TI.
- Product Page
- Datasheet
- Microcontroller Datasheet - swru191
- Developer Guide - swru271
- Flash Programming: Application Note - swra410, Hardware Interface - swra124
There are two ways to use the SoC, which is outlined the developer guide:
-
Single-Device, where the controller, host, and application are all implemented on the SoC. Apparently this is the lower-power option. The application is implemented as a set of evented tasks that are registered with the Operating System Abstraction Layer (OSAL), which is described in the Developer Guide.
-
Network Processor, where the contoller and host are on the SoC, and an external processor interacts with the SoC using SPI or UART. The SoC can use a provided firmware called HostTestRelease.
My plan is to explore the Single-Device option, without purchasing the IAR Embedded Workbench, and before I use the BGScript tool packaged with the BLE112. Here are the steps I have taken so far:
- Download the [BLE Stack] (http://www.ti.com/tool/ble-stack?DCMP=wbu-blestack&HQS=blestack). You need to accept the export license agreement. Also download the associated Developer Guide (link above).
- The CC2540 has a 8051 microcontroller in it. The datasheet for the microcontroller itself is here PDF. It is refered to in TI forums as swru191. This contains the description of the chip itself. 8051-compatible microprocessors are primarily extendable through Special Purpose Registers (SRUs). The Small Device C Compiler (SDCC) has a hardware-level description of the cc2530.