SCPA063 March   2023 PCA9306

 

  1.   Abstract
  2.   Trademarks
  3. 1Introduction
  4. 2General Checks for Dealing With NACKs
    1. 2.1 NACKs
    2. 2.2 Check the Schematic
    3. 2.3 Double Check SDA and SCL Between the Controller and Target
    4. 2.4 RESET Properly Biased
    5. 2.5 Device is Soldered Properly
  5. 3Scopeshots
    1. 3.1 Why use Oscilloscopes for Debugging?
    2. 3.2 Setting up the Oscilloscope
    3. 3.3 Verify the I2C Address When a NACK is Received
    4. 3.4 Validate Start and Stop Conditions
    5. 3.5 Check the Byte Format
    6. 3.6 Are Rise Times Within I2C Standard?
    7. 3.7 Are the Sent Command Bytes Valid?
  6. 4I2C Switches
    1. 4.1 Stop Conditions for TI I2C Switches
  7. 5I2C Buffers
    1. 5.1 VoL versus ViLc of the Buffer
    2. 5.2 VoL of the Buffer Exceeds the ViL of the I2C Target
    3. 5.3 Static Offset of Buffers Cannot Connect to Other Static Offsets
  8. 6Checklists
  9. 7Conclusion

Device is Soldered Properly

Before soldering an I2C device to a board, always verify that the device is placed in the correct orientation. An I2C device continuously sends NACKs back to the controller if the device is incorrectly soldered onto a PCB. Soldering a device in an incorrect orientation can also damage the device whenever power is applied to the circuit. When verifying if a device has been soldered onto a PCB properly, look for two things: a package marking, and a footprint marking. These markings on the package and footprint are created to help the user match the pin locations of the package to the pin locations of the footprint.

Generally, a package marking is placed directly over pin 1 of the package (see Figure 2-5). The shape of the marking can vary from a small circle to a diagonal line. An easy way to find out the shape of this marking is to look at the pinout diagram on the data sheet of the device.

GUID-20221012-SS0I-Z8BP-8MB3-TP7FXGLBDSTQ-low.svg Figure 2-5 Example of Top Marking for Pin 1 on PCB

Figure 2-5 illustrates the small line that is usually located near pin 1 of the footprint. Use both package marking and footprint marking to match the location of pin 1 on the footprint to pin 1 on the device. If both the package marking and the footprint marking are located on top of each other, it is likely that the device was placed onto the PCB in the correct orientation.