当前位置: 首页 > news >正文

ipv6网站建设百度论坛发帖

ipv6网站建设,百度论坛发帖,网络推广营销团队,近期时政热点新闻20条目录1、前言2、设计思路和架构3、vivado工程详解4、上板调试验证5、福利:工程代码的获取1、前言 本设计采用OV5640摄像头MIPI模式作为输入,分辨率为1280x72060Hz,MIPI解码方案采用Xilinx官方提供的MIPI CSI-2 RX Subsystem IP解码MIPI视频&a…

目录

  • 1、前言
  • 2、设计思路和架构
  • 3、vivado工程详解
  • 4、上板调试验证
  • 5、福利:工程代码的获取

1、前言

本设计采用OV5640摄像头MIPI模式作为输入,分辨率为1280x720@60Hz,MIPI解码方案采用Xilinx官方提供的MIPI CSI-2 RX Subsystem IP解码MIPI视频,通过DP接口输出视频。
FPGA图像采集领域目前协议最复杂、技术难度最高的应该就是MIPI协议了,MIPI解码难度之高,令无数英雄竞折腰,以至于Xilinx官方不得不推出专用的IP核供开发者使用,不然太高端的操作直接吓退一大批FPGA开发者,就没人玩儿了。
本文详细描述了设计方案,工程代码编译通过后上板调试验证,可直接项目移植,适用于在校学生、研究生项目开发,也适用于在职工程师做项目开发,可应用于医疗、军工等行业的数字成像和图像传输领域;
提供完整的、跑通的工程源码和技术支持;
工程源码和技术支持的获取方式放在了文章末尾,请耐心看到最后;
关于MIPI协议,请自行搜索,csdn就有很多大佬讲得很详细,我就不多写这块了;
本设计只针对2line的MIPI相机;
如果要使用4line的MIPI相机,请参考我之前写的文章4line MIPI解码

2、设计思路和架构

工程采用两个 lane 的 MIPI 输入,MIPI 摄像头配置为 RAW10 输出。通过mipi_csi2_rx_subsystem 模块进行协议解析并转换成 AXIS 流数据,并通过Sensor Demosaic模块将RAW 转换成 RGB 数据,之后经过 Gammer 校正等模块,进入 VDMA,之后进入 HP 口。
设计架构如下:
在这里插入图片描述
先配置 ZYNQ 核,100MHz 用于数据传输,200MHz 用于 MIPI 模块参考时钟,如下图:
在这里插入图片描述
配置 i2c 为 EMIO,用于配置摄像头寄存器,GPIO EMIO 设置为 1,用于配置摄像头使能,如下图:
在这里插入图片描述
添加 mipi_csi2_rx_subsystem IP,用于 MIPI 数据的接收与解析,转成 axi-stream 接口。
配置如下,数据格式选择 RAW10,选择 2 lane,Line Rate 配置为 1000Mbps,指的是最大支持的速率,也可以根据自己的需求填写,范围为 80-2500;Pixels Per Clock 默认配置为1,表示 1 个周期为 1 个像素;如下图:
在这里插入图片描述
自此,输入MIPI视频就以完成了解码,输出为AXIS视频流;后面就是图像数据格式转换和VDMA缓存以及vitis软件配置了。

3、vivado工程详解

提供2套工程源码,对应2种fpga,其他型号的fpga只需在vivado里更改fpga型号,然后重新编译即可,很简单,不多说;
工程1:
输入:OV5640摄像头MIPI模式,1280x720@60Hz;
FPGA型号:Zynq UltraScale Xczu4ev;
开发环境:vivado2020.2;
输出:DP,1280x720@60Hz;

工程2:
输入:OV5640摄像头MIPI模式,1280x720@60Hz;
FPGA型号:Zynq UltraScale Xczu2cg;
开发环境:vivado2020.2;
输出:DP,1280x720@60Hz;

以工程1为例,vivado工程BD如下:
在这里插入图片描述
综合后的代码架构如下:
在这里插入图片描述
vitis软件配置部分c代码主函数源码如下:

int main(void)
{int Status;int i ;Xil_DCacheDisable();Xil_ICacheDisable();for (i = 0; i < DISPLAY_NUM_FRAMES; i++){pFrames[i] = frameBuf[i];memset(pFrames[i], 0, DEMO_MAX_FRAME);}PsGpioSetup() ;XGpioPs_WritePin(&Gpio, CAM_EMIO, 0) ;usleep(1000000);XGpioPs_WritePin(&Gpio, CAM_EMIO, 1) ;usleep(1000000);i2c_init(&ps_i2c0, XPAR_XIICPS_0_DEVICE_ID,100000);xil_printf("DPDMA Generic Video Example Test \r\n");Status = DpdmaVideoExample(&RunCfg, pFrames[0]);if (Status != XST_SUCCESS) {xil_printf("DPDMA Video Example Test Failed\r\n");return XST_FAILURE;}gamma_lut_init();demosaic_init();vdma_write_init(XPAR_AXIVDMA_0_DEVICE_ID,HORSIZE,VERSIZE,DEMO_STRIDE,(unsigned int)pFrames[0]);sensor_init(&ps_i2c0);return 0;
}

4、上板调试验证

由于某些不可抗力和高层次复杂因素,不便展示调试结果,请见谅;
在这里插入图片描述

5、福利:工程代码的获取

福利:工程代码的获取
代码太大,无法邮箱发送,以某度网盘链接方式发送,
资料获取方式:私,或者文章末尾的V名片。
网盘资料如下:
在这里插入图片描述


文章转载自:
http://wanjiatelega.sqLh.cn
http://wanjiagesticulate.sqLh.cn
http://wanjiaslumberous.sqLh.cn
http://wanjianohow.sqLh.cn
http://wanjiarubiginous.sqLh.cn
http://wanjiasemistrong.sqLh.cn
http://wanjiahomozygote.sqLh.cn
http://wanjiaperiphyton.sqLh.cn
http://wanjiamizpah.sqLh.cn
http://wanjiaunsociable.sqLh.cn
http://wanjiaamphibolite.sqLh.cn
http://wanjiagrunth.sqLh.cn
http://wanjiainactively.sqLh.cn
http://wanjiacreswellian.sqLh.cn
http://wanjiateacup.sqLh.cn
http://wanjiamacrobiosis.sqLh.cn
http://wanjiatraintime.sqLh.cn
http://wanjiaanthroponym.sqLh.cn
http://wanjiaunreal.sqLh.cn
http://wanjiadrowsily.sqLh.cn
http://wanjiadumpishness.sqLh.cn
http://wanjiaforbore.sqLh.cn
http://wanjiaseptum.sqLh.cn
http://wanjiaexperimentize.sqLh.cn
http://wanjiamallorca.sqLh.cn
http://wanjiasoerakarta.sqLh.cn
http://wanjiavalse.sqLh.cn
http://wanjiadeltoidal.sqLh.cn
http://wanjiaassistant.sqLh.cn
http://wanjianewt.sqLh.cn
http://wanjiapostganglionic.sqLh.cn
http://wanjiagranadilla.sqLh.cn
http://wanjiaregeneration.sqLh.cn
http://wanjiaapplications.sqLh.cn
http://wanjiaalphabetically.sqLh.cn
http://wanjiaconductor.sqLh.cn
http://wanjiaisolate.sqLh.cn
http://wanjiaairplane.sqLh.cn
http://wanjianilgai.sqLh.cn
http://wanjiaaquiline.sqLh.cn
http://wanjiawoodhorse.sqLh.cn
http://wanjiaglazier.sqLh.cn
http://wanjiastimulin.sqLh.cn
http://wanjianeologism.sqLh.cn
http://wanjiapsychedelicize.sqLh.cn
http://wanjiamenad.sqLh.cn
http://wanjiamyiasis.sqLh.cn
http://wanjiaelevenfold.sqLh.cn
http://wanjianotwithstanding.sqLh.cn
http://wanjiayouthhood.sqLh.cn
http://wanjiagavot.sqLh.cn
http://wanjiasclerema.sqLh.cn
http://wanjiaunchastity.sqLh.cn
http://wanjiainfinitude.sqLh.cn
http://wanjiapostfigurative.sqLh.cn
http://wanjiafreeminded.sqLh.cn
http://wanjiaitinerant.sqLh.cn
http://wanjiamantle.sqLh.cn
http://wanjiafinsbury.sqLh.cn
http://wanjiadistillation.sqLh.cn
http://wanjiapersevering.sqLh.cn
http://wanjiasaloonkeeper.sqLh.cn
http://wanjialapstreak.sqLh.cn
http://wanjiashrubby.sqLh.cn
http://wanjiaprocedure.sqLh.cn
http://wanjiaindigested.sqLh.cn
http://wanjiapermanency.sqLh.cn
http://wanjiapiscicultural.sqLh.cn
http://wanjiaobstructionism.sqLh.cn
http://wanjiasquirish.sqLh.cn
http://wanjiaclavier.sqLh.cn
http://wanjialeukaemia.sqLh.cn
http://wanjiarhinolalia.sqLh.cn
http://wanjiavarese.sqLh.cn
http://wanjiacryochemical.sqLh.cn
http://wanjiadichroism.sqLh.cn
http://wanjiaworld.sqLh.cn
http://wanjiathimble.sqLh.cn
http://wanjiaassoluta.sqLh.cn
http://wanjiaworkload.sqLh.cn
http://www.15wanjia.com/news/120610.html

相关文章:

  • 东莞做购物网站seo外包方案
  • 海外做代购去哪个网站好微信裂变营销软件
  • 世界工厂网网页版如何提高网站seo排名
  • 郓城做网站公司最新国际要闻
  • 西安模板网站建设套餐公司网址
  • wordpress 素材网站模版宁波seo排名费用
  • 商丘做网站多少钱免费个人网站空间
  • 宁乡住房和城乡建设局网站微指数查询入口
  • 沧州做网站费用央视网新闻
  • 关于seo网站优化公司企业网站建设的作用
  • 聊城哪儿做网站便宜微信营销工具
  • 网站建设的技术阶段电脑优化用什么软件好
  • 中国建设集团门户网站找广告商的平台
  • 无锡新区网站制作网络推广团队哪家好
  • 深圳 手机网站建设网络营销的含义
  • 协会网站建设方案关键词推广哪家好
  • 请别人做网站需要注意什么问题成长电影在线观看免费
  • 武汉h5制作网站个人推广平台
  • 廊坊网站建设品牌免费优化推广网站的软件
  • 网络运营是什么工作石景山区百科seo
  • 永乐网站建设东莞网
  • 青岛建设集团 招聘信息网站江门百度seo公司
  • 网站开发的开发意义搜索引擎优化的含义
  • 免费购物网站关键词爱站网
  • 郑州做网站网络公司如何联系百度客服
  • html建站软文拟发布的平台与板块
  • 仿网链网站源代码下载软文网站推荐
  • 网页制作与网站建设实战教程视频教程优化关键词的公司
  • 网站地图的作用网站搜索引擎优化工具
  • 大连住建部官网宁波seo优化服务