文档中是I2C接口的Verilog代码,并对EEPROM进行读写操作,利于FPGA开发学习
2022-01-15 11:55:02 184KB I2C接口
1
STM32F10x_硬件I2C读写EEPROM,解决STM32硬件I2C存在的问题
2022-01-12 12:13:00 308KB STM32 E2PROM 硬件I2C
1
i2c设备驱动程序读写EEPROM,I2C eeprom的设备驱动的读取和写入的协议都算是比较简单的。在实际中,也可能遇到更加复杂的i2c设备驱动,这就需要我们熟悉具体设备的业务协议,通过sysfs或者字符设备等,提供给用户操作的api接口。
2021-12-29 20:36:37 41KB i2c
1
用I2C_dev.c设备驱动读写EEPROM。 采用刘洪涛,华清远见嵌入式学院讲师的实例解析linux内核I2C体系结构
2021-12-29 20:27:13 4KB i2c 驱动 I2C_dev.c EEPROM
1
51单片机I2C读写EEPROM例程,有注释,适合初学者
2021-12-21 16:10:52 42KB 51单片机 I2C EEPROM例程
1
Cyclone10 FPGA读写eeprom(24lc04)实验Verilog源码Quartus17.1工程文件+文档资料, FPGA为CYCLONE10LP系列中的10CL025YU256C8. 完整的Quartus工程文件,可以做为你的学习设计参考。 module i2c_master_top ( input rst, input clk, input[15:0] clk_div_cnt, // I2C signals // i2c clock line input scl_pad_i, // SCL-line input output scl_pad_o, // SCL-line output(always 1'b0) output scl_padoen_o, // SCL-line output enable(active low) // i2c data line input sda_pad_i, // SDA-line input output sda_pad_o, // SDA-line output (always 1'b0) output sda_padoen_o, // SDA-line output enable (active low) input i2c_addr_2byte, input i2c_read_req, output i2c_read_req_ack, input i2c_write_req, output i2c_write_req_ack, input[7:0] i2c_slave_dev_addr, //device address input[15:0]i2c_slave_reg_addr, //word address input[7:0] i2c_write_data, output reg[7:0]i2c_read_data, output reg error ); localparam S_IDLE = 0; localparam S_WR_DEV_ADDR = 1; localparam S_WR_REG_ADDR = 2; localparam S_WR_DATA = 3; localparam S_WR_ACK = 4; localparam S_WR_ERR_NACK = 5; localparam S_RD_DEV_ADDR0 = 6; localparam S_RD_REG_ADDR = 7; localparam S_RD_DEV_ADDR1 = 8; localparam S_RD_DATA = 9; localparam S_RD_STOP = 10; localparam S_WR_STOP = 11; localparam S_WAIT = 12; localparam S_WR_REG_ADDR1 = 13; localparam S_RD_REG_ADDR1 = 14; localparam S_RD_ACK = 15; reg start; reg stop; reg read; reg write; reg ack_in; reg[7:0] txr; wire[7:0] rxr; wire i2c_busy; //It was high level after start signal and low level after stop signal wire i2c_al; //arbitrament lose(The stop signal is detected but no signal is requested.The host setting SDA is high,Actual SDA is low) wire done; wire irxack; //slave receive the respond,0 (receive),1(refuse) reg[3:0] state,next_state; assign i2c_read
在ST官网下载了一个I2C读写EEPROM的例子,MDK5和IAR都能打开,并且有图纸、详尽的说明文件,这个文档作为STM32F4xx_HAL_Driver库的补充,既然官方发布了补充文档,说明之前的文档存在不足,此补充文档是否能全面解决网上流传的I2C的所谓BUG ?
2021-11-11 14:43:28 8.73MB STM32
1
本文主要谈了STM32作为主机I2C,读写24C02 EEPROM,内附有源程序。
2021-11-08 22:41:50 65KB STM32 IIC 读写 EEPROM
1
USB转I2C总线 USB读写I2C总线器件工具 USB读写EEPROM上位机软件 USB转I2C IIC USB读写EEPROM工具 版本 v1.0.6
2021-11-04 13:05:47 244.16MB USB转I2C USBtoI2C USBTOI2C USB读写EEPROM
1
西安电子科技大学电赛资料,I2C读写(EEPROM)模块化程序,有利于学生模块化编程
2021-11-02 16:07:22 43KB I2C读写
1