Skip to main content

CYW20829 code examples

Peripherals

CAN FD

This example demonstrates how to use CAN FD in Infineon's PSoC™ 6 MCU,CYW20829 and CYW89829 devices. In this example, the CANFD Node-1 sends a CAN FD frame to CANFD-Node-2 on pressing the user button and vice versa. Both the CAN FD nodes log the received data over UART serial terminal. Each time a CAN FD Frame is received, the user LED toggles. For more details, see the README on GitHub.

Clock Frequency Measurement

This example demonstrates how a clock measurement counter can be used to measure the internal clock signals using another clock signal as reference. For more details, see the README on GitHub.

DC Monitoring

This application demonstrates how to configure and use ADC in AIROC™ CYW920829M2EVK-02 board to measure DC voltage. For more details, see the README on GitHub.

HAL SPI Master

This example demonstrates the use of SPI (HAL) resource in Master mode. The SPI master is configured to send command packets to control a user LED on the slave. For more details, see the README on GitHub.

HAL SPI Slave

This code example demonstrates the use of SPI (HAL) resource in Slave mode. The SPI slave is configured to receive command packets to control a user LED on the kit. For more details, see the README on GitHub.

SPI Master DMA

This example demonstrates the use of the SPI Serial Communication Block (SCB) resource for CYW20829™ MCU in master mode using DMA. The SPI master is configured to send command packets to control a user LED on the slave. For more details, see the README on GitHub.

SPI Slave DMA

This example demonstrates the use of the SPI Serial Communication Block (SCB) resource for CYW20829™ MCU in slave mode using DMA. The SPI slave will toggle the LED on the command received by the master. For more details, see the README on GitHub.

Switching Power Modes

This code example shows how the device can operate in low-power and ultra low-power system modes and also transit from Active to Sleep, Active to DeepSleep, Active to DeepSleep-RAM and Active to Hibernate power modes. For more details, see the README on GitHub.

UART DMA

This code example demonstrates the UART transmit and receive operation in CYW20829 MCU using DMA . This example uses the loop back for UART to show the transmit and receive. For more details, see the README on GitHub.

Bluetooth®

AIROC LE CYW20829 Keyboard

This code example demonstrates a keyboard solution using HID (Human Interface Device) Profile from Bluetooth® Low Energy with Windows, Android and IOS. For more details, see the README on GitHub.

AIROC LE CYW20829 Mouse

This code example demonstrates a mouse solution using HID (Human Interface Device) Profile from Bluetooth® Low Energy with Windows, Android and IOS. For more details, see the README on GitHub.

Bluetooth LE Battery Server

This code example demonstrates the implementation of a simple Bluetooth® LE Battery Service. The Battery Service exposes the Battery Level of the device and supports over-the-air (OTA) update over Bluetooth® Low Energy connection. For more details, see the README on GitHub.

Bluetooth LE Battery Server with OTA

This code example demonstrates the implementation of a simple Bluetooth® Battery Service. The Battery Service exposes the battery level of the device and supports over-the-air (OTA) update over a Bluetooth® Low Energy connection. The app downloads and writes the image to the secondary slot. On the next reboot, MCUboot copies the new image over to the primary slot and runs the application. If the new image is not validated in run time, on the next reboot, MCUboot reverts to the previously validated image. For more details, see the README on GitHub.

Bluetooth LE GATT Throughput Client

This code example demonstrates the maximum throughput (using GATT layer notification and GATT write command) that can be achieved with Infineon PSoC™ 6 MCU with AIROC™ Bluetooth® LE and AIROC™ CYW20829 Bluetooth® LE SoC devices. For more details, see the README on GitHub.

Bluetooth LE GATT Throughput Server

This code example demonstrates the maximum throughput (using GATT layer notification and GATT write command) that can be achieved with Infineon PSoC™ 6 MCU with AIROC™ Bluetooth® LE and AIROC™ CYW20829 Bluetooth® LE SoC devices. For more details, see the README on GitHub.

Bluetooth LE Low Power Demo

This code example shows how to enter device from Active to Sleep, Active to DeepSleep, Active to DeepSleep-RAM and Active to Hibernate power modes. For more details, see the README on GitHub.

Bluetooth LE Mesh Light Dimmable

This code example demonstrates the implementation of the Bluetooth® LE Mesh Light Dimmable application using the AIROC™ CYW20829 Bluetooth® LE SoC and ModusToolbox™ software environment. For more details, see the README on GitHub.

Bluetooth LE Mesh Switch Dimmer

This code example demonstrates the implementation of Bluetooth® LE Mesh Switch Dimmer application using AIROC™ CYW20829 and and ModusToolbox™ software environment. For more details, see the README on GitHub.

Bluetooth LE Multi-peripheral

This code example demonstrates the implementation of multi-peripheral functionality using PSoC™ 6 MCU with Bluetooth® Low Energy, AIROC™ CYW20829, and ModusToolbox™ software environment. For more details, see the README on GitHub.

Bluetooth LE PAwR Client

This code example demonstrates a PAwR central implementation to establish synchronization with a PAwR peripheral. For more details, see the README on GitHub.

Bluetooth LE PAwR Server

This code example demonstrates a PAwR peripheral implementation to establish synchronization with a PAwR central. For more details, see the README on GitHub.

Bluetooth LE Periodic Adv

This code example demonstrates the use of LE Periodic ADV with Infineon AIROC™ CYW20829 Bluetooth® devices. For more details, see the README on GitHub.

Bluetooth LE Periodic Sync

This code example demonstrates the use of Periodic Sync to ADV with Infineon AIROC™ CYW20829 Bluetooth® devices. For more details, see the README on GitHub.

Bluetooth LE Voice Remote

This solution demonstrates the basic features of HID (Human Interface Device) Profile from Bluetooth® Low Energy with Android TV. For more details, see the README on GitHub.