PSOC™ Control C3M6 Evaluation Kit

Overview

The PSOC™ Control C3M6 Evaluation Kit (KIT_PSC3M6_EVAL) is an evaluation board for the PSC3M6 microcontroller. The PSC3M6 is an Arm® Cortex®-M33 based SoC from Infineon’s CAT1B family. The PSC3M6GES3AHQ1 variant on this board features 512 KB flash, 128 KB SRAM, and TrustZone-M security.

Hardware

  • SoC: PSC3M6GES3AHQ1 (PG-E-LQFP-100)

  • CPU: Arm® Cortex®-M33 at up to 180 MHz

  • Flash: 512 KB internal flash

  • SRAM: 128 KB

  • Connectivity: CAN FD, SCB (UART/SPI/I2C)

  • Security: TrustZone-M

  • Debug: SEGGER J-Link (requires SEGGER J-Link version v9.68 or later)

  • User I/O: Two user LEDs, two user buttons, potentiometer

Kit Contents

The KIT_PSC3M6_EVAL User Guide lists the following kit contents:

  • PSOC™ Control C3M6 Evaluation Kit board

  • USB Type-A to Type-C cable

  • Jumper wires (10 wires)

  • Quick start guide (QR code for web information)

Supported Features

The kit_psc3m6_eval 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_psc3m6_eval/psc3m6ges3ahq1 target

On-target memory for this board target: 128 KiB of RAM, 512 KiB of Flash.

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M33 CPU1

arm,cortex-m33

ADC

on-chip

PSOC C3 HPPASS SAR ADC, MCPASS v31

infineon,hppass-sar-adc-v3

ARM architecture

on-chip

Infineon Serial Communication Blocks (SCB) node2

infineon,scb

CAN

on-chip

Infineon CAN FD controller wrapper. 1

infineon,canfd-controller

on-chip

Infineon MCAN Driver11

infineon,can

Clock control

on-chip

Generic fixed-rate clock provider32

infineon,fixed-clock

on-chip

Generic fixed-rate clock provider14

infineon,fixed-factor-clock

on-chip

infineon peripheral divider612

infineon,peri-div

Comparator

on-chip

Infineon Low Power Comparator (LPComp) for CAT1 family1

infineon,lp-comp

on-chip

Infineon LPComp channel node (child of infineon,lp-comp)2

infineon,lp-comp-channel

on-chip

Infineon HPPASS CSG comparator9

infineon,hppass-csg-comp

Counter

on-chip

Infineon TCPWM counter24

infineon,tcpwm-counter

Cryptographic accelerator

on-chip

Infineon MXCRYPTOLITE True Random Number Generator1

infineon,mxcryptolite-trng

on-chip

Infineon MXCRYPTOLITE crypto engine (AES / SHA-256)1

infineon,mxcryptolite-crypto

DAC

on-chip

Infineon HPPASS CSG DAC9

infineon,hppass-csg-dac

DMA

on-chip

Infineon CAT1 DMA2

infineon,dma

Flash controller

on-chip

Infineon CAT1 flash controller1

infineon,flash-controller

GPIO & Headers

on-chip

Infineon GPIO Port104

infineon,gpio

on-board

GPIO pins exposed on Arduino Uno (R3) headers1

arduino-header-r3

I2C

on-chip

Infineon CAT1 I2C driver1

infineon,i2c

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv8-M NVIC (Nested Vectored Interrupt Controller)1

arm,v8m-nvic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

Multi-Function Device

on-chip

Infineon MXCRYPTOLITE multi-function device1

infineon,mxcryptolite

on-chip

Infineon HPPASS analog subsystem with the MCPASS v3 register layout (PSOC Control C3M6/P6)1

infineon,hppass-analog-v3

on-chip

Infineon HPPASS Comparator Slope Generator (CSG) MFD.1

infineon,hppass-csg-v3

MTD

on-chip

Flash node1

soc-nv-flash

PHY

on-board

Simple GPIO controlled CAN transceiver1

can-transceiver-gpio

Pin control

on-chip

Infineon CAT1 Pinctrl Container1

infineon,pinctrl

Power management

on-chip

Infineon hibernate / hibernate-RAM wakeup source configuration1

infineon,hibernate-wakeup

on-chip

Infineon CAT1B power control1

infineon,cat1b-power

PWM

on-chip

Infineon TCPWM PWM123

infineon,tcpwm-pwm

RTC

on-chip

Infineon CAT1 family RTC device1

infineon,rtc

Serial controller

on-chip

Infineon CAT1 UART2

infineon,uart

SPI

on-chip

Infineon CAT1 SPI1

infineon,spi

SRAM

on-chip

Generic on-chip SRAM1

mmio-sram

Timer

on-chip

ARMv8-M System Tick1

arm,armv8m-systick

on-chip

Infineon low power timer1

infineon,lp-timer

on-chip

Infineon TCPWM Timer123

infineon,tcpwm

Watchdog

on-chip

Infineon CAT1 Watchdog1

infineon,watchdog

kit_psc3m6_eval/psc3m6ges3ahq1/norflash target

On-target memory for this board target: 128 KiB of RAM, 512 KiB of Flash.

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M33 CPU1

arm,cortex-m33

ADC

on-chip

PSOC C3 HPPASS SAR ADC, MCPASS v31

infineon,hppass-sar-adc-v3

ARM architecture

on-chip

Infineon Serial Communication Blocks (SCB) node1

infineon,scb

CAN

on-chip

Infineon CAN FD controller wrapper. 1

infineon,canfd-controller

on-chip

Infineon MCAN Driver11

infineon,can

Clock control

on-chip

Generic fixed-rate clock provider32

infineon,fixed-clock

on-chip

Generic fixed-rate clock provider212

infineon,fixed-factor-clock

on-chip

infineon peripheral divider711

infineon,peri-div

Comparator

on-chip

Infineon Low Power Comparator (LPComp) for CAT1 family1

infineon,lp-comp

on-chip

Infineon LPComp channel node (child of infineon,lp-comp)2

infineon,lp-comp-channel

on-chip

Infineon HPPASS CSG comparator9

infineon,hppass-csg-comp

Counter

on-chip

Infineon TCPWM counter24

infineon,tcpwm-counter

Cryptographic accelerator

on-chip

Infineon MXCRYPTOLITE True Random Number Generator1

infineon,mxcryptolite-trng

on-chip

Infineon MXCRYPTOLITE crypto engine (AES / SHA-256)1

infineon,mxcryptolite-crypto

DAC

on-chip

Infineon HPPASS CSG DAC9

infineon,hppass-csg-dac

DMA

on-chip

Infineon CAT1 DMA2

infineon,dma

Flash controller

on-chip

Infineon CAT1 flash controller1

infineon,flash-controller

GPIO & Headers

on-chip

Infineon GPIO Port104

infineon,gpio

on-board

GPIO pins exposed on Arduino Uno (R3) headers1

arduino-header-r3

I2C

on-chip

Infineon CAT1 I2C driver1

infineon,i2c

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv8-M NVIC (Nested Vectored Interrupt Controller)1

arm,v8m-nvic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

Multi-Function Device

on-chip

Infineon MXCRYPTOLITE multi-function device1

infineon,mxcryptolite

on-chip

Infineon HPPASS analog subsystem with the MCPASS v3 register layout (PSOC Control C3M6/P6)1

infineon,hppass-analog-v3

on-chip

Infineon HPPASS Comparator Slope Generator (CSG) MFD.1

infineon,hppass-csg-v3

MTD

on-board

Properties supporting Zephyr spi-nor flash driver (over the Zephyr SPI API) control of serial flash memories using the standard M25P80-based command set1

jedec,spi-nor

on-board

Fixed partitions of a flash (or other non-volatile storage) memory1

fixed-partitions

on-chip

Flash node1

soc-nv-flash

PHY

on-board

Simple GPIO controlled CAN transceiver1

can-transceiver-gpio

Pin control

on-chip

Infineon CAT1 Pinctrl Container1

infineon,pinctrl

Power management

on-chip

Infineon hibernate / hibernate-RAM wakeup source configuration1

infineon,hibernate-wakeup

on-chip

Infineon CAT1B power control1

infineon,cat1b-power

PWM

on-chip

Infineon TCPWM PWM123

infineon,tcpwm-pwm

RTC

on-chip

Infineon CAT1 family RTC device1

infineon,rtc

Serial controller

on-chip

Infineon CAT1 UART2

infineon,uart

SPI

on-chip

Infineon CAT1 SPI11

infineon,spi

SRAM

on-chip

Generic on-chip SRAM1

mmio-sram

Timer

on-chip

ARMv8-M System Tick1

arm,armv8m-systick

on-chip

Infineon low power timer1

infineon,lp-timer

on-chip

Infineon TCPWM Timer123

infineon,tcpwm

Watchdog

on-chip

Infineon CAT1 Watchdog1

infineon,watchdog

Connections and IOs

LEDs

Name

GPIO Pin

LED0

P8.4 (active low)

LED1

P8.5 (active low)

Push Buttons

Name

GPIO Pin

SW4

P10.2 (active low)

SW3

P2.0 (active low)

Default Zephyr Peripheral Mapping

Pin

Function

Usage

P6.3

SCB3 UART TX

Console TX

P6.2

SCB3 UART RX

Console RX

P3.3

SCB4 UART TX

User UART TX

P3.2

SCB4 UART RX

User UART RX

P5.3

CANFD0 CH1 TX

CAN FD TX

P5.2

CANFD0 CH1 RX

CAN FD RX

P9.0

SCB0 I2C SCL

I2C clock

P9.2

SCB0 I2C SDA

I2C data

P7.0

SCB2 SPI CLK

SPI clock

P7.1

SCB2 SPI MOSI

SPI MOSI

P7.2

SCB2 SPI MISO

SPI MISO

P8.4

GPIO

LED0

P8.5

GPIO

LED1

P10.2

GPIO

Button SW4

P2.0

GPIO

Button SW3

AN_B4

SAR ADC ch 12

Potentiometer

System Clock

The PSOC™ Control C3M6 and evaluation board provide the following clock sources:

  • IMO (Internal Main Oscillator): 8 MHz

  • IHO (Internal High-speed Oscillator): 48 MHz

  • ECO (External Crystal Oscillator): 16 MHz, connected to P1.0 and P1.1

  • WCO (Watch Crystal Oscillator): 32.768 kHz, connected to P0.0 and P0.1

Serial Port

The Zephyr console output is assigned to the debug UART on SCB3 (uart3).

Default communication settings are 115200 8N1.

Building

Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b kit_psc3m6_eval samples/hello_world

Board Variants

NOR Flash Variant

The kit_psc3m6_eval/psc3m6ges3ahq1/norflash variant enables an external S25FL128 SPI NOR flash (16 MB) connected via SCB5 (P8.1 MOSI, P8.2 MISO, P8.3 CLK, P8.0 CS). This flash is exposed as a storage partition suitable for use with the flash API, file systems, or settings storage.

Note

This variant requires a hardware rework. The default board target (kit_psc3m6_eval) should be used for unmodified boards.

Note

The S25FL128 flash operates in standard 4-wire SPI mode only. The WP# and RESET# pins are not connected on this board, so QUAD SPI is not supported. Hardware write-protection is not available; software write-protection via the flash status register is still possible.

Kit Rework for NOR Flash

The following resistor rework is required per the KIT_PSC3M6_EVAL User Guide to enable the SCB5 SPI NOR flash interface:

Reference Designator

Assembly

R62

Stuff

R63

Stuff

R64

Stuff

R67

Stuff

R71

DNI

R72

DNI

R73

DNI

R74

DNI

R134

DNI

Building for the NOR Flash Variant

# From the root of the zephyr repository
west build -b kit_psc3m6_eval/psc3m6ges3ahq1/norflash samples/drivers/flash_shell

Programming and Debugging

The kit_psc3m6_eval board supports the runners and associated west commands listed below.

flash debug rtt debugserver attach
openocd ✅ (default) ✅ (default) ✅ ✅ ✅

Use west flash and west debug with OpenOCD and SEGGER J-Link probe (requires SEGGER J-Link version v9.68 or later).

Infineon OpenOCD Installation

The ModusToolbox™ Programming Tools package includes Infineon OpenOCD. Alternatively, a standalone installation can be done by downloading the Infineon OpenOCD release for your system and extracting the files to a location of your choice.

Flashing

Build and flash the application:

# From the root of the zephyr repository
west build -b kit_psc3m6_eval -p always samples/hello_world
west flash --openocd <path/to/openocd>

MCUboot

The kit_psc3m6_eval board supports MCUboot in overwrite-only mode. Use --sysbuild with -DSB_CONFIG_BOOTLOADER_MCUBOOT=y to build the bootloader and application together:

# From the root of the zephyr repository
west build -b kit_psc3m6_eval --sysbuild samples/hello_world -- -DSB_CONFIG_BOOTLOADER_MCUBOOT=y

References