ZYNQ PS 最小系统

ZYNQ PS 最小系统

ZYNQ 嵌入式开发流程

【正点原子】ZYNQ领航者V2之ARM篇

image-20240924093157647

最小系统框图

image-20240924093309752

最小系统步骤
创建 PS

image-20240924135452086

image-20240924135604529

image-20240924135628721

双击 ZYNQ IP 核,启动配置界面:

image-20240924135806198

DDR 配置

image-20240924135956864

小技巧,自动设置列宽:

image-20240924140015010

image-20240924140223013

串口配置

串口原理图:

image-20240924101802487

配置串口引脚:

image-20240924140534349

我们使用 MIC24、25。

MIO 中也可以进行配置串口引脚:

image-20240924140907910

image-20240924140934168

配置串口波特率:

image-20240924140726148

移除多余接口

image-20240924141308132

删除 M_AXI_GP0,去掉下面的默认勾选:

image-20240924142634206

image-20240924141436275

image-20240924142609825

移除 PS 提供给 PL 的时钟信号 FCLK_CLK0:

image-20240924142922970

image-20240924142951365

移除 PS 提供够给 PL 的复位接口:

image-20240924143114042

最终效果:

image-20240924113947991

生成顶层 HDL

运行块自动

image-20240924143214605

image-20240924143236895

image-20240924143256701

验证设计:

image-20240924114155972

生成输出 Products:

image-20240924143455339

image-20240924143618276

查看生成的文件:

image-20240924143717758

image-20240924143824096

生成顶层 HDL 封装文件:

image-20240924143905931

image-20240924143939549

导出 SDK

image-20240924114616355

image-20240924144219722

多了一个文件夹:

image-20240924144314501

启动软件开发环境:

image-20240924144355458

image-20240924144413011

image-20240924144453896

在 SDK 中创建应用工程

创建工程:

image-20240924144557199

image-20240924144710128

image-20240924115224101

创建 main.c 文件:

image-20240924144836291

image-20240924144857424

image-20240924144922621

调整字体,菜单-》Window->Preferences, 然后 General->Apperance->Colors and Fonts-> Baisc->TextFont:

image-20240924115350064

完整的 main.c:

/*
 * main.c
 *
 *  Created on: 2024年9月24日
 *      Author: Jian
 */
#include "stdio.h"

int main()
{
	printf("Hello, World!\n");

	return 0;
}

保存后,会自动进行编译。

上板验证

image-20240924150326872
image-20240929101533895

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

飞多学堂

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值