User manual
LPCXpresso Experiment Kit - User’s Guide
Page 95
Copyright 2013 © Embedded Artists AB
I2CRead() – this function perform a read operation. The function has three parameters. The
first is the slave address to communicate with. The second is a buffer pointer to where the
read data is copied. The third parameter is the number of bytes to read.
I2CWrite() – this function perform a write operation. The function has three parameters. The
first is the slave address to communicate with. The second is a buffer pointer from where to
get the data to transfer to the slave. The third parameter is the number of bytes to
write/transfer.
7.14.1 Lab 13a: Solder Surface Mounted Components
In this Lab the surface mounted components shall be soldered to the PCB, as a preparation for the
following I2C related experiments. Besides the surface mounted components a few connectors are
also needed to be soldered for powering and connection to the LPCXpresso LPC111x board. The
following components shall be soldered (see chapter 4 for pictures of all different components):
J1, 2.1mm power jack. This is for allowing an external 5V DC supply to power the board.
J2, dual 1x27 pos headers for connection to the LPCXpresso LPC111x board.
J17, mini-B USB connector on bottom side as alternative power source
Components on schematic page 6
o Temperature sensor: U6 (LM75), C10 (100nF), R57-R58 (2K)
o I2C GPIO expander: U7 (PCA9532), C11 (100nF), R43-R56 (2K), LED11-LED18
Figure 56 illustrates where on the PCB the components shall be soldered. Read chapter 6 for
information about soldering. In general there are many good tutorials on the Internet on how to solder
through-hole components as well as surface mounted components. Just search with your favorite
search engine.
Figure 56 – Surface Mounted Components on the LPCXpresso Experiment Kit PCB