ExampleSupported kitDescription
KIT_XMC71_EVK_LITE_V1KIT_XMC72_EVK
ADC basicThis example demonstrates use of the ADC (Analog to Digital Converter) HAL driver to perform voltage measurements in XMC7000 MCU. For more details, see the README on GitHub.
Asymmetric PWM GenerationThis code example demonstrates the generation of asymmetric PWM signals using two compare/capture registers available in the TCPWM block of the XMC7000 MCU devices. For more details, see the README on GitHub.
CAN FDThis code example demonstrates how to use controller area network flexible data-rate (CAN FD) in XMC7000 MCU devices. In this example, the CAN Node-1 sends a CAN FD or standard frame to CAN Node-2 on pressing the user button and vice versa. Both the CAN nodes log the received data over UART serial terminal. Each time a CAN frame is received, the user LED toggles. For more details, see the README on GitHub.
Class-B Analog peripheralsThis code example demonstrates the use of the Class-B Safety Test Library to test the analog peripherals such as, comparator, opamp, and ADC. For more details, see the README on GitHub.
Class-B CAN FD loopbackThis code example demonstrates proper message filtering and reception functionality in CAN FD using loopback mode. For more details, see the README on GitHub.
Class-B Communication protocolThis code example demonstrates the use of the Class-B Safety Test Library to test the communication protocol in embedded systems. The example conducts a communication test by configuring two SCB instances as UART and connecting their TX and RX pins to the corresponding RX and TX pins of other blocks. The objective is to detect any potential data corruption during transit. For more details, see the README on GitHub.
Class-B Core peripheralsThis code example demonstrates the use of class-B Safety Test Library to test the core peripherals of the MCU, which are critical for ensuring safety. The example includes tests such as CPU Registers, Program Counter, WDT, clock, interrupt, IO, flash (Fletcher's test + CRC test), SRAM, stack and config Registers. For more details, see the README on GitHub.
Class-B I2C peripheralThis code example demonstrates the use of the Class-B Safety Test Library to test the I2C interface. The example tests the I2C interface by configuring one SCB instance as an I2C master and another SCB instance as an I2C slave. It then verifies the communication between the two Serial Communication Blocks (SCBs) by connecting external jumper wires between these two SCB blocks. For more details, see the README on GitHub.
Class-B SPI loopbackThis code example demonstrates the use of the Class-B safety test library to test the SPI loopback test. For more details, see the README on GitHub.
Class-B Stack test FreeRTOSThis code example demonstrates the use of the Class-B Safety Test Library to test the stack overflow and stack underflow in a FreeRTOS environment. For more details, see the README on GitHub.
Class-B TCPWM peripheralThis code example demonstrates the use of the Class-B Safety Test Library to test the TCPWM resource configured as a timer/counter, PWM, and PWM output Gate Kill. For more details, see the README on GitHub.
Class-B UART loopbackThis code example demonstrates the use of Class-B Safety Test Library to test the UART loopback test. The example performs the UART loopback test by configuring one SCB instance as UART and connecting its TX and RX pins internally using Smart I/O. For more details, see the README on GitHub.
Code Flash Sector Data UpdatingThis code example demonstrates the use of the Flash HAL driver to perform code flash Read/Write/Erase basic operate and update sector data online. The running steps logs on a UART terminal emulator. For more details, see the README on GitHub.
Cryptography SHA DemonstrationThis code example shows how to generate a 32-byte hash value or message digest for an arbitrary user input message with the SHA2 algorithm using the Cryptographic hardware block in the XMC7000 MCU. For more details, see the README on GitHub.
Cryptography TRNG DemonstrationThis code example demonstrates how to generate a one-time password (OTP) of eight characters in length with the true random number generation feature using the cryptographic hardware block in MCU. For more details, see the README on GitHub.
Emulated EEPROMThis code example demonstrates emulation of EEPROM behavior in flash memory of XMC7000 MCU using emeeprom middleware. For more details, see the README on GitHub.
EVTGEN trigger ADCThis code example demonstrates how to use the XMC7000 MCU event generator (EVTGEN) resource to trigger ADC conversion in active power mode. For more details, see the README on GitHub.
Fault HandlingThis example demonstrates the fault handling functionality of XMC7000 MCU using Peripheral Driver Library (PDL) System Library (SysLib). For more details, see the README on GitHub.
HAL GPIO InterruptThis example demonstrates the use of a GPIO configured as an input pin to generate interrupts on an Infineon MCU. For more details, see the README on GitHub.
HAL I2C MasterThis example demonstrates the use of I2C (HAL) resource in Master mode. The I2C master is configured to send command packets to control a user LED on the slave. For more details, see the README on GitHub.
HAL I2C SlaveThis code example demonstrates the use of I2C resource in HAL in slave mode. The I2C slave is configured to receive command packets to control a user LED on the kit. For more details, see the README on GitHub.
HAL PWM Square WaveThis code example generates a square wave using the PWM driver. An LED connected to the PWM output pin blinks at 2 Hz. For more details, see the README on GitHub.
HAL SPI MasterThis 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 SlaveThis 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.
HAL Watchdog TimerThis example explains how to set up a Watchdog Timer (WDT) using the WDT HAL resource. The WDT resets the device if it is not serviced or "kicked" within the configured timeout interval. For more details, see the README on GitHub.
I2C Master EzI2C SlaveThis example demonstrates the use of I2C (HAL) resource in Master mode with an EzI2C slave. The I2C master is configured to send command packets to control a user LED on the slave. Both the slave and the master can be configured on the same kit. For more details, see the README on GitHub.
I2C Slave Using CallbacksThis example demonstrates the operation of the I2C (HAL) resource in Slave mode using callbacks. For more details, see the README on GitHub.
Low-Power Wakeup from RTC AlarmThis code example demonstrates XMC7000 MCU how to enter the DeepSleep and Hibernate mode, and wake-up using the RTC alarm. For more details, see the README on GitHub.
LVD InterruptThis code example shows how to configure low-voltage detection (LVD) in XMC7000 MCU to monitor VDDD and generate an interrupt when VDDD drops below the configured threshold. For more details, see the README on GitHub.
MCWDT InterruptThis example shows how to configure XMC7000 MCWDT Subcounter0/1 and Subcounter2 operation with interrupt. For more details, see the README on GitHub.
Multicore IPC PipesThis example demonstrates how to use the inter-processor communication (IPC) driver to implement a message pipe in XMC7000 MCU. The pipe is used to send messages between CPUs. For more details, see the README on GitHub.
RTC BasicsThis example demonstrates the usage of the real-time clock (RTC) in Infineon MCU. It shows how to get and set the time in the RTC using the RTC HAL API. For more details, see the README on GitHub.
SCB SPI Master DMAThis example demonstrates the use of the SPI Serial Communication Block (SCB) resource for XMC7000 MCU in master and slave mode using DMA. For more details, see the README on GitHub.
SCB UART Transmit and Receive using DMAThis example demonstrates the UART transmit and receive operation using DMA in XMC7000 MCU. For more details, see the README on GitHub.
Serial Flash Read WriteThis code example demonstrates interfacing an external NOR flash memory using serial flash library. For more details, see the README on GitHub.
Smart IO with GPIOThis example uses the smart I/O peripheral in XMC7000 MCU to connect the button input pin to an output pin to toggle an external LED. There is no CPU usage except for the initialization of GPIO and smart I/O. For more details, see the README on GitHub.
TCPWM CounterThis code example demonstrates how to use the tcpwm counter on the XMC7000 MCU. The counter is started by pwm signal and work with 200KHz clock frequency. Enable the counter CC0 match interrupt, when counter up to CC0 match value generates the interrupt to toggle user LED. For more details, see the README on GitHub.
TCPWM Dead Time ModeThis code example shows TCPWM dead-time mode function. PWM line and PWM COMPL pins output the 1-kHz frequency wave and 1-kHz frequency wave with PWM leftalign 250 us in PWM dead-time mode. For more details, see the README on GitHub.
Toggle LED with SysTick TimerThis code example demonstrates how to use the SysTick timer to generate a timer interrupt on XMC7000 MCU. For more details, see the README on GitHub.
UART Transmit and ReceiveThis example demonstrates the UART (HAL) transmit and receive operation in an Infineon MCU. For more details, see the README on GitHub.