当前位置:网站首页>【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);
}

边栏推荐
- Golang channel implementation principle
- error: The following untracked working tree files would be overwritten by
- DAY17, CSRF vulnerability
- Weight line segment tree + line segment tree split/merge + CF1659D
- Hexagon_V65_Programmers_Reference_Manual(14)
- Some understanding of YOLOv7
- handler+message [message mechanism]
- 小程序npm包--API Promise化
- A must see for software testers!Database knowledge MySQL query statement Daquan
- 3. Dependency configuration management
猜你喜欢

Using the GPU parallel computing 】 【 OpenCL&OpenCLUtilty GPU parallel computing

Plan for many situations in the processing chain

Hexagon_V65_Programmers_Reference_Manual(14)

小程序npm包--API Promise化

protobuf 中复合数据类型的读写

Classification of decision tree classification

How to use labelme

VUX Datetime 组件compute-days-function动态设置日期列表

1. Get data - requests.get()

Machine Learning: Knowing the Dimensionality Reduction Process Through Low Variance Filtering
随机推荐
error: The following untracked working tree files would be overwritten by
Xiamen SenseCore Technology MC3172(1): Introduction and Environment Construction
SVN 查看用户名密码
POJ1321 chessboard problem (detailed explanation)
Let's talk about what SaaS is, and the problems encountered...
SaaS多租户数据隔离的三种解决方案
WPF study notes "WPF Layout Basics"
深圳见!云原生加速应用构建专场:来看云原生 FinOps、SRE、高性能计算场景最佳实践
Machine Learning: Knowing the Dimensionality Reduction Process Through Low Variance Filtering
[Redis Master Cultivation Road] Jedis - the basic use of Jedis
DAY17、CSRF 漏洞
DAY17, CSRF vulnerability
Classification of decision tree classification
Small programs use npm packages to customize global styles
Small program npm package--API Promise
mysql isolation level
复现XXL-JOB 任务调度中心后台任意命令执行漏洞
LeetCode Algorithm 328. 奇偶链表
字符串问题(下)
Some understanding of YOLOv7