verilog实现I2C通信的slave模块源码状态机设位计可做I2C接口的仿真模型//`timescale 1ns/1psmodule I2C_slv (input [6:0] slv_id,input RESET,input scl_i, //I2C clkinput sda_i, //I2C data ininput [7:0] I2C_RDDATA,////////////////////////output reg sda_o, //I2C data outoutput reg reg_w, //reg write enable pulse (1T of scl_i)output reg [7:0] I2C_ADDR,output reg [7:0] I2C_DATA); parameter ST_ADDR = 4'd0; parameter ST_ACK = 4'd1; parameter ST_WDATA1 = 4'd2; parameter ST_WACK1 = 4'd3; parameter ST_WDATA2 = 4'd4; parameter ST_WACK2 = 4'd5; parameter ST_WDATA3 = 4'd6; parameter ST_WACK3 = 4'd7; parameter ST_RDATA1 = 4'd8; parameter ST_RACK1 = 4'd9; parameter ST_IDLE = 4'd15;//---------------------------------------------------------------------------// Signal Declaration//--------------------------------------------------------------------------- reg i2c_start_n, i2c_stop_n; //wire RESET_scl; wire i2c_stp_n, i2c_RESET; reg [3:0] i2c_cs, i2c_ns; reg [3:0] cnt_bit; reg [7:0] d_vec; reg i2c_rd, i2c_ack; reg [7:0] I2C_RDDATA_latch;
上传时间: 2022-02-03
上传用户:
The PW5410B is a low noise, constant frequency (1.2MHz) switched capacitor voltage doubler. Itproduces a regulated output voltage from 1.8V to 5V input with up to 100mA of output current. Lowexternal parts count (one flying capacitor and two small bypass capacitors at VIN and VOUT) makethe PW5410B ideally suited for small, battery-powered applications
标签: pw5410
上传时间: 2022-02-11
上传用户:wangshoupeng199
The PW5410A is a low noise, constant frequency (1.2MHz) switched capacitor voltage doubler. Itproduces a regulated output voltage from 2.7V to 5V input with up to 250mA of output current. Lowexternal parts count (one flying capacitor and two small bypass capacitors at VIN and VOUT) makethe PW5410A ideally suited for small, battery-powered applications
标签: pw5410
上传时间: 2022-02-11
上传用户:
The PW5300 is a current mode boost DC-DC converter. Its PWM circuitry with built-in 0.2Ω powerMOSFET make this regulator highly power efficient. The internal compensation network alsominimizes as much as 6 external component counts. The non-inverting input of error amplifierconnects to a 0.6V precision reference voltage and internal soft-start function can reduce the inrushcurrent. The PW5300 is available in the SOT23-6L package and provides space-saving PCB for theapplication fields
标签: pw5300
上传时间: 2022-02-11
上传用户:jiabin
The PW4554 is a cost-effective, fully integrated high input voltage single-cell Li-ion battery charger.The charger uses a CC/CV charge profile required by Li-ion battery. The charger accepts an inputvoltage up to 24V but is disabled when the input voltage exceeds the OVP threshold, typically 6.8V,to prevent excessive power dissipation. The 24V rating eliminates the over-voltage protection circuitrequired in a low input voltage charger
标签: pw4554
上传时间: 2022-02-11
上传用户:
PW4203 is a 4.5-22V input, 2A multi-cell synchronous Buck Li-Ion battery charger, suitable forportable application. Select pin is convenient for multi-cell charging. 800 kHz synchronous buckregulator integrates of 22V rating FETs with ultra low on- resistance to achieve high efficiency andsimple circuit design.The PW4203 is available in an 8-pin SOP package, provides a very compact system solution andgood thermal conductance
标签: pw4203
上传时间: 2022-02-11
上传用户:
The PW4055 is a complete constant-current /constant-voltage linear charger for single cell lithiumion batteries.Its ThinSOT package and low external component count make the PW4055 ideallysuited for portable applications.Furthermore, the PW4055 is specifically designed to work within USBpower specifications.The PW4055 No external sense resistor is needed, and no blocking diode is required due to theinternal MOSFET architecture.Thermal feedback regulates the charge current to limit the dietemperature during high power operation or high ambient temperature. The charge voltage is fixedat 4.2V, and the charge current can be programmed externally with a single resistor. The PW4055automatically terminates the charge cycle when the charge current drops to 1/10th the programmedvalue after the final float voltage is reached. When the input supply (wall adapter or USB supply) isremoved, the PW4055 automatically enters a low current state, dropping the battery drain currentto less than 2µA. The PW4055 can be put into shutdown mode, reducing the supply current to 25µA.The BAT pin has a 7KV ESD(HBM) capability. Other features include charge current monitor, undervoltage lockout, automatic recharge and a status pin to indicate charge termination and the presenceof an input voltage
标签: pw4055
上传时间: 2022-02-11
上传用户:jason_vip1
The PW2606B is a front-end over voltage and over current protection device. It achieves wide inputvoltage range from 2.5VDC to 40VDC. The over voltage threshold can be programmed externally orset to internal default setting. The low resistance of integrated power path nFET switch ensures betterperformance for battery charging system applications. It can deliver up to 1A current to satisfy thebattery supply system. It integrates the over-temperature protection shutdown and auto-recoverycircuit with hysteresis to protect against over current events
标签: pw2606b
上传时间: 2022-02-11
上传用户:
PW2330 develops a high efficiency synchronous step down DC-DC converter capable of delivering3A output current. PW2330 operates over a wide input voltage range from 4.5V to 30V andintegrates main switch and synchronous switch with very low RDS(ON) to minimize the conductionloss. PW2330 adopts the proprietary instant PWM architecture to achieve fast transient responsesfor high step down applications and high efficiency at light loads. In addition, it operates atpseudo-constant frequency of 500kHz under continuous conduction mode to minimize the size ofinductor and capacitor
标签: pw2330
上传时间: 2022-02-11
上传用户:
The PW2312 is a high frequency, synchronous, rectified, step-down, switch-mode converter withinternal power MOSFETs. It offers a very compact solution to achieve a 1.5A peak output currentover a wide input supply range, with excellent load and line regulation.The PW2312 requires a minimal number of readily available, external components and is available ina space saving SOT23-6 package.
标签: pw2312
上传时间: 2022-02-11
上传用户:qingfengchizhu