• Home
  • Annotate
  • current directory
Name Date Size #Lines LOC

..21-Aug-2025-

.settings/21-Aug-2025-

applications/21-Aug-2025-

board/21-Aug-2025-

figures/21-Aug-2025-

libs/21-Aug-2025-

.config A D21-Aug-202547.6 KiB1,4441,334

.cproject A D21-Aug-202562.5 KiB248247

.gitignore A D21-Aug-2025354 4241

.project A D21-Aug-2025898 2928

EventRecorderStub.scvd A D21-Aug-2025339 106

Kconfig A D21-Aug-2025216 138

LICENSE A D21-Aug-202512.4 KiB211183

README.md A D21-Aug-20254.2 KiB10863

README_EN.md A D21-Aug-20255 KiB11162

SConscript A D21-Aug-2025331 1612

SConstruct A D21-Aug-20251.7 KiB6045

makefile.targets A D21-Aug-2025237 75

project.uvoptx A D21-Aug-20256.5 KiB185178

project.uvproj A D21-Aug-202551.7 KiB1,3981,397

project.uvprojx A D21-Aug-202551 KiB1,3811,380

rtconfig.h A D21-Aug-20258.8 KiB43092

rtconfig.py A D21-Aug-20254 KiB136103

template.uvoptx A D21-Aug-20256.5 KiB185178

template.uvproj A D21-Aug-202515.1 KiB408403

template.uvprojx A D21-Aug-202514.3 KiB392386

README.md

1# Infineon Psoc6-evaluationkit-062S2 说明
2
3## 简介
4
5本文档为 `RT-Thread` 为 `PSoC6 CY8CKIT-062S2-43012`开发板提供的 BSP (板级支持包) 说明。
6
7主要内容如下:
8
9- 开发板资源介绍
10- BSP 快速上手
11- 进阶使用方法
12
13通过阅读快速上手章节开发者可以快速地上手该 BSP,将 RT-Thread 运行在开发板上。在进阶使用指南章节,将会介绍更多高级功能,帮助开发者利用 `RT-Thread` 驱动更多板载资源。
14
15## 开发板介绍
16
17`Psoc6-evaluationkit-062S2` 是 RT-Thread 联合英飞凌推出的一款集成32位双核CPU子系统( ARM Cortex-M4 和 ARM Cortex-M0)的开发板,其具有单周期乘法的150-MHz Arm Cortex-M4F CPU (浮点和存储器保护单元),100-MHz Cortex M0+ CPU,带单周期乘法和MPU,可以充分发挥 PSoC6 双核芯片性能。
18
19该开发板核心 **板载资源** 如下:
20
21- MCU:CY8C624ABZI-S2D44,Cortex-M4主频 150MHz,Cortex-M0主频 100MHz,2MB Flash 和 1MB SRAM
22      MCU手册更多详细信息请参考文档 [PSoC 6 MCU: CY8C62x8, CY8C62xA Datasheet (infineon.com)](https://www.infineon.com/dgdl/Infineon-PSOC_6_MCU_CY8C62X8_CY8C62XA-DataSheet-v17_00-EN.pdf?fileId=8ac78c8c7d0d8da4017d0ee7d03a70b1)
23- 板载资源:microSD card , 触摸滑条,Arduino 接口
24- 开发环境:ModusToolbox 2.0/MDK V5
25  	PSoC® Creator™ 下载链接 [ModusToolbox™ Software - Infineon Technologies](https://www.infineon.com/cms/en/design-support/tools/sdk/modustoolbox-software/)
26
27## 外设支持
28
29本 BSP 目前对外设的支持情况如下:
30
31| **片上外设** | **支持情况** | **备注** |
32| :----------: | :----------: | :------: |
33|  USB 转串口  |     支持     |  UART0   |
34|     GPIO     |     支持     |    —     |
35|     UART     |     支持     | UART0-5  |
36|    Touch     |     支持     | 触摸滑条 |
37
38## 快速上手
39
40本 BSP 是以 `MDK V5` 和 `RT-Thread Studio` 为开发环境(编译器:ARMClang / GCC),接下来介绍如何将系统运行起来。
41
42### 使用 MDK V5 开发
43
44#### 硬件连接
45
46使用数据线连接开发板到 PC。
47
48#### 编译下载
49
501、下载软件包:在ENV环境下输入`pkgs --update`命令,将所需要的HAL库软件包下载下来,文件会存放在`Packages`目录下。
51
522、生成MDK工程:在ENV环境下输入`SCons --target==MDK5`命令,ENV会自动生成MDK5工程
53
543、配置工程:
55
56首先打开 MDK ,若没有安装 `Infineon-PSoC6` 的芯片支持包会提示在线安装,根据提示安装即可。若受网络问题,可以进入 [keil](https://www.keil.com/dd2/pack) 官网下载安装包,离线安装。
57
58![mdk_package](figures\mdk_package.png)
59
604、 编译此工程:在安装好芯片支持包后,在 `MDK`工程中进行编译。
61
625、下载此工程:
63
64工程默认配置使用板载 `DAP-LINK` 使用 `SWD` 方式下载程序,使用数据线连接开发板,编译之后直接点击下载按钮即可。
65
66### 使用 RT-Thread Studio 开发
67
68#### 导入工程
69
70* 首先打开  `RT-Thread Studio` 开发工具,点加左上角文件—>导入—> RT-Thread Studio项目到工作空间中。
71
72![](figures\studio1.png)
73
74* 接着选择 `psoc6-evaluationkit-062S2` 开发板支持包的目录,进行导入。
75
76![](figures\studio2.png)
77
78#### 编译下载
79
80* 点击 IDE 左上角的构建选项进行工程的编译。
81
82![](figures\studio3-build.png)
83
84* 当编译无错误警告时,点击 `Debug` 或 `Download` 选项进行调试/下载。
85
86  注:若点击下载并下载成功后串口终端无显示信息,请手动按下复位按键进行重启运行。
87
88  ![](figures\studio4-download.png)
89
90## 运行结果
91
92下载程序成功之后,系统会自动运行。打开终端工具串口助手,选择波特率为 115200。复位设备后,LED 将会以 500HZ 的频率闪烁,而且在终端上可以看到 `RT-Thread` 的输出信息:
93
94注:推荐使用串口调试助手如:`MobaXterm`
95
96```
97 \ | /
98- RT -     Thread Operating System
99 / | \     4.1.1 build Jul 25 2022 18:03:35
100 2006 - 2022 Copyright by RT-Thread team
101msh >
102```
103
104## 联系人
105
106维护人:
107
108- [Rbb666](https://github.com/Rbb666)

README_EN.md

1# Infineon Psoc6-evaluationkit-062S2 Introduction
2
3## Overview
4
5This chapter is a description of the BSP (Board Support Package) provided by `RT-Thread` for the `PSoC6 CY8CKIT-062S2-43012` development board.
6
7The main contents are as follows:
8
9- Introduction to Development Board Resources
10- BSP Quick Start
11- Advanced Usage
12
13By reading the Getting Started chapter developers can quickly get up and running with the BSP and get RT-Thread running on the board. In the RT-Thread Document Center , more advanced features will be introduced to help developers utilize `RT-Thread` to drive more on-board resources.
14
15## Hardware Introduction
16
17The `Psoc6-evaluationkit-062S2` is a development board from RT-Thread in conjunction with Infineon that integrates a 32-bit dual-core CPU subsystem (ARM Cortex-M4 and ARM Cortex-M0) with a single-cycle multiplication 150-MHz Arm Cortex-M4F CPU (floating-point and memory protection unit), and a 100-MHz Cortex M0+ CPU with single-cycle multiplication and MPU to fully utilize the performance of the PSoC6 dual-core chips.
18
19The core of the board **Onboard resources** are listed below:
20
21- MCU: CY8C624ABZI-S2D44, Cortex-M4 at 150MHz, Cortex-M0 at 100MHz, 2MB Flash and 1MB SRAM
22      For more details on the MCU manual, please refer to the document [PSoC 6 MCU: CY8C62x8, CY8C62xA Datasheet (infineon.com)](https://www.infineon.com/dgdl/Infineon-PSOC_6_MCU_CY8C62X8_). CY8C62XA-DataSheet-v17_00-EN.pdf?fileId=8ac78c8c7d0d8da4017d0ee7d03a70b1)
23
24- On-board resources: microSD card, touch slider, Arduino interface
25
26- Development Environment: ModusToolbox 2.0/MDK V5
27  	PSoC® Creator™ Download Link [ModusToolbox™ Software - Infineon Technologies](https://www.infineon.com/cms/en/design-support/tools/sdk/ modustoolbox-software/)
28
29  ## Peripheral Support
30
31
32| **On-chip peripherals** | **Support** | **Note** |
33| :----------: | :----------: | :------: |
34|  USB to Serial  |     Support     |  UART0   |
35|     GPIO     |     Support     |    —     |
36|     UART     |     Support     | UART0-5  |
37|    Touch     |     Support     | Touchscreen slider |
38  ## Quick Start
39
40This BSP is developed with `MDK V5` and `RT-Thread Studio` as the development environment (compiler: ARMClang / GCC), and we describe how to get the system up and running.
41
42  ### Developed with MDK V5
43
44#### Hardware Connection
45
46  Use the data cable to connect the development board to the PC.
47
48 #### Compile and Download
49
50  1、Download Packages: Enter `pkgs --update` command in ENV environment, download the required HAL library packages, the files will be stored in `Packages` directory.
51
52  2、Generate MDK Project: Enter `SCons ---target==MDK5` command in ENV environment, ENV will automatically generate MDK5 project.
53
54  3、Configure the Project:
55
56First of all, open MDK. If there is no `Infineon-PSoC6` chip support package installed, you will be prompted to install it online, follow the prompts to install it. If you have network problems, you can enter the [keil](https://www.keil.com/dd2/pack) official website to download the installation package, offline installation.
57
58![mdk_package](figures/mdk_package.png)
59
60  4、 Compile the Project: After installing the chip support package, compile it in the `MDK` project.
61
62  5. Download the Project:
63
64The default configuration of the project is to use the on-board `DAP-LINK` to download the program using the `SWD` method, use the data cable to connect to the development board, and then click the download button directly after compilation.
65
66### Developing with RT-Thread Studio
67
68#### Importing a Project
69
70* First open the `RT-Thread Studio` development tool, tap File->Import-> RT-Thread Studio project into the workspace in the upper left corner.
71
72![studio1](figures/studio1.png)
73
74* Next, select the `psoc6-evaluationkit-062S2` development board support package directory to import.
75
76![studio2](figures/studio2.png)
77
78#### Compile and Download
79
80* Click the Build option in the upper left corner of the IDE to compile the project.
81
82![studio3-build](figures/studio3-build.png)
83
84* When compiling without error warning, click `Debug` or `Download` option for debugging/downloading.
85
86  Note: If there is no message displayed on the serial terminal after clicking Download and downloading successfully, please press the reset button manually to restart the operation.
87
88  ![studio4-download](figures/studio4-download.png)
89
90## Run Result
91
92After downloading the program successfully, the system will run automatically. Open the terminal tool serial assistant, and select the baud rate as 115200. After reset the device, the LED will flash at 500HZ, and you can see the output information of `RT-Thread` in the terminal:
93
94Note: It is recommended to use a serial debugging assistant, such as `MobaXterm`.
95
96```
97 \ | /
98- RT -     Thread Operating System
99 / | \     4.1.1 build Jul 25 2022 18:03:35
100 2006 - 2022 Copyright by RT-Thread team
101msh >
102```
103
104## Contact
105Maintainer:
106
107- [Rbb666](https://github.com/Rbb666)
108
109
110
111