登录
首页 » 嵌入式系统 » XILINX FPGA 串口调试程序

XILINX FPGA 串口调试程序

于 2022-01-25 发布 文件大小:320.43 kB
0 224
下载积分: 2 下载次数: 1

代码说明:

应用背景KINTEX 7 FPGA 串口通讯程序 KINTEX 7 FPGA 串口通讯程序KINTEX 7 FPGA 串口通讯程序KINTEX 7 FPGA 串口通讯程序KINTEX 7 FPGA 串口通讯程序KINTEX 7 FPGA 串口通讯程序关键技术本模块的功能是验证实现和PC机进行基本的串口通信的功能。需要在PC机上安装一个串口调试工具来验证程序的功能。 程序实现了一个收发一帧10个bit(即无奇偶校验位)的串口控制器,10个bit是1位起始位,8个数据位,1个结束位。 串口的波特律由程序中定义的div_par参数决定,更改该参数可以实现相应的波特率。程序当前设定的div_par 的值 是0x104,对应的波特率是9600。用一个8倍波特率的时钟将发送或接受每一位bit的周期时间划分为8个时隙以使通 信同步. 程序的基本工作过程是,按动一个按键SW0,控制器向PC的串口发送“welcome", PC机接收后显示验证数据是否正确(串口调试工具设成按ASCII码接受方式). PC可随时向CPLD发送0-F的十六进制数据,CPLD接受后显示在7段数码管上.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 基于51单片机的编程设计,资料的详细功能、包含内容说明
    基于51单片机的编程设计,资料的详细功能、包含内容说明-51 MCU programming based on the design, of detail features, including the content description
    2022-07-16 12:07:28下载
    积分:1
  • ARM7 control of multi
    ARM7控制多块液晶片显示电路图,实现大屏幕显示电路图-ARM7 control of multi-block circuit diagram of liquid crystal film, the realization of large-screen display circuit
    2022-03-09 12:12:00下载
    积分:1
  • Montavista2004年的讲稿,关于linux2.6内核在中的应用。
    Montavista2004年的讲稿,关于linux2.6内核在嵌入式中的应用。-Montavista2004 the script, on linux2.6 cores embedded in the application.
    2022-08-20 12:02:04下载
    积分:1
  • PS keyboard and SCM connectivity, wiring diagram, C source
    PS键盘与单片机连接,连线图、C源程序-PS keyboard and SCM connectivity, wiring diagram, C source
    2023-06-19 04:45:03下载
    积分:1
  • 采用美国adi公司的bf列,基于bf533的ez
    采用美国adi公司的bf系列,基于bf533的ez-kit平台的跑马灯和数码管显示功能的代码-Adoption of the United States adi
    2022-02-01 02:28:20下载
    积分:1
  • 6711 development board source
    6711开发板源程序-6711 development board source
    2022-03-24 17:00:31下载
    积分:1
  • Led matrix display sample for 89C51 with 74HC595
    Led matrix display sample for 89C51 with 74HC595
    2022-10-13 05:05:03下载
    积分:1
  • 6711开发的源程序
    6711开发的源程序-6711 development of the source
    2022-03-24 21:09:12下载
    积分:1
  • The following is a range of ultrasound procedures, the hardware circuit as a res...
    下面是一个超声波测距的程序,硬件电路由于电脑格盘已丢失,下面的代码是从样机上复制的。 硬件电路包括液晶显示、超声波的发射、超声波的接受、滤波、单片机处理。 液晶显示采用LCD1602模块,下面的代码里有液晶的驱动,可以拷贝用于它处。 超声波发射电路包括压电换能器及其支持电路,发射约44KHz的超声波。 超声波的接收电路包含一块CD40106处理芯片。技术指标大约是测距范围在三米左右,测量精度约在厘米级别。大量用于倒车雷达的测距中。-The following is a range of ultrasound procedures, the hardware circuit as a result of the computer grid plate has been lost, the following code is copied from the prototype. Hardware circuit including liquid crystal display, ultrasonic transmitter, ultrasonic acceptance filtering, single-chip processing. LCD1602 LCD module used, the following code, there are LCD drivers, you can use it to copy. Firing circuit including the piezoelectric ultrasonic transducer and its support circuitry, fired about 44KHz ultrasound. Ultrasonic receiver circuit includes a processing chip CD40106. Technical indicators for a range of about 3 meters range around the measurement precision level of about cm. Reversing a large number for the location of the radar.
    2022-03-11 22:11:17下载
    积分:1
  • 基于nios ii的sd卡控制器
    在nios ii 9.0上实现对sd卡的读写功能,包括两部分1. sdconfig.h: 该文件为SD卡读写模块配置头文件,用户可根据实际硬件条件进行修改.2. SD目录    : SD卡读写模块的全部文件,一般不用修改. 建议sdconfig.h文件不要放于SD目录中,因为SD目录中的文件一般无须修改, 而sdconfig.h通常会有改动.
    2022-01-25 18:39:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载