PSOC™ Control C3M8 Evaluation Kit
Overview
The PSOC™ Control C3M8 Evaluation Kit (KIT_PSC3M8_EVK) is an evaluation board for the PSC3M8 microcontroller from Infineon’s CAT1B family. The PSC3M8GFS3PAHQ1 variant on this board features:
Main Core: Arm® Cortex®-M33 core running at up to 180 MHz with FPU, DSP, and TrustZone-M security. The board also features 512 KB internal flash, 128 KB system SRAM, up to seven SCBs, and two CAN FD channels
PPCA Core: Subsystem Programmable Power Control Accelerator(PPCA) containing two Arm® Cortex®-M33 cores running at up to 200 MHz with FPU and DSP, 112 KB of dedicated SRAM, and feature-rich analog and digital peripherals designed for complex power conversion and motor control applications. Key features include 12-bit, 25 Msps ADCs, comparators with differential slope generators, hardware filters, custom logic blocks, DACs, and advanced timers with high-resolution capabilities.
Hardware
SoC: PSC3M8GFS3PAHQ1 (PG-E-LQFP-100)
Main CPU: Arm® Cortex®-M33 at up to 180 MHz (with FPU, DSP)
PPCA Cores: Two Arm® Cortex® M33 running at up to 200 MHz (with FPU, DSP and 112 KB SRAM)
Flash: 512 KB internal flash
SRAM: 128 KB
Connectivity: CAN FD, SCB (UART/SPI/I2C)
Security: TrustZone-M
Debug: Onboard programmer/debugger (KitProg3)
User I/O: six user LEDs, two user buttons, three potentiometers
Kit Contents
The KIT_PSC3M8_EVK website lists the following kit contents:
PSOC™ Control C3M8 Evaluation Kit board
USB Type-A to Type-C cable
Quick Start Guide
Supported Features
The kit_psc3m8_evk 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_psc3m8_evk/psc3m8gfs3pahq1/main 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 architecture |
on-chip |
Infineon Serial Communication Blocks (SCB) node6 |
|
Clock control |
on-chip |
||
on-chip |
|||
on-chip |
|||
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 |
ARMv8-M NVIC (Nested Vectored Interrupt Controller)1 |
|
IPC |
on-chip |
Infineon inter-processor communication (IPC) instance1 |
|
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
MTD |
on-chip |
Flash node1 |
|
Pin control |
on-chip |
Infineon CAT1 Pinctrl Container1 |
|
Power management |
on-chip |
Infineon CAT1B power control1 |
|
Serial controller |
on-chip |
Infineon CAT1 UART1 |
|
SRAM |
on-chip |
Generic on-chip SRAM1 |
|
Timer |
on-chip |
ARMv8-M System Tick1 |
Connections and IOs
LEDs
Name |
GPIO Pin |
|---|---|
LED0 |
P1.5 (active low) |
LED1 |
P4.1 (active low) |
LED2 |
P1.7 (active low) |
LED3 |
P1.4 (active low) |
LED4 |
P9.1 (active low) |
LED5 |
P4.0 (active low) |
Default Zephyr Peripheral Mapping
Pin |
Function |
Usage |
|---|---|---|
P3.3 |
SCB2 UART TX |
Console TX |
P3.4 |
SCB2 UART RX |
Console RX |
P7.4 |
CANFD0 CH1 TX |
CAN FD TX |
P7.5 |
CANFD0 CH1 RX |
CAN FD RX |
P2.3 |
SCB0 I2C SCL |
I2C clock |
P2.4 |
SCB0 I2C SDA |
I2C data |
P6.5 |
SCB4 SPI CLK |
SPI clock |
P6.4 |
SCB4 SPI MOSI |
SPI MOSI |
P6.3 |
SCB4 SPI MISO |
SPI MISO |
P1.5 |
GPIO |
LED0 |
P4.1 |
GPIO |
LED1 |
P1.7 |
GPIO |
LED2 |
P1.4 |
GPIO |
LED3 |
P9.1 |
GPIO |
LED4 |
P4.0 |
GPIO |
LED5 |
P5.2 |
GPIO |
Button SW3 |
P7.0 |
GPIO |
Button SW4 |
System Clock
The PSOC™ Control C3M8 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 (supports 4 MHz to 35 MHz)
WCO (Watch Crystal Oscillator): 32.768 kHz
Serial Port
The Zephyr console output is assigned to the debug UART on SCB2
(uart2).
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_psc3m8_evk/psc3m8gfs3pahq1/main samples/hello_world
Programming and Debugging
The kit_psc3m8_evk board supports the runners and associated west commands listed below.
| flash | debug | attach | rtt | debugserver | |
|---|---|---|---|---|---|
| openocd | ✅ (default) | ✅ (default) | ✅ | ✅ | ✅ |
The KIT_PSC3M8_EVK includes an onboard programmer/debugger (KitProg3) to provide debugging, flash programming, and serial communication over USB. Flash and debug commands use OpenOCD and require Infineon OpenOCD to be installed.
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
One time, set the Infineon OpenOCD path:
west config build.cmake-args -- -DOPENOCD=path/to/infineon/openocd/bin/openocd
Build and flash the application:
west build -b kit_psc3m8_evk/psc3m8gfs3pahq1/main -p always samples/hello_world
west flash
You should see the following message on the console:
*** Booting Zephyr OS build vX.Y.Z ***
Hello World! kit_psc3m8_evk/psc3m8gfs3pahq1/main