Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 3.14 KB

notes.md

File metadata and controls

32 lines (21 loc) · 3.14 KB

Notes on the BLE112

BLE112

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.

CC2540

The BLE112 is packaged implementation of the CC2540 BLE SoC from TI.

There are two ways to use the SoC, which is outlined the developer guide:

  1. 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.

  2. 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:

  1. 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).
  2. 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.