当前位置:网站首页>【Vitis】ZCU102开发板PS端控制PL端复位的代码实现
【Vitis】ZCU102开发板PS端控制PL端复位的代码实现
2022-07-30 04:46:00 【wjh776a68】
参考链接
ZYNQ Ultrascale+ Howto reset the PL
代码实现
Xilinx官方提供了对pl复位的函数,该函数位于[platform project]/zynqmp_fsbl/psu_init.c: unsigned long psu_ps_pl_reset_config_data(void),下面函数为对官方函数的简化,在PS端执行pl_resetn()函数即可控制MPSOC IP核的pl_resetn引脚(引脚位置见下图)对PL端进行复位。
void pl_resetn(){
//调用该函数会将mpsoc的pl_resetn0引脚输出0后置1,即低电平复位
Xil_Out32(0XFF0A0054, 0x00000000U);
usleep(1);
Xil_Out32(0XFF0A0054, 0x80000000U);
}

边栏推荐
- Solve the error SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xb7 in position 0: invalid start b
- Unity3D Application simulation enters the front and background and pauses
- VisualStudio2022 local debugging entry is particularly slow problem solving
- Naive Bayes Classification
- String problem (below)
- Go study notes (84) - Go project directory structure
- 复现XXL-JOB 任务调度中心后台任意命令执行漏洞
- QT(39)-vs development qt program prompts that the source file cannot be opened
- 字符串问题(上)
- The Complete Go Books - Beginner to Advanced and Web Development
猜你喜欢

How with Mexico Volkswagen VW EDI connection to Mexico

(RCE) Remote Code/Command Execution Vulnerability Vulnerability Exercise

Classification of decision tree classification

Six, read application configuration + log configuration

Protobuf compound data types, speaking, reading and writing

uni-app realizes cross-end development of mobile phone Bluetooth to receive and send data

Usage of EFR32 as sniffer for Zigbee/Thread

A must see for software testers!Database knowledge MySQL query statement Daquan

Discourse 自定义头部链接(Custom Header Links)

Solve the error SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xb7 in position 0: invalid start b
随机推荐
2.5 Quick Sort
mysql isolation level
Code readability, pre-checks, comments and summaries
2.6 Merge Sort
解决报错SyntaxError: (unicode error) ‘utf-8‘ codec can‘t decode byte 0xb7 in position 0: invalid start b
Let's talk about what SaaS is, and the problems encountered...
字符串问题(上)
How to use labelme
Shanxi group (enterprises) in the second network security skills competition part problem WP (7)
The Complete Go Books - Beginner to Advanced and Web Development
Building and sharing the root of the digital world: Alibaba Cloud builds a comprehensive cloud-native open source ecosystem
(RCE) Remote Code/Command Execution Vulnerability Vulnerability Exercise
LeetCode Algorithm 2326. Spiral Matrix IV
Web page element parsing a tag
GCC Rust is approved to be included in the mainline code base, or will meet you in GCC 13
五、视图解析与模板引擎
String problem (below)
The Double Pointer Problem (Part 1)
Weight line segment tree + line segment tree split/merge + CF1659D
The Azure developer news 丨 memorabilia in July