OFF
MIKROE-4170
18 g
Status:
BLE 6 Click is a Bluetooth low energy system-on-chip application processor certified module, compliant with BT specifications v5.0 and BQE qualified. The featured BlueNRG-M2 module developed by STMicroelectronics supports multiple roles simultaneously and can act at the same time as Bluetooth master and slave device. The BlueNRG-M2 is based on the BlueNRG-2 system-on-chip and the entire Bluetooth low energy stack and protocols are embedded into the module. The BlueNRG-M2 module provides a complete RF platform in a tiny form factor. Radio, embedded antenna and high frequency oscillators are integrated to offer a certified solution to optimize the time-to-market of the final applications. BLE 6 click is a perfect solution for various IoT applications, smart home applications, BLE enabled toys, advanced robotics, and other similar applications.
The BLE 6 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
This product is no longer in stock
Availability date:
BLE 6 Click uses the BlueNRG-M2, a Bluetooth low energy application processor module compliant with Bluetooth® v5.0. The BlueNRG-M2 module has been designed around the ST BlueNRG-2 SoC where its Cortex-M0 core can execute both Bluetooth protocols and customer application. Optimized memory architecture includes 256 kB of Flash memory and 24 kB of ultra-low-leakage RAM (with full data retention). A complete power-optimized Bluetooth stack library provides:
The BLUENRG-M2 module has both 32 MHz and 32 kHz crystal oscillators implemented. It has been designed to leverage the BlueNRG-2 integrated DC-DC step-down converter in order to achieve the best power consumption in active mode. It also embeds a high-efficiency chip antenna. It can be configured to support both application processor (host-less) and network processor (hosted) modes. The BlueNRG-M2 module provides a complete RF application platform in a tiny form factor (11.5 x 13.5 x 2.0 mm) and being a certified solution optimizes the time to market of the final applications. The BlueNRG-M2 module allows applications to meet the tight advisable peak current requirements imposed with the use of standard coin cell batteries.
There are two possible software architectures: Host-less mode (application processor - customer application runs on the BlueNRG-M2 module) and Hosted mode (network processor - the module is configured as network module controlled by an external host connected via SPI or UART). The module comes with a pre-programmed UART bootloader. The BlueNRG-M2 embeds the ARM serial wire debug (SWD) port routed to the SWD header connector. It is two pin (clock and single bi-directional data) debug interface, providing all the debug functionality plus real-time access to system memory without halting the processor or requiring any target resident code. Since the SPI peripheral can be used either as master or slave, the onboard SMD jumpers labeled as MODE SEL allow switching between the two.
This Click Board™ is designed to be operated only with a 3.3V logic level. A proper logic voltage level conversion should be performed before the Click board™ is used with MCUs with logic levels of 5V.
Type
BT/BLE
Applications
Internet of Things, Smart Home, Building and industrial automation, Smart Lighting, Remote and access control, Fitness, wellness and sports, Consumer medical, Security and proximity, Assisted living, PC and smartphone peripherals
On-board modules
BLE 6 Click uses the BlueNRG-M2 module, a Bluetooth low energy system-on-chip application processor certified module, from STMicroelectronics.
Key Features
High performance, ultra-low power Cortex-M0 32-bit based core, Programmable embedded 256 kB Flash, 24 kB embedded RAM with data retention, Bluetooth v5.0 compliant, Supports master and slave modes, PCB antenna
Interface
Analog,GPIO,I2C,SPI,UART
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V
This table shows how the pinout on BLE 6 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
LD2 | DIO14 | - | User Configurable LED |
JP1, JP2 | MODE SEL | Left | SPI Mode Selection: left position for Slave, right position for Master |
T1 | BOOT | - | Bootloader activation button |
We provide a library for the BLE 6 Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Library Description
This library contains API for BLE 6 Click driver.
Key functions
ble6_set_response_handler
Set response handlers function.
ble6_set_handlers
Set handlers function.
ble6_parser_rsp
Response parser function.
Example Description
This example reads and processes data from BLE 6 clicks.
void application_task ( void )
{
ble6_event_handler( );
while ( device_connected_flag )
{
int32_t cnt = ble6_generic_read( &ble6, rx_response, PROCESS_BUFFER_SIZE );
Delay_ms ( 100 );
if ( ( ble6_strncmp( rx_response, hci_le_serverwrite_event, 1 ) == 0 ) && ( cnt > 13 ) )
{
ble6_response_handler( );
}
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Other MIKROE Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MIKROE compilers.
This Click board™ is supported with mikroSDK - MIKROE Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
For more information about mikroSDK, visit the official page.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.