NAV Navbar

CYW20819 Application Notes

Application Notes Overview
Getting Started with CYW20819 - AN225684 AN225684 introduces you to the CYW20819 Bluetooth (BT) MCU, a BT 5.0-compliant, Arm® Cortex®-M4 CPU-based ultra-low-power MCU that supports both Classic BT and Bluetooth Low Energy (BLE). This application note helps you get started on the CYW20819 device with an overview of the device architecture, development kits and software development tools. It shows how to create a simple BLE application using the ModusToolbox IDE and the Bluetooth Software Design Kit (SDK).
Getting Started with Bluetooth Mesh - AN227069 AN227069 introduces Bluetooth Mesh and its key concepts and describes how to get started with Cypress’ BLE Mesh solution to design your own BLE Mesh-enabled applications. Cypress is a world-leader in connectivity solutions for Internet of Things (IoT) applications, combining best-in-class silicon platforms with the industry’s most broadly deployed Bluetooth stack. This combination allows you to deploy successful BLE Mesh-enabled products with minimum development costs and with a rapid cycle time.

CYW20819 Code Examples

Code Example Overview
Low-Power Modes - CE225540 The Low-Power Modes code example demonstrates low-power modes on CYW20819 using ModusToolbox™ IDE.
BLE Find Me Profile - CE226123 The BLE Find Me Profile code example demonstrates the implementation of a simple BLE Immediate Alert Service (IAS)-based Find Me Profile (FMP) using the CYW20819 Bluetooth SoC, using ModusToolbox™ integrated development environment (IDE).
BLE Environment Sensing Temperature - CE226300 The BLE Environment Sensing Temperature code example demonstrates the implementation of a simple BLE Environmental Sensing Profile and how to send environment-sensing parameters like temperature by making use of an on-chip ADC and sending values over a BLE PHY2M link using the CYW20819 Bluetooth SoC. This example uses the ModusToolbox™ integrated development environment (IDE).
BLE Throughput Measurement - CE226301 The BLE Throughput Measurement code example demonstrates measuring the BLE throughput at the GATT layer using the CYW20819 Bluetooth SoC with the ModusToolbox™ integrated development environment (IDE).
SPI-Based Datalogger - CE226537 The SPI-Based Datalogger code example includes two applications that demonstrate the operation of multiple Serial Peripheral Interface (SPI) interfaces using the CYW20819 Bluetooth SoC and ModusToolbox™ Integrated Development Environment (IDE). The first application demonstrates operation of two SPI masters – one for collecting sensor data and the other for logging the data to external flash. The second application demonstrates operation of an SPI slave which is used for providing sensor data to the first application.
WICED CYW920819EVB-02 BLE_MESH_Dimmer The demo app BLE_Mesh_Dimmer shows a simple light dimmer on the CYW920819EVB-02 kit or CYBT-213043 MESH EVAL kit. A dimmer has two buttons to turn the light ON and OFF. This application performs dimming using a single button available on the EVK. On a short push, the level is toggled between 0% and 100%. When a button is kept pushed, the level is changed every 0.5 seconds from 0 to 100 in 8 steps 12.5% each. The button can be released before the level reaches 100%; in this case, a consecutive push or long push will continue increasing the level. If the level reaches 100%, the next button control will decrease the level.
WICED CYW920819EVB-02 BLE_MESH_Light_Dimmable This document shows a simple implementation of a dimmable light. The app is based on the snip/mesh/mesh_light_lightness sample, which implements BLE Mesh Light Lightness Server Model. The Light lightness Server Model extends Generic OnOff and Generic Level; the dimmable light can be controlled by a switch (Generic OnOff Client), a Dimmer (Generic Level Client), and an application which implements the Light lightness Client. The WICED Mesh Models library takes care of the translation of OnOff and level messages and the application layer processes the messages of the Light lightness Model.

CYW20819 API

API Overview
ADC This section provides details of APIs that you can use to implement an ADC. To access the ADC functionality, it is necessary to define wiced_hal_adc.h in the source file. All the API value defines: GPIO configuration, enums, and return values are defined in the header file.
I2C This section provides the details of APIs that you can use to implement I2C.
BLE Peripheral This section explains some basic functions required to configure a device as a BLE Peripheral. Include header files wiced_bt_gatt.h, wiced_bt_cfg.h. All the API, value defines, GPIO configuration, enums, and return values are defined in these header files. APIs explained below are arranged in the logical sequence of operation.
Timer This section provides details about the APIs required to access timer functionalities. THe header file named wiced_timer.h needs to be included in the source file. All the API, value defines, GPIO configuration, enums, and return values are defined in this header file.
PWM Include wiced_hal_pwm.h in your source file. All the API, value defines, GPIO configuration, enums, and return values are defined in this header file.
GPIO This section provides details of the list of parameters and defined functions needed to access the General-Purpose Input/Ouput (GPIO) driver. It is necessary to define wiced_hal_gpio.h file in your source file.