Mistake 2: Flipped SCL & SDA

Mistake is spotted whereby the SDA and SCL lines documentation are correct but the PCB Design somehow got them flipped.

IMX178 Sensor Board Pinout Diagram
SCL (SPI0_CLK) should be at the longer side (the side with more pins)
pin-name-on-board
Correct Pinout Arrangement (SDA at the shorter side, SCL at longer side)
wrong-pcb-routing
Proof of wrong line connection: the lower one should be SCL instead

The fix: Physically swapping SDA and SCL

i2c-breaking-the-lines
The fix part 1: break the PCB lines using drill.
i2c-fix
The fix part 2: soldering thin wire to reconnect the correct linkage

 

Illustration of Correct and Wrong I2C Communication Patterns

The address 0011010x + ACK = 9-bit / clock.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: