登录
首页 » 嵌入式系统 » 基于S3C44B0x的串口通信

基于S3C44B0x的串口通信

于 2022-02-06 发布 文件大小:69.95 kB
0 183
下载积分: 2 下载次数: 1

代码说明:

串口是计算机上一种非常通用设备通信的协议。大多数计算机包含两个基于RS232的串口。串口同时也是仪器仪表设备通用的通信协议;很多GPIB兼容的设备也带有RS-232口。同时,串口通信协议也可以用于获取远程采集设备的数据。串口通信的概念非常简单,串口按位(bit)发送和接收字节。尽管比按字节(byte)的并行通信慢,但是串口可以在使用一根线发送数据的同时用另一根线接收数据。它很简单并且能够实现远距离通信。比如IEEE488定义并行通行状态时,规定设备线总常不得超过20米,并且任意两个设备间的长度不得超过2米;而对于串口而言,长度可达1200米。典型地,串口用于ASCII码字符的传输。通信使用3根线完成:(1)地线,(2)发送,(3)接收。由于串口通信是异步的,端口能够在一根线上发送数据同时在另一根线上接收数据。其他线用于握手,但是不是必须的。串口通信最重要的参数是波特率、数据位、停止位和奇偶校验。对于两个进行通行的端口,这些参数必须匹配:

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

发表评论

0 个回复

  • 基于STM32_DM9000_UIP_FreeModbus的Modbus-TCP功能实现工程下载
    资源描述 基于STM32F103RBT6_DM9000AEP_UIP_FreeModbus的Modbus-TCP功能实现工程下载。 实现了基本的功能码,01 02 03 04 05 06 15 16等,稍加修改,可以用于实际的工程中,也可以作为学习Modbus-TCP的案例。 基于网上的案例并加入了自己的修改丰富而成。 Keil uVesion4工程文件。
    2022-12-23 21:50:04下载
    积分:1
  • acd always on lm3s8962 very important acd always on lm3s8962 very important
    acd always on lm3s8962 very important acd always on lm3s8962 very important-acd always on lm3s8962 very important acd always on lm3s8962 very important
    2022-05-31 14:48:51下载
    积分:1
  • 单片机c8051F310,AD8538采集模拟量(spi) AD421输出模拟电流,(spi)12864点阵液晶显示(spi),USB(UART转),4路开关量...
    单片机c8051F310,AD8538采集模拟量(spi) AD421输出模拟电流,(spi)12864点阵液晶显示(spi),USB(UART转),4路开关量输入输出-Single-chip c8051F310, AD8538 Analog Acquisition (spi) AD421 analog current output, (spi) 12864 dot matrix liquid crystal display (spi), USB (UART switch), 4-way switch input and output
    2022-03-06 18:23:12下载
    积分:1
  • 四层电梯控制器
    应用背景用于控制电梯或电梯,并用它来描述它的功能。关键技术这是Verilog  ;它是Verilog  ;它是Verilog  ;它是Verilog  ;它是Verilog  ;它是Verilog  ;它是Verilog  ;它是Verilog是Verilog  ;它是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是verilogit是Verilog
    2022-03-09 14:49:51下载
    积分:1
  • vga to s端子接口
    vga to s端子接口--Connection between VGA and S-video ports.
    2023-04-19 10:00:03下载
    积分:1
  • EEPROM24C64 the read and write operation and LCD display may be too specific loo...
    EEPROM24C64的读写操作,并可能过LCD显示,具体看注释-EEPROM24C64 the read and write operation and LCD display may be too specific look Notes
    2022-01-21 21:54:19下载
    积分:1
  • Motor application for board H8S 2377R
    Motor application for board H8S 2377R
    2022-07-03 12:50:07下载
    积分:1
  • weeks D12 development board, who were brought to the Windows XP drivers, the com...
    周立功D12开发板中带的WINDOWS XP驱动程序,在编译后会出现USB设备不能正常工作. 以下是修改的代码,修改后可以正常工作. 在d12.c和Ioctl.c中, 将+256去掉,这个会引去枚举设备时,设备描述符的长度不对,修改后: siz = sizeof(USB_CONFIGURATION_DESCRIPTOR) 在d12.c中的D12_SelectInterface函数中, 设备查询完接口后有一段代码,也会引起驱动返回不对,需要屏蔽下面的代码 // Retrieve the selected Configuration and Interface 修改上面两处后,USB可以正常使用了. -weeks D12 development board, who were brought to the Windows XP drivers, the compiler will happen after the USB device not working properly. Following is the revised code, revised after normal work. In d12.c and Ioctl.c, 256 will be removed, this will generate to Enumerate equipment located descriptors up the length wrong, the revised : not = sizeof (USB_CONFIGURATION_DESCRIPTOR) in the D12_SelectInterface d12.c function, equipment End interface for a period after the code can also lead to wrong drivers need to shield the following code// Retrieve the selected Configuration Interface and the above two changes, USB can use the normal.
    2022-06-28 00:42:14下载
    积分:1
  • linux ip扫描程序源代码 for ARM9 CPU 需要QT运行库
    嵌入式linux ip扫描程序源代码 for ARM9 CPU 需要QT运行库-Embedded linux ip scan source code for ARM9 CPU need QT runtime
    2022-02-11 19:29:53下载
    积分:1
  • 基于红龙407,STM32F407,USB的host的全速模
    本程序是基于官网的USB例程进行修改的,使用的是keil460,STM32F407,USBhost的全速模式,使用4.3(480*272)寸屏,可以读取优盘里的文件列表,并创建txt文档,读取U盘根目录下的BMP图片,并显示。图片大小是320*240,通过按键来实现读取下一页和下一张图片。硬件方面采用的是旺宝电子科技有限公司的红龙407的开发板,4.3寸屏使用的是SSD1963的驱动芯片,同样是旺宝电子研发的。
    2022-12-15 03:55:03下载
    积分:1
  • 696516资源总数
  • 106913会员总数
  • 8今日下载