ADC basic | ✓ | ✓ | This 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 Generation | ✓ | ✓ | This 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 FD | ✓ | ✓ | This 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 peripherals | ✓ | ✓ | This 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 loopback | ✓ | | This 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 protocol | ✓ | ✓ | This 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 peripherals | ✓ | ✓ | This 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 peripheral | ✓ | ✓ | This 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 loopback | ✓ | ✓ | This 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 FreeRTOS | ✓ | ✓ | This 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 peripheral | ✓ | ✓ | This 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 loopback | ✓ | ✓ | This 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 Updating | ✓ | ✓ | This 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 Demonstration | ✓ | ✓ | This 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 Demonstration | ✓ | ✓ | This 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 EEPROM | ✓ | ✓ | This 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 ADC | ✓ | ✓ | This 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 Handling | ✓ | ✓ | This 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 Interrupt | ✓ | ✓ | This 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 Master | ✓ | ✓ | This 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 Slave | ✓ | ✓ | This 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 Wave | ✓ | ✓ | This 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 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. |
HAL Watchdog Timer | ✓ | ✓ | This 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 Slave | ✓ | ✓ | This 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 Callbacks | ✓ | ✓ | This 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 Alarm | ✓ | ✓ | This 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 Interrupt | ✓ | ✓ | This 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 Interrupt | ✓ | ✓ | This example shows how to configure XMC7000 MCWDT Subcounter0/1 and Subcounter2 operation with interrupt.
For more details, see the README on GitHub. |
Multicore IPC Pipes | ✓ | ✓ | This 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 Basics | ✓ | ✓ | This 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 DMA | ✓ | ✓ | This 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 DMA | ✓ | ✓ | This example demonstrates the UART transmit and receive operation using DMA in XMC7000 MCU.
For more details, see the README on GitHub. |
Serial Flash Read Write | ✓ | ✓ | This code example demonstrates interfacing an external NOR flash memory using serial flash library.
For more details, see the README on GitHub. |
Smart IO with GPIO | ✓ | ✓ | This 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 Counter | ✓ | ✓ | This 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 Mode | ✓ | ✓ | This 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 Timer | ✓ | ✓ | This 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 Receive | ✓ | ✓ | This example demonstrates the UART (HAL) transmit and receive operation in an Infineon MCU.
For more details, see the README on GitHub. |