nRF5 SDK v12.1.0
BLE serialization
This information applies to the following SoftDevice: S132

The BLE Serialization makes it possible to place a Bluetooth application on an Application Chip and connect it to a Connectivity Chip that runs the BLE SoftDevice.

See Running a serialized application for a general overview of how to start with serialization.

Connectivity Chip: Connectivity Chip

Bluetooth Application Chip: The nRF5 IC is used here merely as a demonstration device that runs a serialized application, where the BLE SoftDevice is replaced by the Commands Encoder and Events Decoder (Serialization Codecs). The nRF5 IC, used as the Application Chip, does not use the BLE SoftDevice. After porting the hardware driver to the selected PHY layer (Serialization PHY), nRF5 IC on the application side is supposed to be replaced by the user's device.

architecture_overview_serialization.svg
Architectural overview of a serialized <em>Bluetooth</em> application.

In the Bluetooth Application Chip, the BLE SoftDevice is replaced by a codec that implements the SoftDevice API.
All function calls to the codec are serialized and transmitted to the BLE Connectivity Chip using the transport layer drivers.
This design makes it possible to substitute an existing PHY layer, such as UART or SPI, without affecting the codecs.

The BLE Connectivity Chip decodes the serialized commands from the Bluetooth Application Board and executes the corresponding function in the SoftDevice.
Any event from the SoftDevice is encoded by the codec and transmitted to the Bluetooth Application Chip using the transport layer.
In the Bluetooth Application Chip, the event is decoded and passed to the application.

BLE Serialization simplifies the serialization of an existing Bluetooth application, because only limited modifications are needed in the application itself.
Details on how to port the serialization application code to a different MCU can be found in the porting guide: Porting serialization libraries

See Running a serialized application for information about how to wire a Bluetooth Application Board with a BLE Connectivity Board.

Connectivity Chip

Serialization Codecs

Serialization PHY

Serialization HAL Transport

Porting serialization libraries


Documentation feedback | Developer Zone | Subscribe | Updated