asynchronous' and 'synchronous protocols

Thread Starter

MTech1

Joined Feb 15, 2023
181
Thank you; this means data always transfers or is received at the edge of the clock signal.

In the SPI protocol, data is transferred on the rising edge of the clock and received on the falling edge of the clock pulse.

In the I2C protocol, when pull-up resistors are used, the sender transfers data on the falling edge of the clock, and the receiver receives data on the rising edge of the clock pulse.
 

MrChips

Joined Oct 2, 2009
34,818
Thank you; this means data always transfers or is received at the edge of the clock signal.

In the SPI protocol, data is transferred on the rising edge of the clock and received on the falling edge of the clock pulse.

In the I2C protocol, when pull-up resistors are used, the sender transfers data on the falling edge of the clock, and the receiver receives data on the rising edge of the clock pulse.
This is not correct for SPI. You can select which edge is used for clocking data. Review the four options of CPOL and CPHA.
 
Top