当前位置:网站首页>Chapter 6: UART echo case of PS bare metal and FreeRTOS case development

Chapter 6: UART echo case of PS bare metal and FreeRTOS case development

2022-06-24 03:12:00 Tranlong123

front said :

PS End bare metal and FreeRTOS The case development manual mainly introduces PS End (ARM CPU0) Bare metal and FreeRTOS How to use the case , Applicable development environment :Windows 7/10 64bit、Xilinx Vivado 2017.4、Xilinx SDK 2017.4. This instruction manual is divided into 11 A little chapter , This article is the first section of the bare metal case , For engineering compilation 、 Program loading and curing methods , Please go back and check by yourself , We will share later key-led-demo Case study 、uart-echo Case and qspi-flash Case etc. , For more detailed information , Leave a message in the comment area , Thank you for attention !

This case uses the technology of chuanglong TLZ7x-EasyEVM-S Development board , It is based on Xilinx Zynq-7000 series XC7Z010/XC7Z020 Heterogeneous multi-core processor with high performance and low power consumption SoC Evaluation board , Processor Integration PS End binuclear ARM Cortex-A9 + PL End Artix-7 framework 28nm Programmable logic resources , The evaluation board is composed of core board and evaluation bottom board . The core board has been professionally PCB Layout And high and low temperature tests to verify , Stable and reliable , It can meet various industrial application environments .

TLZ7x-EasyEVM-S Evaluation board

TLZ7x-EasyEVM-S Evaluation board evaluation board interface resources are rich , Leading out Gigabit Ethernet port 、 dual CAMERA、USB、Micro SD、CAN、UART Such as the interface , Support LCD Display expansion and Qt GUI development , It is convenient for rapid product scheme evaluation and technical pre research .

uart-echo Case study

Case function

Case function : Evaluation board USB TO UART Debug the serial port to receive... From the upper computer 10 After characters , Then the received characters are passed through USB TO UART Send to the upper computer .

Operation instructions

After program running , Please input manually at the serial port debugging terminal 10 Characters , Evaluation board USB TO UART After receiving characters , The received characters will be passed through USB TO UART Echo to serial port debugging terminal .

chart 57

Key code

  1. initialization UART The driver , And perform hardware self-test , Perform local loopback test to verify whether data can be sent and received , Then jump to UART Interrupt set function .

chart 58

  1. Set interrupt handling function .

chart 59

  1. Enable UART interrupt .

chart 60

  1. Received 10 After characters , Echo characters .

chart 61

Due to the length of the case , There are related chapters in the following chapters , The following is the table of contents for the full version of this article ↓↓↓ You can click on the account to view !

front said

1 Engineering compilation 、 Program loading and curing methods

1.1 Engineering compilation

1.2 Based on downloader loader

1.3 Based on downloader solidification program

2 Bare metal cases

2.1led-flash Case study

2.2key-led-demo Case study

2.3uart-echo Case study

2.4qspi-flash Case study

3 FreeRTOS Case study

3.1led-flash Case study

3.2key-led-demo Case study

3.3uart-echo Case study

3.4lwIP_Demo Case study

3.4.4 Configure static IP Address

Want to get the details of this case or more cases , Leave a comment in the comments section , Thank you for attention !

原网站

版权声明
本文为[Tranlong123]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/10/20211015151023214S.html

随机推荐