User manual
LPCXpresso Experiment Kit - User’s Guide
Page 123
Copyright 2013 © Embedded Artists AB
7.17 Extra: Work with Serial Expansion Connector
In this experiment you will learn how to work with the Serial Expansion Connector. It is a 14-pin
connector with SPI, UART and I2C communication interfaces and a couple of GPIOs. The purpose of
the connector is to provide a simple expansion connector for smaller expansion modules. Such
modules are typically sensors of different kinds and communication modules, but can also be smaller
displays. Figure 67 illustrates the interface in the schematics.
Figure 67 – Serial Expansion Connector on Schematic Page 7
In preparation for the exercise, define all the pins in the Serial Expansion Connector (SEC) connector
like below in file board.h.
#define SEC14_PIN3_PORT PORT2
#define SEC14_PIN3_PIN 11
#define SEC14_PIN4_PORT PORT0
#define SEC14_PIN4_PIN 9
//continue with the rest of the pins
...
7.17.1 Lab 16a: 128x128 OLED Graphical Display
In this exercise the serial expansion connector will be used to interface a 1.5 inch RGB OLED with a
resolution of 128x128 pixels, see product page: http://www.embeddedartists.com/products/displays/
15_rgb_oled.php. The display can be bought directly from Embedded Artists, Digikey: EA-LCD-008 or
Mouser: 924-EA-LCD-008.
The display contains a built-in controller (SSD1351 from Solomon Systech) that is interfaced via a 4-
pin SPI channel (or an 8-bit parallel interface but in this exercise the SPI interface will be used). Pin 3,
4, 6 and 11 are used for the SPI interface. Pin 11 is the fourth signal that is used to differentiate
between command and pixel data information transfers. Further, pin 12 is used for reset of the display.
The display module has five DIP switches. All switches except for “pos 3” shall be in “ON” position.
See the display module’s schematics for details.