preface:
I still remember when Freescale entered my world two thousand and fourteen At the end of the year, when the trend of intelligence was just emerging, various intelligent devices were gradually improving their functionality. At that time, things that were regarded as toys have begun to slowly integrate into our lives and become a part of our lives. In the field of electronic development, I pay more attention to two thousand and fifteen In NXP( NXP )Sign an agreement with Freescale, and the market value after merger four hundred More than US $100 million, and Freescale has further increased its market value to one hundred and eighteen The company for electric vehicles has set its sights on the next generation of wireless infrastructure, smart mobile and portable medical devices 18% In terms of research and development, we should know that the investment proportion of Huawei in China is only 14.2% The proportion of investment shows that this is a company that grows by relying on technology
The Freescale Smart Car Contest that I have followed for many times is also a concern of college students. Freescale invests a lot of money to encourage and support the contest, which makes me interested in their development board, so I focus on the development of Kafei, which is more used in cars K60 The scalability of the microprocessor is good, but the execution is not so strong. The focus is still on the intelligent technology of the vehicle. This time, we are lucky to apply for K64F We are also lucky to send this report
◆ Freescale FRDM-K64F Introduction to Development Board
Freedom Development board is Freescale layout ARM Cortex-M An important development platform for a series of microcontrollers. The boards of this platform have similar characteristics, such as Kinetis series MCU , equipped with Freescale sensor OpenSDA Debugging interface and compatibility Arduino R3 It is a platform for evaluation and development of microcontrollers with miniaturization, low power consumption and high cost performance. As long as engineers have played one part Freedom Other series of boards on the platform can also be easily grasped. This is the so-called ecosystem advantage. However, the problem comes again. Since the boards are so similar, FRDM-K64F What major innovations will there be?
The answer is OpenSDAv2 . On FRDM-KL25Z On the development board of Freescale, we first met Freescale's board with trans era significance OpenSDA Debugger, which uses U disc Device The mode of code burning eliminates the need to install additional debugger drivers, and its firmware update and stability are commendable. OpenSDA The debugger not only facilitates the establishment of the entire development platform, but also provides a variety of serial communications, Flash The way of programming and debugging, which allows engineers to easily and quickly communicate with Freescale without increasing R&D costs Kinetis Evaluation and development of series microcontrollers( OpenSDA Debugger).
However, the first generation OpenSDA Not as its name suggests“ Open ”It is not open source, but it has developed to FRDM-K64F On the development board, OpenSDA It also upgraded from the first generation to OpenSDA V2 The hardware circuit is also slightly changed, and the level conversion logic is added, which can also be used 2.5V 、 1.8V Equal level, applicable to some higher end MCU , and, OpenSDA V2 The firmware of CMSIS-DAP Debugger, which solves the following problems: Bootloader And all apps( Debug , virtual serial port and MSD ), which can be said to be FRDM-K64F An important milestone for development boards.
In addition, OpenSDA V2 The firmware and application file format of .bin File format, no longer the original .S19 、 .SDA Format, and it must be noted that the downloaded code cannot be run if confused.
Got it FRDM-K64F Development board for OpenSDA V2 We will look back and see if this development board has a much higher image. --------------- This passage is borrowed from Love Board
● According to the description on Aiban and Freedom official websites, we can see the following points
1、 This is an adoption ARM Cortex-M Microprocessor development board
2、 On board with cross era significance OpenSDA V2 Debugger (that is, you can use USB Burning is not like Stm perhaps C51 In the sense of the old times Isp Downloader for burning)
3、 OpenSDA v2 It is open source (needless to say)
4、 The upgraded level converter means more than 3.3V , also supports 2.5V , 1.8V Advanced logical processor for
5、 With Freescale's basic sensors (accelerometer and magnetometer)
6、 Bluetooth support /2.4G Extension of wireless module
7、 support IO Port compatible Arduino R3 (This is a good news for me.)
FRDM-K64F Development board characteristics:
MK64FN1M0VLL12 MCU (120 MHz , 1 MB Flash memory, 256 KB RAM , low power consumption, no crystal oscillator USB and one hundred Thin quad flat package with pins (LQFP))
Dual purpose USB Interface, with Micro-B USB Connector
RGB LED
FXOS8700CQ Accelerometers and magnetometers
Two user buttons
Flexible power supply options - OpenSDAv2 USB 、 Kinetis K64 USB And external power supply
Compatible with Arduino ™ R3 Of I/O Connectors are easily accessible MCU input / output
Programmable OpenSDAv2 Debugging circuit, support CMSIS-DAP The interface software provides the following functions:
Ethernet SDHC Interface
Additional RF module: nRF24L01+ Nordic 2.4GHz radio
additional Bluetooth modular: JY-MCU BT Circuit board V1.05 BT
OpenSDA v2 :
Mass storage device (MSD) Flash programming interface
CMSIS-DAP The debugging interface can be realized through the drive free USB HID Connection provides operation control debugging function, compatible IDE tool
Virtual serial port
Open Source CMSIS-DAP software project
All right, all right, I'm sure there must be a lot of people who have lost their appetite. Put them on the board directly below
The most boring process
▼ Unpack and check the board
▲ Front view of package
○ As you can see, the board of Freescale is the same as the packaging of all previous products. The paper environmental protection packaging is simple in design
▲ Kafei trademark
Standard trademark...... A simple model
▲ Side
▲ Back
Some serial numbers and information
▲ Design of Laomei Packaging
When you open the package, you can see Freescale's development board
▲ Board model details
▲ Brief introduction attached
▲ Introduction
Can't understand? There will be Chinese soon
▲ Compare this
▲ Front of development board
▲ Back of board
▲ Details
All metal gold-plated mesh port, double Microusb Burning mode (different burning modes can be available)
▲ Network port details
▲ Network port details
▲ and K60 Compare
As you can see, K64 The development and extension performance of is really good, great, but if you need to complete the development, you still recommend the SWD method
▲ Arduino Mega (Left), Feisi K64F (middle), Feisi K60 (Right)
It can be seen here, Feisi K64 Scalable performance ratio of Arduino Mega Much better, and Arduino To achieve K64 The shield board (expansion board) should be used in the same situation, but K64 The size of the board is much smaller
Okay, that's the end of the unpacking part. Now let's start the detailed evaluation
◆ Evaluation
▲ About the interface
▲ Interface overview (borrow the figure below)
The built-in accelerometer and magnetometer can be made into a body sense, and the usage is not too difficult
As can be seen from the figure, K64 The development expansion performance of supports all our commonly used interfaces, and is more oriented to the development of smart home and wireless devices. There are many empty pads on the board that can access more devices for function expansion
▲ micro controller MK64FN1M0VLL12
FRDM-K64F The development board is equipped with Freescale Kinetis K64 Series Microcontroller MK64FN1M0VLL12 , 120MHz Primary frequency, based on Cortex-M4F Processors, supporting IEEE 1588 Ethernet is suitable for applications requiring high memory density, low power consumption and high processing efficiency. This series supports crystal free USB Designed to reduce system cost and save circuit board space Kinetis Comprehensive support tools and scalability inherent in the portfolio.
MK64FN1M0VLL12 Microcontroller characteristics:
ARM Cortex-M4 Kernel, one hundred and twenty Dominant frequency, DSP instructions +FPU unit
1MB Flash 、 256KB SRAM 、 FlexMemory
Two sixteen Bit SAR ADC , two twelve Bit DAC 、 three Analog comparator, reference voltage
belt MII and RMII Interface Ethernet controller USB Full speed / Low speed local controller, controller area network( CAN )Module
Three SPI Module three individual I2C Module, supporting up to 1 Mbit/ s , six UART Module SDHC Interface I2S modular
Review Freescale Kinetis K Series, we can see the microcontroller MK64FN1M0VLL12 Mainly for Ethernet CAN Communication USB Application fields of functions
● Let's say a few words
one 、 120Mhz Dominant frequency 1MB Flash 、 256KB RAM
2、 With 100M Ethernet port
3、 Multi protocol support
4、 Mainly for intelligent network development
5. I like him very much
All right, Bull B After blowing, let's take real things to practice
◆ Power on and running examples
Decide to use KDS3.0+KSDK1.2+PE as the learning object
Prepare software
Go to the official website and download KSDK1.2 library
Intermediate Shaoxing →
There will be an introduction to the official website of the equipment, because the design of the official website is too anti human, and it has been gradually tried recently
Introduction: →
● Build compilation environment
▲ Log in to the official website to download. Maybe Kafeihe recently NXP There are some changes after the merger
▲ Download SDK
▲ Download IDE
By default, after the software is installed, the KDS1.2 library is not installed in the PE, as shown in the figure below
This method has an English document in the KDS1.2 installation directory, as shown below:
In C: Freescale KSDK_1.2.0 tools eclipse_update
This is the content of the help document
(1) Select "Install new software" in the help menu
(2) Click Add in the dialog box
(3) Click the following button
(4) Find the KSDK_1.2.0_Eclipse_Update.zip update file in the C: Freescale KSDK_1.2.0 tools eclipse_update directory
(5) Check the following figure to update library items
(6) Click the FINSH button, and then install
Download files online in the middle
(7) After installation, the KSD1.2 library can be found in the PE library option
Of course, there are two interface display modes in the library, which can be switched here
5、 Compile the ksdk_platform_lib library in KDS3.0
(1) Import the ksdk_platform_lib library
(2) Select an existing project
(2) Select Browse. The library is in the directory C: Freescale KSDK_1.2.0 lib ksdk_platform_lib kds K64F12
(4) Compilation project
(5) After completion, you can see the compilation completion prompt
Well, the compilation has been completed, and the environment has also been built (thanks to the environment building tutorial brought by Kafei's friends)
● Of course, IVR can also be used for development. Here is a harmonious version of IVR. After all, it is ARM chip
The circuit principle of the board before development is released here
The specific board needs to initialize the Bootloader and firmware. Here is the writing mode of J-Link, the source file of the three color LED water light of a forum friend
Here is a trial Bootloader burning tool. If you are interested, you can check it. You can use USB to burn it directly
Finally, I will show you some books. If you are interested, you can read them
Link: //pan.baidu.com/s/1sjZpTzJ password: 81dj
Tail knot:
In fact, I was amazed by the strength and compatibility of Kafei after I tried my best this time. The support of multiple platforms, the initialization of multiple firmware, and the writing of multiple burning methods, OpenSDA's open source access and so on let me see a blueprint for Kafei, which may be used in cars, homes, medical devices, network communications, and even the bus stations around you... Now he is very young, but give him time, this time he will grow into a towering tree, and it will only be stronger
The article on the trial of iGo is completed by netizens, which does not represent the views of this website.