Академический Документы
Профессиональный Документы
Культура Документы
IMPLEMENTATION
GUIDED BY:
Mr .Y.V. Joshi
Mr. Vaibbhav Taraate
PRESENTED BY:
o Atul Kokate
o Ganesh wattamwar
o Omprasad Rathod
o Pranav Bobade
o Karunesh Junghare
OBJECTIVE
• Design a bus which can communicate between master and multiple slave.
• Implement bus which use a smaller number of bit for transferring 8-bit data.
• Develop a bus which uses a less number of pins for data transfer between
microcontroller and peripherals device.
• Design a bus which Eliminates the need for address decoders and Increase
system design flexibility and making simple construction.
I2C-BUS
FEATURES Masters can operate as master-transmitters or as
master-receivers.
Followed by First Byte which contains the SLAVE ADDRESS + WRITE BIT.
After each byte received the Slave sends back an Acknowledge bit (ACK).
When the Master wants to stop reading it sends a Not Acknowledge bit
(NACK)
The acknowledge takes place after every byte. The Not acknowledge takes place after every byte.
The transmitter releases the SDA line during the The transmitter releases the SDA line during the
acknowledge clock pulse so the receiver can pull acknowledge clock pulse so the receiver can pull
the SDA line LOW. the SDA line HIGH.
It remains stable LOW during the HIGH period of It remains stable HIGH during the HIGH period of
this clock pulse. this clock pulse.
H Cmd_in
A
SLAVE 2
O S
S I2c_transmit_done
T
SLAVE 3
T E
R
reset_n
clk SLAVE 4
NAME OF DIRECTION NUMBER DESCRIPTION
SIGNAL OF BITS
SDA(Serial Data Bidirectional 1 bit Data is transferred between
DESCRIPTION line) master and slave through this line.
READ BUFFER
SIPO
READ FSM
REGISTER
H DIRECTION
CONTROLLER
O data_bus
WRITE BUFFER
PISO
SDA
LINE
WRITE FSM REGISTER
S
T SYNCHRONIZATION ACK AND NACK LOGIC BUS
control_bus[2:0]
LOGIC
COMMAND BUFFER SCL
AND LINE
reset_n DECODER
CONTROL
AND
clk TIMING BLOCK
RTL DESIGN OF WRITE BUFFER
6. count_bit_done output 1 This is enable when master FSM send 8 bit data to SDA line.
Signal Operation
reset_in=1 Master FSM in idle state.
reset_in=0, start_in=1,write_in=0 Master to slave communication
reset_in=0, start_in=1,write_in=1 Slave to master communication
reset_in=0, start_in=0,write_in=X Master FSM in idle state.
6. count_bit_done output 1 This is enable when master send 8 bit data to SDA line.
TOP LEVEL RTL reset_in=0, full write buffer=1,write_in=0 Master to slave communication
VERIFICATION
READ OF reset_in=0, write_in=1, slave to master communication
MASTER empty read buffer=1.
DESIGNER
BENEFITS OF Design-time reduces.
I2C BUS
Fault diagnosis and debugging are simple.
MANUFACTURER
BENEFITS OF I2C Increase system design flexibility and making simple
construction.
BUS
Easy upgrading to keep designs up-to-date.
CONCLUSION Slave block :Address memory , Read and write unit , Ack
and Nack generator , Shift register, clock synchronizer , etc.