Part 1
요약·해설
CY8CPROTO-062-4343W는 PSoC 6, CYW4343W, CAPSENSE, Quad-SPI와 microSD를 통합합니다.

M4 150MHz · M0+ 100MHz
CYW4343W Wi-Fi · BT
KitProg3/KitProg2 conflict
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
D67A0805FCDA90258F51A31ED8CFEE882D0D35646DC38AD5CB912BA149E9D4A5
.. _cy8cproto_062_4343w:
INFINEON CY8CPROTO-062-4343W
############################
Overview
********
The CY8CPROTO-062-4343W PSoC 6 Wi-Fi BT Prototyping Kit is a low-cost hardware
platform that enables design and debug of PSoC 6 MCUs. It comes with a Murata
LBEE5KL1DX module, based on the CYW4343W combo device, industry-leading CAPSENSE
for touch buttons and slider, on-board debugger/programmer with KitProg3, microSD
card interface, 512-Mb Quad-SPI NOR flash, PDM-PCM microphone, and a thermistor.
This kit is designed with a snap-away form-factor, allowing the user to separate
the different components and features that come with this kit and use independently.
In addition, support for Digilent's Pmod interface is also provided with this kit.
.. image:: ../../../../../../../boards/infineon/cy8cproto_062_4343w/doc/img/board.jpg
:align: center
:alt: CY8CPROTO-062-4343W
Hardware
********
For more information about the PSoC 62 MCU SoC and CY8CPROTO-062-4343W board:
- `PSoC 62 MCU SoC Website`_
- `PSoC 62 MCU Datasheet`_
- `PSoC 62 MCU Architecture Reference Manual`_
- `PSoC 62 MCU Register Reference Manual`_
- `CY8CPROTO-062-4343W PSoC 6 Wi-Fi BT Website`_
- `CY8CPROTO-062-4343W PSoC 6 Wi-Fi BT User Guide`_
- `CY8CPROTO-062-4343W PSoC 6 Wi-Fi BT Schematics`_
Kit Features:
=============
- Support of up to 2MB Flash and 1MB SRAM
- Dedicated SDHC to interface with WICED wireless devices.
- Delivers dual-cores, with a 150-MHz Arm Cortex-M4 as the primary
application processor and a 100-MHz Arm Cortex-M0+ as the secondary
processor for low-power operations.
- Supports Full-Speed USB, capacitive-sensing with CAPSENSE, a PDM-PCM
digital microphone interface, a Quad-SPI interface, 13 serial communication
blocks, 7 programmable analog blocks, and 56 programmable digital blocks.
Kit Contents:
=============
- PSoC 6 Wi-Fi BT Prototyping Board
- USB Type-A to Micro-B cable
- Quick Start Guide
Supported Features
==================
The board configuration supports the following hardware features:
+-----------+------------+-----------------------+
| Interface | Controller | Driver/Component |
+===========+============+=======================+
| NVIC | on-chip | nested vectored |
| | | interrupt controller |
+-----------+------------+-----------------------+
| SYSTICK | on-chip | system clock |
+-----------+------------+-----------------------+
| GPIO | on-chip | GPIO |
+-----------+------------+-----------------------+
| UART | on-chip | serial port-polling; |
| | | serial port-interrupt |
+-----------+------------+-----------------------+
The default configuration can be found in the Kconfig
:zephyr_file:`boards/infineon/cy8cproto_062_4343w/cy8cproto_062_4343w_defconfig`
System Clock
============
The PSoC 62 MCU SoC is configured to use the internal IMO+FLL as a source for
the system clock. CM0+ works at 50MHz, CM4 - at 100MHz. Other sources for the
system clock are provided in the SOC, depending on your system requirements.
Fetch Binary Blobs
******************
cy8cproto_062_4343w board optionally uses binary blobs for features
(e.g WIFI/Bluetooth chip firmware, CM0p prebuilt images, etc).
To fetch Binary Blobs:
.. code-block:: console
west blobs fetch hal_infineon
Build blinking led sample
*************************
Here is an example for the :zephyr:code-sample:`blinky` application.
.. code-block:: console
cd zephyr
west build -p auto -b cy8cproto_062_4343w samples/basic/blink
OpenOCD Installation
====================
To get the OpenOCD package, it is required that you
1. Download the software ModusToolbox 3.1. https://softwaretools.infineon.com/tools/com.ifx.tb.tool.modustoolbox
2. Once downloaded add the path to access the Scripts folder provided by ModusToolbox
export PATH=$PATH:/path/to/ModusToolbox/tools_3.1/openocd/scripts
3. Add the OpenOCD executable file's path to west flash/debug.
4. Flash using: west flash --openocd path/to/infineon/openocd/bin/openocd
5. Debug using: west debug --openocd path/to/infineon/openocd/bin/openocd
Programming and Debugging
*************************
The CY8CPROTO-062-4343W includes an onboard programmer/debugger (KitProg2) with
mass storage programming to provide debugging, flash programming, and serial
communication over USB. Flash and debug commands must be pointed to the Cypress
OpenOCD you downloaded above.
On Windows:
.. code-block:: console
west flash --openocd path/to/infineon/openocd/bin/openocd.exe
west debug --openocd path/to/infineon/openocd/bin/openocd.exe
On Linux:
.. code-block:: console
west flash --openocd path/to/infineon/openocd/bin/openocd
west debug --openocd path/to/infineon/openocd/bin/openocd
Once the gdb console starts after executing the west debug command, you may
now set breakpoints and perform other standard GDB debugging on the PSoC 6 CM4 core.
Errata
======
+------------------------------------------------+----------------------------------------+
| Problem | Solution |
+================================================+========================================+
| The GPIO_INT_TRIG_BOTH interrupt is not raised | This will be fixed in a future release.|
| when the associated GPIO is asserted. | |
+------------------------------------------------+----------------------------------------+
| GDB experiences a timeout error connecting to | This will be fixed in a future release.|
| a server instance started by west debugserver. | |
+------------------------------------------------+----------------------------------------+
.. _PSoC 62 MCU SoC Website:
https://www.cypress.com/products/32-bit-arm-cortex-m4-psoc-6
.. _PSoC 62 MCU Datasheet:
https://www.cypress.com/documentation/datasheets/psoc-6-mcu-psoc-62-datasheet-programmable-system-chip-psoc-preliminary
.. _PSoC 62 MCU Architecture Reference Manual:
https://www.cypress.com/documentation/technical-reference-manuals/psoc-6-mcu-psoc-62-architecture-technical-reference-manual
.. _PSoC 62 MCU Register Reference Manual:
https://www.cypress.com/documentation/technical-reference-manuals/psoc-6-mcu-psoc-62-register-technical-reference-manual-trm
.. _CY8CPROTO-062-4343W PSoC 6 Wi-Fi BT Website:
https://www.infineon.com/cms/en/product/evaluation-boards/cy8cproto-062-4343w/
.. _CY8CPROTO-062-4343W PSoC 6 Wi-Fi BT User Guide:
https://www.infineon.com/cms/en/product/evaluation-boards/cy8cproto-062-4343w/#!?fileId=8ac78c8c7d0d8da4017d0f0118571844
.. _CY8CPROTO-062-4343W PSoC 6 Wi-Fi BT Schematics:
https://www.infineon.com/cms/en/product/evaluation-boards/cy8cproto-062-4343w/#!?fileId=8ac78c8c7d0d8da4017d0f01126b183f
.. _Infineon OpenOCD:
https://github.com/infineon/openocd/releases/tag/release-v4.3.0
Part 3
한국어 전문 번역
개요
CY8CPROTO-062-4343W PSoC 6 Wi-Fi BT Prototyping Kit는 PSoC 6 MCU 설계와 debugging을 위한 low-cost hardware platform입니다. CYW4343W combo device 기반 Murata LBEE5KL1DX module, touch button·slider용 CAPSENSE, KitProg3 onboard debugger/programmer, microSD interface, 512Mb Quad-SPI NOR Flash, PDM-PCM microphone과 thermistor를 제공합니다.
snap-away form factor로 component와 기능을 분리해 독립적으로 사용할 수 있으며 Digilent Pmod interface도 지원합니다.

Hardware
PSoC 62 SoC와 board의 website, datasheet, architecture·register reference manual, user guide와 schematic은 아래 참고 자료에서 확인할 수 있습니다.
Kit 기능
- 최대 2MB Flash와 1MB SRAM
- WICED wireless device용 dedicated SDHC
- 150MHz Arm Cortex-M4 primary application processor와 low-power operation용 100MHz Cortex-M0+
- Full-Speed USB, CAPSENSE, PDM-PCM digital microphone, Quad-SPI, serial communication block 13개, programmable analog block 7개와 programmable digital block 56개
Kit 구성품
- PSoC 6 Wi-Fi BT Prototyping Board
- USB Type-A to Micro-B cable
- Quick Start Guide
지원 기능
| Interface | Controller | Driver/Component |
|---|---|---|
| NVIC | on-chip | nested vectored interrupt controller |
| SYSTICK | on-chip | system clock |
| GPIO | on-chip | GPIO |
| UART | on-chip | serial port-polling; serial port-interrupt |
Default Kconfig는 boards/infineon/cy8cproto_062_4343w/cy8cproto_062_4343w_defconfig에 있습니다.
System clock
PSoC 62 SoC는 internal IMO+FLL을 system clock source로 사용합니다. CM0+는 50MHz, CM4는 100MHz로 동작하며 system requirement에 따라 SoC의 다른 clock source도 사용할 수 있습니다.
Binary blob 가져오기
WiFi/Bluetooth firmware와 CM0+ prebuilt image 같은 optional binary blob을 사용합니다.
west blobs fetch hal_infineon
Blinky sample build
cd zephyr
west build -p auto -b cy8cproto_062_4343w samples/basic/blink
OpenOCD 설치
- ModusToolbox 3.1을 내려받습니다.
- ModusToolbox가 제공하는 OpenOCD script folder를 PATH에 추가합니다.
- OpenOCD executable 경로를
west flash와west debug에 지정합니다.
export PATH=$PATH:/path/to/ModusToolbox/tools_3.1/openocd/scripts
west flash --openocd path/to/infineon/openocd/bin/openocd
west debug --openocd path/to/infineon/openocd/bin/openocd
Programming과 Debugging
이 절의 원문은 onboard programmer/debugger를 KitProg2라고 부르며 mass-storage programming, USB debugging, flash programming과 serial communication을 제공한다고 설명합니다. Flash·debug 명령은 내려받은 Cypress OpenOCD를 가리켜야 합니다.
Windows
west flash --openocd path/to/infineon/openocd/bin/openocd.exe
west debug --openocd path/to/infineon/openocd/bin/openocd.exeLinux
west flash --openocd path/to/infineon/openocd/bin/openocd
west debug --openocd path/to/infineon/openocd/bin/openocdwest debug 뒤 GDB console이 시작되면 breakpoint를 설정하고 PSoC 6 CM4 core를 일반적인 GDB 방식으로 debug할 수 있습니다.
Errata
| 문제 | 해결책 |
|---|---|
| 연결된 GPIO가 assert될 때 GPIO_INT_TRIG_BOTH interrupt가 발생하지 않습니다. | 향후 release에서 수정될 예정입니다. |
| west debugserver가 시작한 server instance에 GDB가 연결할 때 timeout error가 발생합니다. | 향후 release에서 수정될 예정입니다. |
참고 자료
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.