Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Yes, it is possible to implement an I2C-to-BLE bridge using the EZ-BLE Creator Module (CYBLE-022001-00). Cypress provides two example projects (available for the EZ-BLE Creator Module CYBLE-022001-00) to demonstrate this application.
I2C-to-BLE Peripheral Example Project
Figure 1: I2C-to-BLE Peripheral Example Project
The I2C component is configured as an I2C slave. The BLE component is configured for the BLE GAP peripheral and GATT server roles. A custom BLE profile using two custom services is implemented in the project:
I2C_Write: To receive data from any central device via write without response commands on the I2C_Write_data custom characteristic
I2C_Read: To transmit data to any central device via notifications on the I2C_Read_data custom characteristic
The CySmart PC tool, connected to the CySmart USB dongle (CY5670), emulating a BLE central device or
The I2C-to-BLE central project described in the following section, programmed on a BLE Pioneer Kit, acting as the BLE central device
2. I2C-to-BLE Central Example Project
Figure 2: I2C-to-BLE Central Example Project
The I2C component is configured as an I2C slave. The BLE component is configured for the BLE GAP central and GATT client roles. A custom BLE profile is implemented in the project that discovers and uses two custom services:
I2C_Write: To transmit data to any peripheral device via write without response commands on the I2C_Write_data custom characteristic
I2C_Read: To receive data from any central device via notifications on the I2C_Read_data custom characteristic
The following steps should be followed to download the complete project and corresponding user guide:
Go to the example project page on github.com (location in above section) and select the desired project - “I2C_BLE_Central.zip” or “I2C_BLE_Peripheral.zip”. The following figure shows an example of downloading the I2C_BLE_Central project.
Select “Raw” button, as shown in the following figure. All the project files and corresponding user guide will be downloaded as a .zip file