-
VC_ch341-i2c源码
应用背景CH341串口使用方法:
CH341实现USB转串口,在逻辑功能方面的使用方法与普通计算机串口相同。
与普通计算机串口的区别:
CH341提供的是仿真串口,所以不支持串口本身的纯硬件操作,例如I/O操作,
普通计算机串口是静态设备,而CH341串口是动态设备,理论上随时会断开,
CH341的附加功能(下面有介绍):读取外部串行EEPROM,支持更高波特率。
提供“模块调试”工具,启动后将“类型”选择为“手工输入发送”,
打开串口后就可以用于CH341串口或者普通串口的输入输出监控及收发调试。关键技术CH341连接24C0X,A2=A1=A0=GND,将仿真串口的波特率选择为300bps,
可以用串口监控/调试工具软件演示:
1、发出命令包,为4个十六进制数据: 40 A1 01 00
将24C0X中地址为01H的数据读出,可以从串口接收到一个字节的数据
2、发出命令包,为4个十六进制数据: 40 A0 2A 69
将一个字节的数据69H写到24C0X中地址为2AH的单元,通常等待10mS后才能进行下一个操作
3、发出命令包,为4个十六进制数据: 40 A5 E7 00
将24C0X中地址为02E7H的数据读出,可以从串口接收到一个字节的数据
注意,只有24C08和24C16中有地址为02E7H的数据单元
- 2022-01-25 19:10:34下载
- 积分:1
-
8051 Core FPGA verilog 完整
应用背景Logical separation of program and data memory
All 8051 devices have specific memory organization, they have separate address spaces
for Program (ROM) and Data (RAM) Memory. This logical separation of Memory is
useful because it allows the Data Memory to be accessed by 8-bit addresses, which can
obviously be more quickly stored and manipulated by an 8-bit CPU. Of course, the l6-bit
Data Memory addresses can still be generated with the DPTR register.
Program Memory
Program Memory can only be read, not written to. The address space for 8051 core is 16-
bit, so there is maximum of 64K bytes of Program Memory. Up to 4 Kbytes of Program
Memory can be on chip, internal Program Memory of the 8051 core. For access to
external Program Memory is used signal PSEN (Program Store Enable).
Data Memory
Data Memory is on a separate address space than Program Memory. For external Data
Memo
- 2022-01-26 05:24:27下载
- 积分:1
-
wince6.0 X86 INT
关于wince6.0,x86下面的标准流驱动,提供了完整的中断例子,可以修改中断号。
- 2023-01-13 03:45:04下载
- 积分:1
-
一个嵌入式的图书,全称是基础集
一本关于嵌入式linux的书籍,全名是uclinux文集-an embedded linux on the books, full name is Basis Collection
- 2022-02-24 23:02:08下载
- 积分:1
-
读写SD卡程序,是已经调能过的,还有FAT16文件系统
读写SD卡程序,是已经调能过的,还有FAT16文件系统-SD card read and write procedures, which have been transferred to off, as well as FAT16 file system
- 2022-12-07 20:50:03下载
- 积分:1
-
介绍一种基于摄像头的智能车自动控制器设计方案。以飞思卡尔16 位单片机为核心控制单元,使用红外光电传感器采集路径信息,控制智能车的舵机、驱动电机,实现智能车的自...
介绍一种基于摄像头的智能车自动控制器设计方案。以飞思卡尔16 位单片机为核心控制单元,使用红外光电传感器采集路径信息,控制智能车的舵机、驱动电机,实现智能车的自主寻迹行驶。
-Introduction of a camera-based automatic control of intelligent vehicle design. Based on Freescale 16-bit microcontroller as the core control unit, the use of infrared photoelectric sensor acquisition path information, control, intelligent vehicle steering gear, drive motors, autonomous intelligent vehicles driving tracing.
- 2022-09-06 08:50:02下载
- 积分:1
-
基于IPPP嵌入式音频解码器的设计与优化
基于IPPP嵌入式音频解码器的设计与优化-IPPP-based embedded audio decoder design and optimization
- 2023-05-25 15:50:03下载
- 积分:1
-
Source code for External memory interfacing for silabs C8051F120
Source code for External memory interfacing for silabs C8051F120
- 2022-02-09 14:15:04下载
- 积分:1
-
LinuxC函数库参考手册.linux下常用不常用的C函数库.讲得非常清楚,每个函数都有示例代码....
LinuxC函数库参考手册.linux下常用不常用的C函数库.讲得非常清楚,每个函数都有示例代码.-LinuxC library reference manual. Linux is not commonly used under the commonly used C library. To put it very clear that each function has sample code.
- 2022-02-25 02:52:56下载
- 积分:1
-
一个不错的A/D非常适合初学者,请大家下载看看阿!!有志于从底层做起的程序员...
一个不错的A/D非常适合初学者,请大家下载看看阿!!有志于从底层做起的程序员
- 2022-03-15 04:38:19下载
- 积分:1