1.. _cy8ckit_062s4: 2 3[INFINEON PSoC 62S4 Pioneer Kit] 4################################ 5 6Overview 7******** 8The PSOC 62S4 Pioneer kit has a CY8C62x4 MCU, which is an ultra-low-power PSoC device specifically designed for battery-operated analog 9sensing applications. It includes a 150-MHz Arm® Cortex®-M4 CPU as the primary application processor, a 100-MHz Arm® Cortex®-M0+ CPU that 10supports low-power operations, up to 256 KB Flash and 128 KB SRAM, programmable analog sensing, 11CapSense™ touch-sensing, and programmable digital peripherals. 12 13The board features an onboard 14programmer/debugger (KitProg3), a 512-Mbit Quad SPI NOR flash, a micro-B connector for USB device 15interface, a thermistor, an ambient light sensor, a 5-segment CapSense™ slider, two CapSense™ buttons, two 16user LEDs, and a push button. The board supports operating voltages from 1.8 V to 3.3 V for PSoC™ 6 MCU. 17 18.. figure::img/cy8ckit_062s4.png 19 :width: 800px 20 :align: center 21 :alt: Board Name 22 23 Board Name (Credit: <owner>) 24 25Hardware 26******** 27 28`CY8CKIT 062S4 Pioneer Kit Website`_ 29`CY8CKIT 062S4 Pioneer Kit Guide`_ 30`CY8CKIT 062S4 Pioneer Kit Schematic`_ 31`CY8CKIT 062S4 Pioneer Kit Technical Reference Manual`_ 32`CY8CKIT 062S4 Pioneer Kit Datasheet`_ 33 34Supported Features 35================== 36 37The board configuration supports the following hardware features: 38 39+-----------+------------+-----------------------+ 40| Interface | Controller | Driver/Component | 41+===========+============+=======================+ 42| NVIC | on-chip | nested vectored | 43| | | interrupt controller | 44+-----------+------------+-----------------------+ 45| SYSTICK | on-chip | system clock | 46+-----------+------------+-----------------------+ 47| PINCTRL | on-chip | pin control | 48+-----------+------------+-----------------------+ 49| UART | on-chip | serial port-polling; | 50+-----------+------------+-----------------------+ 51 52The default configuration can be found in the Kconfig 53:zephyr_file:`boards/arm/cy8ckit_062s4/cy8ckit_062s4_m4_defconfig`. 54 55Clock Configuration 56=================== 57 58+-----------+------------+-----------------------+ 59| Clock | Source | Output Frequency | 60+===========+============+=======================+ 61| FLL | IMO | 100.0 MHz | 62+-----------+------------+-----------------------+ 63| PLL | IMO | 48.0 MHz | 64+-----------+------------+-----------------------+ 65| CLK_HF0 | CLK_PATH0 | 100.0 MHz | 66+-----------+------------+-----------------------+ 67 68Fetch Binary Blobs 69================== 70 71.. code-block:: console 72 73 west blobs fetch hal_infineon 74 75 76Build and flash hello world sample 77********************************** 78 79 80.. code-block:: console 81 82 cd zephyr/samples/hello_world 83 west build -p auto -b cy8ckit_062s4_m4 --pristine 84 west flash 85 picocom /dev/ttyACM0 -b 115200 86 87OpenOCD Installation 88==================== 89 90To get the OpenOCD package, it is required that you 91 921. Download the software ModusToolbox 3.1. https://softwaretools.infineon.com/tools/com.ifx.tb.tool.modustoolbox 932. Once downloaded add the path to access the Scripts folder provided by ModusToolbox 94 export PATH=$PATH:/path/to/ModusToolbox/tools_3.1/openocd/scripts 953. Add the OpenOCD executable file's path to west flash/debug. 964. Flash using: west flash --openocd path/to/infineon/openocd/bin/openocd 975. Debug using: west debug --openocd path/to/infineon/openocd/bin/openocd 98 99References 100********** 101 102.. _CY8CKIT 062S4 Pioneer Kit Guide: 103 https://www.infineon.com/dgdl/Infineon-CY8CKIT_062S4_PSoC62S4_pioneer_kit_guide-UserManual-v01_00-EN.pdf?fileId=8ac78c8c7e7124d1017e962f98992207 104 105.. _CY8CKIT 062S4 Pioneer Kit Website: 106 https://www.infineon.com/cms/en/product/evaluation-boards/cy8ckit-062s4/?redirId=VL1508&utm_medium=referral&utm_source=cypress&utm_campaign=202110_globe_en_all_integration-dev_kit 107 108.. _CY8CKIT 062S4 Pioneer Kit Schematic: 109 https://www.infineon.com/dgdl/Infineon-CY8CKIT-062S4_PSoC_62S4_Pioneer_Kit_Schematic-PCBDesignData-v01_00-EN.pdf?fileId=8ac78c8c7d710014017d7153484d2081 110 111.. _CY8CKIT 062S4 Pioneer Kit Technical Reference Manual: 112 https://www.infineon.com/dgdl/Infineon-PSOC_6_MCU_CY8C61X4CY8C62X4_REGISTERS_TECHNICAL_REFERENCE_MANUAL_(TRM)_PSOC_61_PSOC_62_MCU-AdditionalTechnicalInformation-v03_00-EN.pdf?fileId=8ac78c8c7d0d8da4017d0fb34f0627a7 113 114.. _CY8CKIT 062S4 Pioneer Kit Datasheet: 115 https://www.infineon.com/dgdl/Infineon-PSoC_6_MCU_CY8C62X4-DataSheet-v12_00-EN.pdf?fileId=8ac78c8c7ddc01d7017ddd026d585901 116