[bsp][Infineon]&[NXP] Add README_EN
|
@ -0,0 +1,110 @@
|
|||
# Infineon Psoc6-evaluationkit-062S2 Introduction
|
||||
|
||||
## Overview
|
||||
|
||||
This chapter is a description of the BSP (Board Support Package) provided by `RT-Thread` for the `PSoC6 CY8CKIT-062S2-43012` development board.
|
||||
|
||||
The main contents are as follows:
|
||||
|
||||
- Introduction to Development Board Resources
|
||||
- BSP Quick Start
|
||||
- Advanced Usage
|
||||
|
||||
By 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.
|
||||
|
||||
## Hardware Introduction
|
||||
|
||||
The `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.
|
||||
|
||||
The core of the board **Onboard resources** are listed below:
|
||||
|
||||
- MCU: CY8C624ABZI-S2D44, Cortex-M4 at 150MHz, Cortex-M0 at 100MHz, 2MB Flash and 1MB SRAM
|
||||
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)
|
||||
|
||||
- On-board resources: microSD card, touch slider, Arduino interface
|
||||
|
||||
- Development Environment: ModusToolbox 2.0/MDK V5
|
||||
PSoC® Creator™ Download Link [ModusToolbox™ Software - Infineon Technologies](https://www.infineon.com/cms/en/design-support/tools/sdk/ modustoolbox-software/)
|
||||
|
||||
## Peripheral Support
|
||||
|
||||
|
||||
| **On-chip peripherals** | **Support** | **Note** |
|
||||
| :----------: | :----------: | :------: |
|
||||
| USB to Serial | Support | UART0 |
|
||||
| GPIO | Support | — |
|
||||
| UART | Support | UART0-5 |
|
||||
| Touch | Support | Touchscreen slider |
|
||||
## Quick Start
|
||||
|
||||
This 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.
|
||||
|
||||
### Developed with MDK V5
|
||||
|
||||
#### Hardware Connection
|
||||
|
||||
Use the data cable to connect the development board to the PC.
|
||||
|
||||
#### Compile and Download
|
||||
|
||||
1、Download Packages: Enter `pkgs --update` command in ENV environment, download the required HAL library packages, the files will be stored in `Packages` directory.
|
||||
|
||||
2、Generate MDK Project: Enter `SCons ---target==MDK5` command in ENV environment, ENV will automatically generate MDK5 project.
|
||||
|
||||
3、Configure the Project:
|
||||
|
||||
First 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.
|
||||
|
||||
![mdk_package](figures/mdk_package.png)
|
||||
|
||||
4、 Compile the Project: After installing the chip support package, compile it in the `MDK` project.
|
||||
|
||||
5. Download the Project:
|
||||
|
||||
The 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.
|
||||
|
||||
### Developing with RT-Thread Studio
|
||||
|
||||
#### Importing a Project
|
||||
|
||||
* First open the `RT-Thread Studio` development tool, tap File->Import-> RT-Thread Studio project into the workspace in the upper left corner.
|
||||
|
||||
![studio1](figures/studio1.png)
|
||||
|
||||
* Next, select the `psoc6-evaluationkit-062S2` development board support package directory to import.
|
||||
|
||||
![studio2](figures/studio2.png)
|
||||
|
||||
#### Compile and Download
|
||||
|
||||
* Click the Build option in the upper left corner of the IDE to compile the project.
|
||||
|
||||
![studio3-build](figures/studio3-build.png)
|
||||
|
||||
* When compiling without error warning, click `Debug` or `Download` option for debugging/downloading.
|
||||
|
||||
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.
|
||||
|
||||
![studio4-download](figures/studio4-download.png)
|
||||
|
||||
## Run Result
|
||||
|
||||
After 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:
|
||||
|
||||
Note: It is recommended to use a serial debugging assistant, such as `MobaXterm`.
|
||||
|
||||
```
|
||||
\ | /
|
||||
- RT - Thread Operating System
|
||||
/ | \ 4.1.1 build Jul 25 2022 18:03:35
|
||||
2006 - 2022 Copyright by RT-Thread team
|
||||
msh >
|
||||
```
|
||||
|
||||
## Contact
|
||||
Maintainer:
|
||||
|
||||
- [Rbb666](https://github.com/Rbb666)
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,75 @@
|
|||
# NXP FRDM-MCXN947 Introduction
|
||||
|
||||
## Overview
|
||||
The FRDM-MCXN947 is NXP's official low-cost evaluation board based on the MCXN947 device, which integrates dual Arm Cortex-M33 microcontrollers and a Neural Processing Unit (NPU). The board also features MCU-Link debugger circuits such as the P3T1755DP I3C temperature sensor, TJA1057GTK/3Z CAN PHY, Ethernet PHY, SDHC circuitry (with DNP slot), RGB LEDs, touchpad, Hi-Speed USB circuitry, and buttons. The board provides Arduino expansion, PMOD expansion, MicroBus expansion. Also, it supports camera module and NXP low-cost LCD module PAR-LCD-S035. The on-board MCU-Link debugger is based on LPC55S69 MCU.
|
||||
|
||||
The appearance of the board is shown in the figure below:
|
||||
|
||||
![img](figures/board.png)
|
||||
|
||||
The common on-board resources for this board are listed below:
|
||||
|
||||
![board_block_diagram](figures/board_block_diagram.png)
|
||||
|
||||
For more details on the development board, please refer to [NXP official website](https://www.nxp.com/design/design-center/development-boards/general-purpose-mcus/frdm-development-board-for-mcx-n94-n54-mcus:FRDM-MCXN947)。
|
||||
|
||||
## Preparation
|
||||
|
||||
Currently, the FRDM-MCXN947 board-level support package provides MDK5 and supports GCC development environment, so let's take the MDK5 development environment as an example to introduce how to run the sample program. Before running the sample program, you need to do the following preparations:
|
||||
|
||||
> NXP's official hands-on tutorial for the FRDM-MCXN947 can be found at [here](https://www.nxp.com/document/guide/getting-started-with-frdm-mcxn947:GS-FRDM-MCXNXX)
|
||||
|
||||
1. MDK Fevelopment Environment
|
||||
|
||||
MDK-ARM 5.38 (or above) is required. The installation method can be found in [Keil MDK Installation](../keil/keil.md).
|
||||
|
||||
2. Source Code Acquisition
|
||||
|
||||
<https://github.com/RT-Thread/rt-thread/releases>, download the zip package in Assets to get the latest stable code.
|
||||
|
||||
[Source Code Directory Description](... /src_code_introduction/rtthread_dir.md)
|
||||
|
||||
3. Use the USB cable to connect the USB to serial port of the development board to the PC.
|
||||
![img](figures/usb_pc.png)
|
||||
|
||||
## Run the First Sample Program
|
||||
|
||||
### Compile the Download
|
||||
|
||||
Go to the `rt-thread\bsp\nxp\mcxn\frdm-mcxn947` folder and double click on the project.uvprojx file to open the MDK5 project.
|
||||
|
||||
![dir](figures/dir.png)
|
||||
|
||||
Execute the compilation. After it, click the download button to download the firmware to the development board. Then, the program will start running automatically, observe the program running status.
|
||||
|
||||
> Tip: The default configuration of the project uses CMSIS-DAP to download the program. And then click the Download button to download the program to the development board.
|
||||
|
||||
![project](figures/project.png)
|
||||
|
||||
### Run
|
||||
|
||||
If it does not run automatically, press the reset button to restart the board and observe the actual effect of the LEDs on the board. After normal operation, the LEDs will blink periodically, as shown in the following figure:
|
||||
|
||||
![run](figures/run.gif)
|
||||
|
||||
Connect the corresponding serial port of the development board to the PC, open the corresponding serial port (115200-8-1-N) in the serial port tool, and reset the device. Then the output information of RT-Thread will be shown:
|
||||
|
||||
|
||||
|
||||
```bash
|
||||
\ | /
|
||||
- RT - Thread Operating System
|
||||
/ | \ 5.1.0 build Feb 19 2024 16:40:05
|
||||
2006 - 2024 Copyright by RT-Thread team
|
||||
using armclang, version: 6190004
|
||||
MCXN947 HelloWorld
|
||||
msh >
|
||||
```
|
||||
|
||||
## Keep Learning
|
||||
|
||||
Completed RT-Thread Quickstart! Click here for [Kernel Learning](../../kernel/kernel-video.md) .
|
||||
|
||||
## Additional Information
|
||||
|
||||
[NXP FRDM-MCXN947 Development Practice Guide](/rt-thread-version/rt-thread-standard/tutorial/make-bsp/NXP-MCX/NXPFRDM-MCX974PracticeGuide.md)
|
After Width: | Height: | Size: 555 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 47 KiB |
After Width: | Height: | Size: 280 KiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 464 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 555 KiB |
After Width: | Height: | Size: 86 KiB |
After Width: | Height: | Size: 47 KiB |
After Width: | Height: | Size: 280 KiB |
After Width: | Height: | Size: 1.2 MiB |
After Width: | Height: | Size: 464 KiB |
After Width: | Height: | Size: 86 KiB |