verilog實現(xiàn)I2C通信的slave模塊源碼狀態(tài)機設位計可做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 PW2601 is a charger front-end integrated circuit designed to provide protection to Li-ionbatteries from failures of charging circuitry. The device monitors the input voltage, battery voltageand the charging current to make sure all three parameters are operated in normal range. Thedevice will switch off internal MOSFET to disconnect IN to OUT to protect load when any of inputvoltage, OUTPUT current exceeds the threshold. The Over temperature protection (OTP) functionmonitors chip temperature to protect the device. The PW2601 also can protect the system’sbattery from being over charged by monitors the battery voltage continuously. The deviceoperates like a linear regulator, maintaining a 5.1V OUTPUT with input voltages up to the input overvoltage threshold.The PW2601 is available in DFN-2x2-8L package. Standard products are Pb-free and Halogenfree
標簽: pw2601
上傳時間: 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
The PW2228A is a high efficiency single inductor Buck-Boost converter which can supply theload current up to 1.5A. It provides auto-transition between Buck and Boost Mode. The PW2228Aoperates at 2.4MHz switching frequency in CCM. DC/DC converter operates at Pulse-Skipping Modeat light load. The OUTPUT voltage is programmable using an external resistor divider, or is fixed to3.3V internally. The load is disconnected from the VIN during shutdown.The PW2228A is available in TDFN3X3-10 package.
標簽: pw2228a
上傳時間: 2022-02-11
上傳用戶:
PW2205 develops a high efficiency synchronous step-down DC-DC converter capable of delivering5A OUTPUT current. PW2205 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.PW2205 adopts the instant PWM architecture to achieve fast transient responses for high step downapplications and high efficiency at light loads. In addition, it operates at pseudo-constant frequencyof 500kHz under continuous conduction mode to minimize the size of inductor and capacitor
標簽: pw2205
上傳時間: 2022-02-11
上傳用戶:
The PW2163 is a high efficiency 500 kHz synchronous step-down DC-DC converter capable ofdelivering 3A current. The PW2163 operates over a wide input voltage range from 4.5V to 18V andintegrates main switch and synchronous switch with very low RDS(ON) to minimize the conductionloss. Low OUTPUT voltage ripple and small external inductor and capacitor sizes are achieved with 500kHz switching frequency. It adopts the instant PWM architecture to achieve fast transient responsesfor high step down applications
標簽: pw2163
上傳時間: 2022-02-11
上傳用戶:
The PW2162 is a fully integrated, high– efficiency 2A synchronous rectified step-down converter.The PW2162 operates at high efficiency over a wide OUTPUT current load range. This device offerstwo operation modes, PWM control and PFM Mode switching control, which allows a high efficiencyover the wider range of the load. The PW2162 requires a minimum number of readily availablestandard external components and is available in an 6-pin SOT23 ROHS compliant package.
標簽: pw2162
上傳時間: 2022-02-11
上傳用戶:d1997wayne
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1