It has to be said that the expansion of the ARM ecosystem makes engineers more convenient on platform transplantation, but also makes it now become more and more serious, and major manufacturers have to expand, and subdivided their own products. Line, strive to create MCU products that are the most fit.
For example, the world's leading semiconductor company Freescale, there are many ARM series microcontroller products, of which the Kinetis L series is the world's first Cortex-M0 + core microcontroller based on the world's first Cortex-M0 + core. The development board of the Kinetis L series was evaluated - FRDM-KL25Z (evaluation), and its low power consumption is impressive. After more than two years, the pavilion will receive the microcontroller development platform based on the Freescale Kinetis L series - the YL-KL26Z evaluation board developed by Shenzhen Youlong Technology, based on KL26 microcontroller, compared KL25, What is the characteristics of KL26? I am used to the original development platform, how is the domestic company designed for the original microcontroller? Let's go to unlock the answer.
In the beginning of the article, the Freescale Kinetis L Series is a development platform for ultra-low power consumption, based on the ARM Cortex-M0 + core, in order to adapt to demand in different fields, and its L series is very fine, as follows As shown in the figure, we can obviously see how KL26 is relative to KL25.
From Flash, SRAM, GPIO ports, KL26 has different degrees of improvement, but also adds the I2S audio bus interface compared to the maximum upgrade of KL25, which provides a low-power MCU selection for convenient audio output products. Understand this microcontroller product, let's take a look at the YL-KL26Z development board.
The packaging box is very concise, and one side is printed with the YL-KL26Z development board pattern, and the other is printed on the onboard microcontroller model.
The accessories of YL-KL26Z include:
YL-KL26Z development plate (board card is protected with electrostatic bag)
MINIUSB line
A disc (including board using documentation, code routine, board device specification, etc.)
In fact, the author is not too cold to the long strip card, so the first look is still a little disappointment, but look, YL-KL26 board will be on the function of the KL26 MCU or Compare "enrichment", such as ADC, DAC, TSI interface, TF card holder, etc., it is actually reflected on board cards. Some resources onboard are shown below.
YL-KL26 Development Board Source:
Kinetis L Series MCU KL26Z128V4, ARM® CortexTM-M0 + core, main frequency 48MHz
32MB SPIFLASH W25Q32, 2KB EEPROM AT24C02
1 USB Device, 1 miniSD / TF card interface (SPI mode)
DAC audio output, ADC test interface
3 LEDs, 3 capacitive touchpads, GPIO extensions, 2 interrupt buttons, reset buttons
USBDAP debugging download interface
10pin JTAG debug interface, support SWD mode (next page)
Freescale MCU development board recommended:
FreeDOM sensor development platform is suitable for acceleration sensors, gyroscopes, 3 axis magnetic coupons, pressure sensors, etc.
MPC8309 Development Kit A Development Kit for Freescale MPC830X Processor MPC8309
S08MCU Development Kit A TWR-S08UNIV Tower Controller Module is compatible with Freescaleta system
MC9S12G64 development kit an MC9S12G64 car 16-bit MCU demo board
The addition of SPI Flash and EEPROM enhances the storage mode of the board, this is still as often good, in addition, the onboard USB DAP debugger is also very practical, through the official factory default board support package Implement 3 functions:
Large-capacity storage device flash programming interface (development board is simulated into a U disk)
Debug serial port
Emulator
In addition, many small functions such as LEDs, touch buttons, mechanical buttons, variable resistors, etc. are also a good helper for pedestrian Kinetis L series microcontrollers, but it is a bit uncomfortable. The practice is that the original YL-KL26Z board has designed an audio output circuit of I2S output, but the onboard DAC device has no patch (DAC), so the last board's audio function is still only using 12 DACs in the microcontroller. The I2S function has not been concurrently reflected, so that the function of the KL25 evaluated before the panel is not much worse.
From the characteristics of the onboard and the characteristics of the KL26 microcontroller, we are not difficult to find that for such a microcontroller, a portable Bluetooth speaker will be a good choice, as shown below.
Power-on development
It can be said that the YL-KL26Z development board is a Freescale Kinetis L series microcontroller development platform specially made by domestic engineers, and the official information is still very complete, with a set of CDs, including the source routine KEIL and IAR two third-party IDE tools.
Before you develop the board, we need to install the necessary driver files Mbedwinserial_16466.exe. Friends who have played ARM Mbed project must not be unfamiliar with this drive, we can directly program the Flash by U disk after installing this driver.
The YL-KL26Z development panel is loaded with two miniusb interfaces, which can be used to power, and the miniusb interface of the debugger can implement serial communication, emulator functions. As shown in the figure below, the board has built a routine of a running water lamp, and you can see the operation status of the board after power-on.
In addition, there is a large number of compiled Bin files in the target code folder in the disc data, which can be programmed directly to the USB flash drive, as shown below. (Next)
Development board recommendation:
Freescale TWR-IO Industrial I / O Tower System Module provides all I / O required, replaceable between modular development platforms
FreeDOM sensor development platform is suitable for acceleration sensors, gyroscopes, 3 axis magnetic coupons, pressure sensors, etc.
Of course, we can also use the Keil or IDE tool to load source code. Take Keil as an example, load the ADC routine under the CD test source folder (officially provided a rich routine source code), as shown below
It can be seen that there are corresponding Chinese comments behind each code, great, this is definitely a good teacher for beginners. If you want to build a download program, you must have some settings for the debugger and FLAHS, as shown below.
Download completion can adjust the voltage value of the ADC on the variable resistor on the board, and the voltage value can be observed by serial tool, as shown below.
There are more routines that no longer demonstrate, interested friends can buy a play in the pavilion mesh shopping mall.
summary
This paper introduces a microcontroller developing board YL-KL26Z based on Freescale Kinetis L Series (KL26), and the development board is rich in peripheral resources, such as audio circuitry, and audio circuitry. ADC function, TSI function, USB interface, etc., Freescale KL26 microcontroller based on ARM Cortex-M0 + processor, itself has very low power consumption, but also supports USB OTG function, I2S interface, very recommended for DIY portable ( Bluetooth / WiFi) Speaker Solution.
Reference
YL-KL26Z development board purchase link
Freescale Chinese Community
YL-KL26Z development board information
YL-KL26Z development board learning notes
Development board recommendation:
Freescale TWR-IO Industrial I / O Tower System Module provides all I / O required, replaceable between modular development platforms
FreeDOM sensor development platform is suitable for acceleration sensors, gyroscopes, 3 axis magnetic coupons, pressure sensors, etc.
Original declaration: This article is originally created by the panel network, declined!
Our other product: