海思HIxx系列芯片485_uart代码实现.rar

上传者: 38746576 | 上传时间: 2021-09-22 21:22:04 | 文件大小: 369KB | 文件类型: RAR
1. 海思Hixx系列uart程序,完整makefile工程,安装完交叉编译工具链arm-hisiv4xx-linux,可直接在linux下编译,板端运行程序测试。串口测试收发字符串长度可达400以上。大量测试其他人代码只支持32或64,最多190个字符。也是本程序的优势。 2. 485程序,程序上可以使用system("himm 0x200f0078 0x1"),和HI_MPI_SYS_SetReg形式来设置485芯片的DE引脚高低电平变化。但我这里使用的更加巧妙,海思内核是amba架构,所以在linux-3.10.y/drivers/tty/serial/amba-pl011.c中修改内容,重新编译内核,烧录。

文件下载

资源详情

[{"title":"( 75 个子文件 369KB ) 海思HIxx系列芯片485_uart代码实现.rar","children":[{"title":"kernel中amba-pl011中需要修改的地方.txt <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"Makefile.build <span style='color:#111;'> 690B </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"include","children":[{"title":"hi_io.h <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"hi_comm_ai.h <span style='color:#111;'> 879B </span>","children":null,"spread":false},{"title":"mpi_vo.h <span style='color:#111;'> 8.32KB </span>","children":null,"spread":false},{"title":"hi_math.h <span style='color:#111;'> 9.87KB </span>","children":null,"spread":false},{"title":"mpi_vda.h <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"hi_comm_adec.h <span style='color:#111;'> 5.33KB </span>","children":null,"spread":false},{"title":"mpi_ao.h <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false},{"title":"hi_comm_vi.h <span style='color:#111;'> 20.55KB </span>","children":null,"spread":false},{"title":"mpi_vdec.h <span style='color:#111;'> 3.32KB </span>","children":null,"spread":false},{"title":"mpi_pciv.h <span style='color:#111;'> 12.64KB </span>","children":null,"spread":false},{"title":"mpi_vpss.h <span style='color:#111;'> 5.32KB </span>","children":null,"spread":false},{"title":"mpi_ive.h <span style='color:#111;'> 60.50KB </span>","children":null,"spread":false},{"title":"hi_defines.h <span style='color:#111;'> 13.23KB </span>","children":null,"spread":false},{"title":"hi_tde_type.h <span style='color:#111;'> 17.62KB </span>","children":null,"spread":false},{"title":"mkp","children":[{"title":"mod_ext.h <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false}],"spread":false},{"title":"jerror.h <span style='color:#111;'> 20.13KB </span>","children":null,"spread":false},{"title":"jpeglib.h <span style='color:#111;'> 47.89KB </span>","children":null,"spread":false},{"title":"acodec.h <span style='color:#111;'> 11.12KB </span>","children":null,"spread":false},{"title":"hi_comm_aio.h <span style='color:#111;'> 21.53KB </span>","children":null,"spread":false},{"title":"hi_comm_ao.h <span style='color:#111;'> 881B </span>","children":null,"spread":false},{"title":"hi_comm_rc.h <span style='color:#111;'> 17.87KB </span>","children":null,"spread":false},{"title":"hi_ive.h <span style='color:#111;'> 24.06KB </span>","children":null,"spread":false},{"title":"mpi_aenc.h <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"hi_comm_vo.h <span style='color:#111;'> 21.07KB </span>","children":null,"spread":false},{"title":"hi_comm_vpss.h <span style='color:#111;'> 7.69KB </span>","children":null,"spread":false},{"title":"hi_errno.h <span style='color:#111;'> 4.95KB </span>","children":null,"spread":false},{"title":"jmorecfg.h <span style='color:#111;'> 13.17KB </span>","children":null,"spread":false},{"title":"hi_comm_video.h <span style='color:#111;'> 9.51KB </span>","children":null,"spread":false},{"title":"hi_jpeg_api.h <span style='color:#111;'> 13.59KB </span>","children":null,"spread":false},{"title":"hi_comm_sys.h <span style='color:#111;'> 3.84KB </span>","children":null,"spread":false},{"title":"hi_comm_region.h <span style='color:#111;'> 9.79KB </span>","children":null,"spread":false},{"title":"mpi_venc.h <span style='color:#111;'> 6.45KB </span>","children":null,"spread":false},{"title":"mpi_vi.h <span style='color:#111;'> 3.43KB </span>","children":null,"spread":false},{"title":"hi_type.h <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"hi_comm_ive.h <span style='color:#111;'> 13.41KB </span>","children":null,"spread":false},{"title":"hi_comm_venc.h <span style='color:#111;'> 26.46KB </span>","children":null,"spread":false},{"title":"hi_comm_vgs.h <span style='color:#111;'> 4.59KB </span>","children":null,"spread":false},{"title":"jconfig.h <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false},{"title":"hi_tde_errcode.h <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"mpi_ai.h <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false},{"title":"mpi_vgs.h <span style='color:#111;'> 4.78KB </span>","children":null,"spread":false},{"title":"hi_debug.h <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"mpi_hdmi.h <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"mpi_sys.h <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"list.h <span style='color:#111;'> 4.32KB </span>","children":null,"spread":false},{"title":"hi_comm_aenc.h <span style='color:#111;'> 4.76KB </span>","children":null,"spread":false},{"title":"mpi_vb.h <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"hi_comm_vda.h <span style='color:#111;'> 9.43KB </span>","children":null,"spread":false},{"title":"hi_comm_hdmi.h <span style='color:#111;'> 52.96KB </span>","children":null,"spread":false},{"title":"mpi_region.h <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"hi_comm_vb.h <span style='color:#111;'> 3.80KB </span>","children":null,"spread":false},{"title":"hifb.h <span style='color:#111;'> 12.96KB </span>","children":null,"spread":false},{"title":"hi_tde_api.h <span style='color:#111;'> 19.02KB </span>","children":null,"spread":false},{"title":"hi_comm_pciv.h <span style='color:#111;'> 9.10KB </span>","children":null,"spread":false},{"title":"mpi_adec.h <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"hi_common.h <span style='color:#111;'> 9.02KB </span>","children":null,"spread":false},{"title":"hi_comm_vdec.h <span style='color:#111;'> 9.25KB </span>","children":null,"spread":false}],"spread":false},{"title":"gpio","children":[{"title":"uart_api.h <span style='color:#111;'> 857B </span>","children":null,"spread":false},{"title":"uart_api.c <span style='color:#111;'> 5.54KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 19B </span>","children":null,"spread":false}],"spread":true},{"title":"Makefile <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"SI_proj","children":[{"title":"uart_485.PRI <span style='color:#111;'> 119.09KB </span>","children":null,"spread":false},{"title":"uart_485.PR <span style='color:#111;'> 18.78KB </span>","children":null,"spread":false},{"title":"uart_485.PO <span style='color:#111;'> 776B </span>","children":null,"spread":false},{"title":"uart_485.IMD <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"uart_485.PS <span style='color:#111;'> 1.18MB </span>","children":null,"spread":false},{"title":"uart_485.IMB <span style='color:#111;'> 172.00KB </span>","children":null,"spread":false},{"title":"uart_485.IAB <span style='color:#111;'> 740.00KB </span>","children":null,"spread":false},{"title":"uart_485.SearchResults <span style='color:#111;'> 666B </span>","children":null,"spread":false},{"title":"uart_485.IAD <span style='color:#111;'> 7.55KB </span>","children":null,"spread":false},{"title":"uart_485.WK3 <span style='color:#111;'> 23.51KB </span>","children":null,"spread":false},{"title":"uart_485.PFI <span style='color:#111;'> 240B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明