Research on the Freescale Kinetis Microcontroller Based on Cortex-M4 Processer

Author
WangChaoYi
Advisor
WangYiHuai
School
Suzhou University
Major
Applied Computer Technology
Classification
TP368.1 Microprocessor
Degree
Master's thesis
Year
2011
Downloads
288
Citations
1

Request the full text

Abstract

Kinetis series of microcontroller, based on ARM Cortex-M4 processor, is released by Freescale in the second half of 2010, which is the first microcontroller using ARM Cortex-M4 processor. The Cortex-M4 processor is the latest embedded processor released by ARM in the second half of 2009 specifically developed to address digital signal control markets that demand an efficient, easy-to-use blend of control and signal processing capabilities.UART, SLCD, TSI, USB, Ethernet, CAN and other common modules are integrated in the Kinetis series microcontrollers, as long as high precision 16-bit ADC and 12-bit DAC. Kinetis Microcontroller is mainly for the market of industrial control, including motor control, communication, security and encryption. Becaues the Kinetis sample is not available until November 2010, so learning materials and example programs of Kinetis are very rare. Commissioned by Freescale Company, Freescale Embeded R&D Center of Soochow University takes an early research on the applicathin of this microcontroller.This paper take the K60N512 as an example, designs and implements a Kinetis development kit, including K60N512 core board, Kinetis expansion board and Kinetis debugger OSJTAG. Guided by the idea of embedded components, this paper implements K60N512 module driver, every driver has been sufficiently validated. This paper ports the realtime operating system FreeRTOS and analysis the port process in detail, providing an example and reference of realtime operating system in Kinetis. To speed up the K60N512 Ethernet programming, the open source embedded TCP/IP protocol stack LwIP is ported and the port process in given in detail.To study Ethernet communication with Kinetis and to verify Kineits software and hardware, this paper designs and implements a message modem based on embeded web server. The message modem uses FreeRTOS to schedule tasks and LwIP to implement internet communication and an embeded Web server is implemented as the human interface. The K60N512 core board, Kinetis expansion board, Kinetis debugger OSJTAG and drivers achieved by this paper have been planned to promote in the Freescale university tranning of Soochow in August 2011.

Table of contents

Abstract 4-5 Abstract 5-10 first chapter 10-20 1.1 topics background 10-12 < br /> 1.2 Cortex-M core 12-15 1.2.1 Cortex-M core features 12-13 1.2.2 Cortex-M3 core 13 -14 1.2.3 Cortex-M4 core 14-15 1.3 design ideas 15-16 1.4 topics sense 16-18 <br / > 1.5 paper work and paper structure 18-20 1.5.1 this work 18-19 1.5.2 paper structure 19-20 <br / > Chapter II hardware design 20-32 2.1 K60N512 chip Introduction 20-21 2.2 K60N512 core board design 21-24 2.2. a power supply circuit 21 2.2.2 crystal oscillator circuit 21-22 2.2.3 reset circuit 22-23 2.2.4 JTAG circuitry 23 2.2.5 status indication circuit 23-24 2.2.6 expansion Interface circuit 24 2.3 Kinetis expansion board design 24 -28 2.3.1 power conversion circuits 24-25 2.3.2 UART module 25 2.3.3 SD card module 25-26 2.3.4 USB OTG 26 2.3.5 LCD and digital modules 26 2.3.6 ethernet module 26-27 2.3.7 CAN module 27-28 2.2.8 other circuits 28 2.4 Kinetis JTAG debugger 28-29 2.5 hardware test 29-31 2.5.1 K60N512 core board test 30 2.5.2 Kinetis expansion board test 30 2.5.3 test experience 30-31 2.6 Chapter Summary 31-32 Chapter module driver Design 32-47 3.1 driver design principles 32-33 3.2 K60N512 startup code 33-35 3.2.1 Close watchdog 33-34 3.2.2 interrupt vector to replicate RAM is 34-35 3.2.3 initialize the chip clock 35 3.2.4 jump to main function is executed 35 3.3 UART software Components design 35-38 3.3.1 UART component implementation 36-37 3.3.2 UART component testing 37-38 3.4 AD software Components design 38-41 3.4.1 AD component implementation 38-40 3.4.1 AD component testing 40-41 3.5 CRC software components design 41-44 3.5.1 CRC component implementation 42-43 3.5.2 CRC component testing 43-44 3.6 Flash software components design 44-46 3.6.1 Flash component implementation 44-45 3.6.2 Flash component testing 45-46 3.7 chapter Summary 46-47 Chapter FreeRTOS and LwIP transplant 47-65 4.1 FreeRTOS in K60N512 the transplant 47-53 4.1.1 FreeRTOS Profile 47-48 4.1.2 FreeRTOS and other RTOS comparison 48 4.1.3 FreeRTOS transplant 48-52 4.1.4 FreeRTOS transplantation test 52-53 4.2 LwIP in K60N512 the transplant 53-64 4.2.1 LwIP Profile 53-55 4.2. 2 LwIP structure 55-56 4.2.3 LwIP transplant 56-63 4.2.4 LwIP test 63-64 4.3 chapter Summary 64-65 Chapter embedded Web -based SMS cat design 65-71 5.1 SMS cat design 65-68 5.1.1 system Requirements 65 5.1.2 EM310 65-66 5.1.3 system Task structure 66-67 5.1.4 system to execute processes 67-68 5.2 SMS cat realize 68-70 5.2.1 EM310 driver 68 5.2.2 embedded Web Server transplantation 68-69 5.2.3 system Interface 69-70 5.3 Chapter Summary 70-71 Chapter Summary and Outlook 71 -73 6.1 Summary 71-72 6.2 Prospects 72-73 References 73-77 papers published and participation in major research projects 77-78 Appendix a K60N512 core board physical map 78 Appendix B Kinetis debugger OSJTAG physical map 78-79 <br / > Appendix C Kinetis series expansion board physical map 79-80 Thanks 80-81

Related dissertations

  1. Drivers of Sustainable Growth of International New Ventures
  2. Research of Driving Factors to Food Processing Enterprises to Adopt Postponement
  3. The Study on Drivers of Brand Equit of Cultural Products
    ChenLei ·Anhui University of Finance ·2014 ·Master's thesis
  4. The Research and Implementation of Payment Terminals Based on Fingerprint Identification Technology
  5. The Products Planning and Design Research of Le Tu Mobile Applicatioii
    QiJia ·Beijing Institute of Printing ·2013 ·Master's thesis
  6. Study on forest fire platform 3G transmission system based on infrared detection technology
  7. The Highway Design of the Xinjiang Gobi Desert and Grassland Area
    ZuoKeWei ·Chang'an University ·2013 ·Master's thesis
  8. Design and implementation of image acquisition system based on S3C6410 and ADV7180
    SongJian ·Jiangxi University of Technology ·2012 ·Master's thesis
  9. Research on the Digital Vibration Sensation Threshold Detection System
    LiYuanQi ·Beijing University of Technology ·2013 ·Master's thesis
  10. Design of Home Environment Monitoring System Based on Embedded System
  11. The Design of Industrial Control Panel Base on the ARM9under Linux System
    ChenShaoGui ·Zhejiang University of Technology ·2013 ·Master's thesis
  12. The Design and Research of Stand-alone Embedded Motion Controller Based on STM32and FreeRTOS
  13. Study on the transplantation of FreeRTOS real-time operating system based on Lwip protocol
  14. The kernel of embedded real-time operating system FreeRTOS
  15. Research of Embedded Real-time Operating System MQX Application Framework
    SuYong ·Suzhou University ·2013 ·Master's thesis
  16. The Transplant of Embedded Real-time Operating System FreeRTOS on x86Platform
  17. Research and Application of USB Driver Based on S3C2440A Embedded Linux System
  18. Design and Implementation of Smart Phone Recovery Mode Test Functions
  19. Design and Implementation of Supporting Software of Launch Control Software Universal Testing Platform
    ZuoChengYi ·Harbin Institute of Technology ·2013 ·Master's thesis
  20. The driver design of function generator based on IVI-COM