KW41Z development board unboxing and testing
[Copy link]
This post was last edited by wakojosin on 2024-1-27 23:16
Hardware Introduction
This development kit contains two development boards, which are good for developing and debugging wireless protocol stacks.
All the components are on the front, and there is only a button battery holder on the back. The development board integrates a debugging tool. I checked and found that this debugger is called opensda. The default is jlink customized firmware. There is also a firmware called CMSIS-DAP firmware, which is not the focus, so I won't study it in detail.
In addition to the debugging circuit, the board also has SPIFLASH and six-axis sensor (3-axis acceleration + 3-axis magnetism) as well as IO peripherals such as LEDs and buttons.
The interface of the board uses the Arduino R3 interface, which can be easily connected to the Arduino module for functional expansion.
Software Description
After consulting the documents and related information provided by the official website, the summary is as follows:
RTOS: Zephyr, FreeRTOS
Protocol stack: ble, thread, zigbee
Environment Construction
The IDE used is the official MCUXpresso IDE. Go to the software and tools link in the development board link to download it, and then install the software.
Skip the installation process here and install it directly after downloading;
Since the KW41Z related SDK is not found in the SDK management tool of the IDE, go to the official website to download the SDK package, and then import it through the package management tool. The specific steps are as follows:
1. Open the installed SDKs page. My IDE is at the bottom of the main interface:
Enter the SDK import interface:
Select the SDK package to be imported:
After that, it will be automatically imported and installed, and you can see it in the installed SDKs interface.
SDK Overview
You can see all SDK routines through the Import SDK Routine function of the Quick Start Panel:
Then you can see the routines. After selecting the required routines to import, you can start learning the routines.
LED routine:
The program that comes with the board is an example of RGB LED flashing in turn. The LED routine is imported through the routine to light up only the single-color LED. The process is as follows:
Make the red LED blink:
|