当前位置:网站首页>Chapter 4: LED flash case of PS bare metal and FreeRTOS case development

Chapter 4: LED flash case of PS bare metal and FreeRTOS case development

2022-06-24 03:11: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 .

Bare metal cases

led-flash Case study

Case function

Case function : Control the evaluation LED1 every other 0.5s Flip the state once .

chart 42

Operation instructions

After program running , You can see the evaluation of the floor LED1 Flashing , At the same time, debug the serial port and print the following similar information .

chart 43

Key code

  1. initialization GPIO The driver , And jump to execution GpioOutputExample().

chart 44

  1. To configure LED Corresponding IO Is the output pin .

chart 45

chart 46

  1. To configure LED Flashing , The interval is 0.5s.

chart 47

chart 48

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/20211015151023266Q.html