T2G Body High Lite Evaluation Kit
Overview
The KIT_T2G-B-H_LITE kit enables you to evaluate and develop applications using the TRAVEO™ T2G Body High family CYT4BF device. The TRAVEO™ T2G B-H MCU is specifically designed for automotive applications and it is a true programmable embedded system-on-chip, integrating two 350-MHz Arm® Cortex®-M7 as the primary application processor, a 100-MHz Arm® Cortex®-M0+ that supports the following:
Low-power operations
Up to 8 MB flash and 1 MB SRAM
Programmable analog and digital peripherals that allow faster time-to-market
The TRAVEO™ T2G B-H Lite kit is equipped with a TRAVEO™ T2G B-H family CYT4BF MCU, two expansion headers, two Shield2Go connectors, headers that are compatible with Arduino shield and mikroBUS. Additionally, the board features an onboard programmer/debugger (KitProg3), a 512-Mbit Dual QSPI NOR flash, a CAN FD transceiver, an Ethernet PHY transceiver with RJ45 connector interface, a micro-B connector for an USB device interface, three user LEDs, one potentiometer, and two push buttons. The board supports operating voltages from 3.3 V to 5.0 V for the TRAVEO™ T2G B-H MCU.
Hardware
For more information about KIT_T2G-B-H_LITE:
Kit Features
Evaluation board for CYT4BF MCU4 in TEQFP package with 176 pins, dual-core Arm®Cortex® M7 CPUs running at 350-MHz and an Arm® Cortex® M0+ CPU running at 100-MHz
Full-system approach on the board, featuring Gigabit Ethernet PHY and connector, CAN FD transceiver, user LEDs, buttons, and potentiometer
Headers compatible with Arduino for interfacing Arduino shields
Fully compatible with ModusToolbox™ v3.0
KitProg3 on-board SWD programmer/debugger, USB-UART, and USB-I2C bridge functionality through USB connector
A 512-Mbit external QSPI NOR flash
Evaluation board supports operating voltages from 3.3 V to 5.0 V for CYT4BF
Supported Features
The kit_t2g_b_h_lite board supports the hardware features listed below.
- on-chip / on-board
- Feature integrated in the SoC / present on the board.
- 2 / 2
-
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files. -
vnd,foo -
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.
kit_t2g_b_h_lite/cyt4bf8cds/m0p target
Type |
Location |
Description |
Compatible |
|---|---|---|---|
CPU |
on-chip |
ARM Cortex-M0+ CPU1 |
|
ARM architecture |
on-chip |
Infineon Serial Communication Blocks (SCB) node9 |
|
Clock control |
on-chip |
Generic fixed-rate clock provider7 |
|
on-chip |
|||
Counter |
on-chip |
Infineon counters118 |
|
DMA |
on-chip |
Infineon CAT1 DMA2 |
|
Flash controller |
on-chip |
Infineon CAT1 flash controller1 |
|
GPIO & Headers |
on-chip |
||
Input |
on-board |
Group of GPIO-bound input keys1 |
|
Interrupt controller |
on-chip |
ARMv6-M NVIC (Nested Vectored Interrupt Controller) controller1 |
|
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
MTD |
on-chip |
Flash node5 |
|
Pin control |
on-chip |
Infineon CAT1 Pinctrl Container1 |
|
SDHC |
on-chip |
Infineon CAT1 SDHC/SDIO controller1 |
|
Serial controller |
on-chip |
Infineon CAT1 UART1 |
|
SRAM |
on-chip |
Generic on-chip SRAM4 |
|
Timer |
on-chip |
Infineon Cat1 low power timer3 |
|
on-chip |
ARMv6-M System Tick1 |
||
Watchdog |
on-chip |
Infineon CAT1 Watchdog1 |
kit_t2g_b_h_lite/cyt4bf8cds/m7_0 target
Type |
Location |
Description |
Compatible |
|---|---|---|---|
CPU |
on-chip |
ARM Cortex-M7 CPU1 |
|
ARM architecture |
on-chip |
Infineon Serial Communication Blocks (SCB) node9 |
|
Clock control |
on-chip |
Generic fixed-rate clock provider7 |
|
on-chip |
|||
Counter |
on-chip |
Infineon counters118 |
|
DMA |
on-chip |
Infineon CAT1 DMA2 |
|
Flash controller |
on-chip |
Infineon CAT1 flash controller1 |
|
GPIO & Headers |
on-chip |
||
Input |
on-board |
Group of GPIO-bound input keys1 |
|
Interrupt controller |
on-chip |
ARMv7-M NVIC (Nested Vectored Interrupt Controller)1 |
|
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
MTD |
on-chip |
Flash node5 |
|
Pin control |
on-chip |
Infineon CAT1 Pinctrl Container1 |
|
SDHC |
on-chip |
Infineon CAT1 SDHC/SDIO controller1 |
|
Serial controller |
on-chip |
Infineon CAT1 UART1 |
|
SRAM |
on-chip |
Generic on-chip SRAM4 |
|
Timer |
on-chip |
Infineon Cat1 low power timer3 |
|
on-chip |
ARMv7-M System Tick1 |
||
Watchdog |
on-chip |
Infineon CAT1 Watchdog1 |
kit_t2g_b_h_lite/cyt4bf8cds/m7_1 target
Type |
Location |
Description |
Compatible |
|---|---|---|---|
CPU |
on-chip |
ARM Cortex-M7 CPU1 |
|
ARM architecture |
on-chip |
Infineon Serial Communication Blocks (SCB) node9 |
|
Clock control |
on-chip |
Generic fixed-rate clock provider7 |
|
on-chip |
|||
Counter |
on-chip |
Infineon counters118 |
|
DMA |
on-chip |
Infineon CAT1 DMA2 |
|
Flash controller |
on-chip |
Infineon CAT1 flash controller1 |
|
GPIO & Headers |
on-chip |
||
Input |
on-board |
Group of GPIO-bound input keys1 |
|
Interrupt controller |
on-chip |
ARMv7-M NVIC (Nested Vectored Interrupt Controller)1 |
|
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
MTD |
on-chip |
Flash node5 |
|
Pin control |
on-chip |
Infineon CAT1 Pinctrl Container1 |
|
SDHC |
on-chip |
Infineon CAT1 SDHC/SDIO controller1 |
|
Serial controller |
on-chip |
Infineon CAT1 UART1 |
|
SRAM |
on-chip |
Generic on-chip SRAM4 |
|
Timer |
on-chip |
Infineon Cat1 low power timer3 |
|
on-chip |
ARMv7-M System Tick1 |
||
Watchdog |
on-chip |
Infineon CAT1 Watchdog1 |
Programming and Debugging
The kit_t2g_b_h_lite board supports the runners and associated west commands listed below.
| flash | debug | attach | debugserver | rtt | |
|---|---|---|---|---|---|
| openocd | ✅ (default) | ✅ (default) | ✅ | ✅ | ✅ |
Building
Here is an example for building the Blinky sample application for Cortex®-M0+.
# From the root of the zephyr repository
west build -b kit_t2g_b_h_lite/cyt4bf8cds/m0p samples/basic/blinky
The same for the first Cortex®-M7 core:
# From the root of the zephyr repository
west build -b kit_t2g_b_h_lite/cyt4bf8cds/m7_0 samples/basic/blinky
And the second Cortex®-M7 core:
# From the root of the zephyr repository
west build -b kit_t2g_b_h_lite/cyt4bf8cds/m7_1 samples/basic/blinky
Note
Only Cortex®-M0+ core is enabled at startup. To enable the first Cortex®-M7 core, add the next code to Cortex®-M0+ application: Cy_SysEnableCM7(CORE_CM7_0, CY_CORTEX_M7_0_APPL_ADDR);, and the next code to enable the second Cortex®-M7 core: Cy_SysEnableCM7(CORE_CM7_1, CY_CORTEX_M7_1_APPL_ADDR);.
Flashing
The KIT_T2G_B_H_LITE includes an onboard programmer/debugger (KitProg3 [6]) to provide debugging, flash programming, and serial communication over USB. Flash and debug commands use OpenOCD and require a custom Infineon OpenOCD version, that supports KitProg3, to be installed.
Infineon OpenOCD Installation
Both the full ModusToolbox [3] and the ModusToolbox Programming Tools [4] packages include Infineon OpenOCD. Installing either of these packages will also install Infineon OpenOCD.
If neither package is installed, a minimal installation can be done by downloading the Infineon OpenOCD [5] release for your system and manually extract the files to a location of your choice.
Note
Linux requires device access rights to be set up for KitProg3. This is handled automatically by the ModusToolbox and ModusToolbox Programming Tools installations. When doing a minimal installation, this can be done manually by executing the script openocd/udev_rules/install_rules.sh.
West Commands
The path to the installed Infineon OpenOCD executable must be available to the west tool commands. There are multiple ways of doing this. The example below uses a permanent CMake argument to set the CMake variable OPENOCD.
# Run west config once to set permanent CMake argument west config build.cmake-args -- -DOPENOCD=path/to/infineon/openocd/bin/openocd.exe # Do a pristine build once after setting CMake argument west build -b kit_t2g_b_h_lite/cyt4bf8cds/m0p -p always samples/basic/blinky west flash west debug# Run west config once to set permanent CMake argument west config build.cmake-args -- -DOPENOCD=path/to/infineon/openocd/bin/openocd # Do a pristine build once after setting CMake argument west build -b kit_t2g_b_h_lite/cyt4bf8cds/m0p -p always samples/basic/blinky west flash west debug
Once the gdb console starts after executing the west debug command, you may now set breakpoints and perform other standard GDB debugging.