NXP FRDM-MCX947 Development Practice Guide
0. Practice Guidelines
- Hardware Introduction
Development Board Description: The NXP FRDM-MCXN947 board is an official low-cost design and evaluation board based on the MCXN947 device from NXP. The MCXN947 device integrates the Arm Cortex-M33 microcontroller and the neural processing unit (NPU) into a single package. NXP supports tools and software for the MCXN947 device, including hardware evaluation boards, software development IDEs, sample applications, and drivers. The board consists of an MCXN947 device and a 64 mbit external serial flash memory (provided by Windows). The board also features a P3T1755DP I3C temperature sensor, CAN PHY, Ethernet PHY, SDHC circuit (DNP), RGB LED, touch pad, high-speed USB circuit, button, and MCU-Link debug probe circuit. Arduino expansion, PMOD expansion, MicroBus bus expansion are provided. Supports camera modules and NXP low-cost LCD module PAR-LCD-S035. Compatible with Arduino shield modules and Mikroe click boards. The onboard MCU-Link debug probe is based on the LPC55S69 microcontroller.
The appearance of the development board is shown in the figure below:
Hardware Configuration:
The commonly used onboard resources of this development board are as follows:
- MCU: MCXN947VDFT, 150 MHz
- External FLASH: W25Q64JVSSIQ (8 MB)
- Common peripherals
- LED: RGBLED (R connected to P0_10, G connected to P0_27, B connected to P1_2)
- Buttons: 3, RESET (RESET_B), WAKEUP (P0_23), ISPMODE (P0_6)
- Common interfaces: Arduino compatible IO interface, mikroBUS interface, PMOD interface, FlexIO interface, camera interface, USB interface, CAN interface, MCU-Link USB interface, Debug interface
For more detailed information about the development board, please refer to the NXP official website .
- Development Environment
Currently, the FRDM-MCXN947 board support package provides MDK5 and supports the GCC development environment. Taking the MDK5 development environment as an example, this article will introduce how to run the sample program. Before running the sample program, you need to do the following preparations:
The official NXP FRDM-MCXN947 tutorial can be found here
- MDK development environment
You need to install MDK-ARM 5.38 (or later versions). For installation methods, refer to Keil MDK installation .
- Source code acquisition
Source code directory description
- Use a USB cable to connect the USB-to-serial port of the development board to the PC.
Running the first example program
Compile and download
Go to the rt-thread\bsp\nxp\mcxn\frdm-mcxn947 folder, double-click the project.uvprojx file to open the MDK5 project.
Execute the compilation. After the compilation is completed, click the download button to download the firmware to the development board. After the download is complete, the program will automatically start running. Observe the program running status.
Tip: The default configuration of the project uses CMSIS-DAP to download the program. Click the download button to download the program to the development board.
run
If it does not run automatically, press the reset button to restart the development board and observe the actual effect of the LED on the development board. After normal operation, the LED light will flash periodically, as shown in the following figure:
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 after resetting the device, you can see the output information of RT-Thread:
\|/
-RT-ThreadOperatingSystem
/|\5.1.0buildFeb19202416:40:05
2006-2024CopyrightbyRT-Threadteam
usingarmclang, version: 6190004
MCXN947HelloWorld
msh>
Continue studying
Completed the RT-Thread quick start guide! Click here to learn the kernel .