Location:
Search - uart so
Search list
Description: 今天看了一下从fpga上下的曼彻斯特编解码的程序,感觉不是很清楚,仿真了一下,更迷茫了,大家看看为啥这程序要这么编呢?
程序比较长,不过写的应该还是不错的,看了后应该有收获。
总的思路是这样:
1 通过一个高频的时钟检测wrn信号,如果检测到上升沿,则表明开始编码,将输入的8位数据转为串行,并编码,然后输出。
2 定时信号是从高频时钟16分频后得到的,在wrn上升沿后16分频使能,在编码结束后禁止分频输出。
3 no_bits_sent记录串行输出的位数,应该是从0010到1001输出串行信号,到1010时编码结束,输出tbre表明编码完成。
问题是no_bits_sent在到了1010后还是会继续增加,直到1111,然后clk1x_enable 就为0,无法分频,clk1x就为一直流信号。这样当clk1x_enable再次为1的时候,no_bits_sent也不会增加,在1111上不变,clk1x_enable又会回到0了。
-today they simply watched from across the Manchester encoding and decoding process, not feeling very well, simulation a bit more confused, we look at procedures to be ready this series so? Procedures longer, but should still write good, it should have read harvest. The thinking is this : one by a high-frequency clock signal detection international, if detected rising edge, it indicates the beginning of coding will be entered into the eight to serial data and coding, and then output. Two timing signals from the high-frequency clock frequency 16 hours after the the international rising edge after 16 minutes frequency to enable the coding after the end of Prohibition-frequency output. 3 no_bits_sent record median serial output, it should be from 0010 to 1001 serial output signal to the end of
Platform: |
Size: 5120 |
Author: 游畅 |
Hits:
Description: 三星公司,S3c2410 UART 示例程序.S3c2410 应用非常之多之广.-Samsung, S3c2410 UART sample program. S3c2410 application so many broad.
Platform: |
Size: 326656 |
Author: 刘洋 |
Hits:
Description: TI(德州仪器公司)的CC2430芯片的库函数以及一些应用,还包含了各种驱动,如UART,DMA,ADC等。-TI (Texas Instruments) of the CC2430 chip library functions as well as some applications, also includes a variety of drivers, such as UART, DMA, ADC and so on.
Platform: |
Size: 147456 |
Author: sailor |
Hits:
Description: 手机GSM TI 平台 串口 uart 驱动 源代码-Mobile phone GSM TI platform UART serial driver source code
Platform: |
Size: 17408 |
Author: laoshu |
Hits:
Description: 用UART来接收PC机的RS232串行接口数据。由于UART每次只接收8位数据,所以在接收了两个8位数据之后,才将其存入16位的SRAM内。-Using UART to receive PC-RS232 serial interface data. As the UART receive only 8-bit data, so to receive two 8-bit data after its deposit in 16 of the SRAM.
Platform: |
Size: 1024 |
Author: xuye |
Hits:
Description: 这是实际项目中的一个串口通信程序. Makefile通过开关, 可使此程序适用于 Linux 和嵌入式 ARM Linux. 代码注释较多. 是学习UART或Serail Port 通信的一个好例子.
另外对通信中的数据包格进行了严格的定义. 使有了数据包头尾标志和数据包长度 双重 校验.-This is an actual project serial communication program. Makefile through the switch, make this procedure applicable to Linux and embedded ARM Linux. Code Notes more. Is to learn from UART or Serail Port Communication in a good example. In addition to the communication Grid packets rigorously defined. so that has marked the end of the data header and data packet length double check.
Platform: |
Size: 17408 |
Author: 456321 |
Hits:
Description: VHDL语言的UART串行接口芯片程序,包括数据接收器、数据发送器和波特率发生器等。-VHDL language UART serial interface chip procedure, including data receiver, data transmitter and baud rate generator and so on.
Platform: |
Size: 3072 |
Author: liukun |
Hits:
Description: S3C44B0扩展16C554串口,包括原理图和源码
原来上传过源码,看到很多人下载,考虑到下载者阅读方便,所以这次增加了原理图。-16C554 serial S3C44B0 expansion, including schematics and source code uploaded the original source, to see a lot of people to download, taking into account that those who download the ease of reading, so the increase in schematics.
Platform: |
Size: 25600 |
Author: 消闲 |
Hits:
Description: 本人用AVR mega32写的一个关于输出32路PWM的程序,其中有UART,PWM,TIMER,spi,Flash读写,等等模块可供参考。程序用Studio4 + GCC编写-I used AVR mega32 write a PWM on the output 32 of the procedures, including UART, PWM, TIMER, spi, Flash read and write, and so on module for reference. Procedures used Studio4+ GCC prepared
Platform: |
Size: 130048 |
Author: 陈远征 |
Hits:
Description: 采用软件方法来实现单片机的通用串口引脚来模拟UART。根据要求采用P1.0作为发送端(TXD),P1.1做为数据接受端(RXD),并采用全双工通信模式。由于MAX232电平转换芯片除了做UART的几个引脚后,还剩余T2IN,T2OUT,R2IN,R2OUT.所以采用模仿UART的接法.每次通信,发送的数据加1,接收的数据加2.用51系列单片机。-The use of software methods to achieve single-chip Universal Serial pin to simulate the UART. P1.0 adopted in accordance with the requirements as the sending end (TXD), P1.1 as the receiving end the data (RXD), and the use of full-duplex communication mode. Since the MAX232 level translator chip UART to do apart from some of the pin, the remaining T2IN, T2OUT, R2IN, R2OUT. So used to imitate the UART connection. Each communication, to send data add one, add 2 to receive data. 51 Series single-chip microcomputer used.
Platform: |
Size: 4096 |
Author: sdcsadf |
Hits:
Description: UART是一种广泛应用于短距离、低速、低成本通信的串行传输接口.由于常用UART芯片比较复杂且移植性差,提出一种采用可编程器件FPGA实现UART的方法, 实现了对UART的模块化设计.首先简要介绍UART的基本特点,然后依据其系统组成设计顶层模块,再采用有限状态机设计接收器模块和发送器模块,所有功能的实现全部采用VHDL进行描述,并用Modelsim软件对所有模块仿真实现.最后将UART的核心功能集成到FPGA上,使整体设计紧凑,小巧,实现的UART功能稳定、可靠. -UART is a widely used short-range, low-speed, low-cost serial transmission interface communication. Because of the complexity of common UART chip and poor transplant, using a programmable FPGA devices to achieve UART way of the realization of the UART modular design. First of all, a brief introduction of the basic characteristics of UART, and then according to their top-level module system design, and then the design of finite state machine receiver module and transmitter module, the realization of all the features to describe the use of VHDL and Modelsim software used Simulation of all modules. Finally, the UART core functionality into the FPGA, so that the overall design of compact, compact, the UART function of the realization of stable and reliable.
Platform: |
Size: 38912 |
Author: 徐明宝 |
Hits:
Description: 新华龙C8051F040单片机UART程序,经调试好使-Hualong C8051F040 single chip UART new procedures, so that by the debugging
Platform: |
Size: 11264 |
Author: 简优宗 |
Hits:
Description: FPGA的实验源程序,包括USB、UART、combus、I2c等,很适合学习使用-The use of FPGA tutorials, including USB, UART, combus, I2c and so on, very suitable for learning to use
Platform: |
Size: 3063808 |
Author: 王张刚 |
Hits:
Description: UART串口程序,设置波特率和停止位、奇偶校验位等等,使能串口,数据进行发送与接收,再进行显示。-UART serial procedures, set the baud rate and stop bits, parity bit and so on, so that serial port, send and receive data, and then display.
Platform: |
Size: 142336 |
Author: 小飞 |
Hits:
Description: sopc的一个应用例程:应用uart部件搭建的一个sopc系统,调试成功了。包含所有源代码-An application of routine sopc: Application uart component erected a sopc system, commissioning a success. Contains all the source code
Platform: |
Size: 10632192 |
Author: 王乐 |
Hits:
Description: 51基本外设的初始化跟应用函数都有了,有ps2,iic,uart,看门狗,ds1302,ds18b20等,入门级别的东西很全了。-51 basic peripheral functions are initialized with the application, and there ps2, iic, uart, watchdog, ds1302, ds18b20 and so on, entry-level stuff was all the.
Platform: |
Size: 27648 |
Author: 程刚 |
Hits:
Description: For this project you need a 3.7v power supply that prepared by LM317 regulator. So you need MAX232 for connect uart to pc .my AVR chip project is Mega8 that you can program on any Avr chip have 2kbyte rom. In bascom spi hardware don’t work correct, so I have to software spi ,but the software spi configure have low speed into hardware spi.
Platform: |
Size: 17408 |
Author: Mohammad |
Hits:
Description: Also the USART automatically senses the start of transmission of RX line and then inputs the whole byte and when it has the byte it informs you(CPU) to read that data from one of its registers.
The USART of AVR is very versatile and can be setup for various different mode as required by your application. In this tutorial I will show you how to configure the USART in a most common configuration and simply send and receive data. Later on I will give you my library of USART that can further ease you work. It will be little complicated (but more useful) as it will have a FIFO buffer and will use interrupt to buffer incoming data so that you are free to anything in your main() code and read the data only when you need. All data is stored into a nice FIFO(first in first out queue) in the RAM by the ISR.
Platform: |
Size: 1024 |
Author: sstefan |
Hits:
Description: UART(串口)用的51芯片是AT89S52,所以这些代码没问题可以在AT89S51、AT89S52、AT89C51、AT89C52下通用,不需要任何修改。-UART (serial port) with the 51 chip AT89S52, so the code is no problem in the AT89S51, AT89S52, AT89C51, AT89C52 under the general, without any changes.
Platform: |
Size: 1024 |
Author: lvyan |
Hits:
Description: 本文主要介绍DA14681 UART ADAPTER的使用。利用SDK中提供的ADAPTER,可以方便地使用各种外设,如IIC、SPI、UART等。(This paper mainly introduces the use of DA14681 UART ADAPTER. The use of SDK provided in ADAPTER, you can easily use a variety of peripherals, such as IIC, SPI, UART and so on.)
Platform: |
Size: 273408 |
Author: liyanhonghaidanaifee
|
Hits: