Page 2
Embedded Artists AB. Disclaimer Embedded Artists AB makes no representation or warranties with respect to the contents hereof and specifically disclaim any implied warranties or merchantability or fitness for any particular purpose. Information in this publication is subject to change without notice and does not represent a commitment on the part of Embedded Artists AB.
LPC3250 Developer’s Kit v2 - User’s Guide Page 3 Table of Contents 1 Document Revision History 2 Introduction Features ESD Precaution General Handling Care LPC3250 Core Voltage Precaution CE Assessment Other Products from Embedded Artists 2.6.1 Design and Production Services 2.6.2...
Page 4
LPC3250 Developer’s Kit v2 - User’s Guide Page 4 4.14 SP8: NXP/Jennic RF Module Interface 4.15 SP9: UART Multiplexing 4.16 SP9: RS232 Interface 4.17 SP9: RS422/485 Interface 4.18 SP10: CAN 4.19 SP10: IrDA 4.20 SP11: USB Channel 1 4.20.1 USB Channel 1 as USB Host 4.20.2...
LPC3250 Developer’s Kit v2 - User’s Guide Page 6 1 Document Revision History Revision Date Description 2012-06-18 First official revision of document for the OEM Base Board 2012-10-16 Clarified I2S jumper positions in Figure 25. 2013-06-05 Correction about which connector to use for USB Device on USB2.
LPC3250 Developer’s Kit. Note that there is a previous version of the LPC3250 Developer’s Kit that was based on the QVGA Base Board. This manual is for the new OEM Base Board (not the same as the QVGA Base Board).
ESD. Never touch directly on the LPC3250 OEM Board and in general as little as possible on the OEM Base Board. The push-buttons on the OEM Base Board have grounded shields to minimize the effect of ESD.
LPC3250 Developers Kit. Due to the nature of the LPC3250 Developers Kit – an evaluation board not for integration into an end- product – fast transient immunity tests and conducted radio-frequency immunity tests have not been executed.
LPC3250 Developer’s Kit v2 - User’s Guide Page 10 communication interfaces, specific analog or digital I/O, and power supplies. Embedded Artists has a broad, and long, experience in designing industrial electronics in general and with NXP’s LPC microcontroller and i.MX application processor families in specific.
NXP. An internal PLL can create many other frequencies from this, like 208 MHz and 266 MHz. The LPC3250 has an internal real-time clock (RTC) block that can be used to provide real-time and alarm function. A 32.768 kHz crystal gives the base frequency for the RTC. The RTC block can be powered via a separate supply (for example from a battery or high-capacity capacitor).
The LTC3447 can generate voltages up to 2V, which by far exceed the limits for the LPC3250. See the LPC3250 datasheet for exact details about voltage ranges, but it is in the region of 1.1-1.39V. Also see the LTC3447 datasheet for details about how to adjust the voltage (it is a write-only register).
(i.e., free) input pin. The OEM Base Board can connect the signal to GPIO72 by inserting a jumper between pin 3-4 on JP2. This feature is not needed for the LPC3250 OEM board, where the busy signal is connected tp GPO19.
As seen in the table above, it is only the static memory regions that are available on the external memory bus from the LPC3250 OEM Board. The data bus buffers on the LPC3250 OEM Board are controlled automatically and only enabled when a static memory region is accessed. The address and control bus buffers are always enabled.
DDR2 stands for). SP2: Current Measurements It is possible to accurately measure current consumption of the LPC3250 OEM board. This can be very valuable when working with applications that make use of the low power modes of the LPC3250 processors.
In order to be universal between 16- and 32-bit databus width OEM Boards, only the lower 16 bits are connected. This does not affect the LPC3250 OEM board since it only exists in 16-bit databus width. The 16-bit parallel NOR flash is enabled when JP1 is inserted, see picture below for guidance where to find JP1 on the OEM Base Board.
BCS3. This means that the 16-bit register is accessible in memory region: 0xE300 0000 - 0xE3FF FFFF. No jumper in JP2 is needed when working with the LPC3250 OEM Board. SJ12 shall be in default position (pad 1-2 shorted) to let BCS2 control chip select of the 16-bit register.
Page 19
LPC3250 Developer’s Kit v2 - User’s Guide Page 19 When working with the LPC3250 OEM Board, J7 is typically used. If an older and big footprint JTAG debug pod is used, J8 can alternatively be used. JP3, J9 and J10 are not used when working with LPC3250 OEM boards.
LPC3250 Developer’s Kit v2 - User’s Guide Page 20 SP6: Ethernet Interface The board has an Ethernet interface, J11, which is a RJ45 connector with integrated magnetics. There is also provision on the board for connecting a PoE interface. All signals can be accessed via expansion pads, J12.
LPC3250 Developer’s Kit v2 - User’s Guide Page 21 SP6: SD/MMC Memory Card Interface The board has a SD/MMC memory card interface, J13. Supply voltage to the external memory card is controlled via Q1. The Card Detection (CD) and Write Protect (WP) signals are connected to the I2C port expander on schematic page 7.
A 3V Lithium CR1025 size coin battery, via D2. Note that battery is not included. See the LPC3250 datasheet for details about VBAT voltage range. The ALARM signal control LED21. It is the LPC3250 signal ONSW that is connected to this signal. Check the LPC3250 errata for details about some limitations on this signal.
LPC3250 Developer’s Kit v2 - User’s Guide Page 23 4.10 SP7: I2C Peripherals There are several I2C peripherals on the board. See picture below for locating the different components on the board. The I2C addresses for the individual components are given in the schematic.
LPC3250 Developer’s Kit v2 - User’s Guide Page 24 4.11 SP8: Analog Input The board contains a trimming potentiometer (R94) for manually generating an adjustable voltage (between GND and VREF). See picture below where to locate the trimming potentiometer on the board.
There is a push-button (SW6) that is connected to a signal that enable the service mode after reset on the OEM Board. For the LPC3250 this is pin GPI_01. If this pin is sampled low after reset, the uart service mode for the LPC3250 is entered (allowing program code download to internal SRAM via UART #5).
Page 26
LPC3250 Developer’s Kit v2 - User’s Guide Page 26 Serial Expansion Connector Figure 12 – Serial Expansion Connector Signals LPC3250 GPIO29_SPI-CLK SPI1_CLK GPIO31_SPI-MISO SPI1_DATIN GPIO32_SPI-MOSI SPI1_DATIO GPIO69 P2.7 SIE_UART_RXD U1_RX, UART#1 is used SIE_UART_TXD U1_TX, UART#1 is used I2C-SCL I2C1_SCL...
SW9 during (and shortly after) reset. Note that the UART channel is not directly connected to a UART channel on the LPC3250. It is multiplexed with other UART channels, see section 4.15 for details. Also note that the Serial Expansion Connector (see section 4.13 ) and the RF-module share the same UART channel.
LPC3250 Developer’s Kit v2 - User’s Guide Page 28 4.15 SP9: UART Multiplexing UART channels from four sources are multiplexed into one UART channel, which is connected to the OEM Board: Serial Expansion Connector / RF module. Note that if the RF module is soldered to the board, then UART channel on the Serial Expansion Connector is occupied.
See picture below for locating relevant components on the board. The table below lists signal connections. On the LPC3250 it is possible to connect UART #1 (just rx and tx) to the RS232 transceiver or UART#3 with all modem signals. Insert jumpers in all JP11 positions and place jumpers in left position in JP12/JP13 to connect UART #3 (in full modem configuration) to the RS232 interface.
R135 and R136 and control the transmitter and receiver individually via JP7 and JP8. Note that on LPC3250, signal GPI_03 is connected to GPIO43 in the base board. This is an input signal in the LPC3250, whereas an output signal is what is needed to control GPIO43. This is not supported by the OEM base board, due to trade-offs when making different OEM boards and the base board compatible.
Page 31 4.18 SP10: CAN The CAN interface is not supported since there is no on-chip CAN peripheral on the LPC3250. For reference, the information about the interface is described below. There is one CAN interface mounted on the board. The board is also prepared for a second CAN interface, if needed.
LPC3250 Developer’s Kit v2 - User’s Guide Page 32 4.19 SP10: IrDA The board is prepared for an IrDA interface, but the IrDA transceiver (TFBS4652) is not mounted. To enable the IrDA interface, mount U18 (TFBS4652) and adjust SJ2 and SJ3 (connect 2-3 pads).
LPC3250 Developer’s Kit v2 - User’s Guide Page 33 4.20 SP11: USB Channel 1 The USB1 interface is not supported since there is one on-chip USB interface on the LPC3250 and this is connected to the USB2 interface on the OEM base board. For reference, the information about the interface is described below.
LPC3250 Developer’s Kit v2 - User’s Guide Page 34 GPIO42 GPO_14. Not used for USB1 interface GPIO51 SPI2_DATIN. Not used for USB1 interface GPIO52 GPIO_04. Not used for USB1 interface GPIO53 SPI2_CLK. Not used for USB1 interface GPIO46 P0.6 normally not connected. Not used for USB1 interface GPIO43 GPI_03 normally not connected.
(USB-B). One of these interfaces can be used at a time, i.e., both cannot be used simultaneously. The software on the LPC3250 OEM Board is also different between the interfaces. For USB Device operation; insert jumpers in position 1-2 in JP17/JP18/JP19. GPIO28 controls USB connect functionality and LED32 lights when the USB Device is connected.
When USB channel #2 is used as USB OTG, pull-up and pull-down resistors are controlled via the USB OTG chip on the LPC3250 OEM board. Note however that 15Kohm pull-down resistors are always connected (R187/R188). If this is a problem, remove these resistors.
PC side. The driver creates a virtual COM port on the PC that represents the UART channel. Any program on the PC can connect to this COM port for communication with the LPC3250 UART channel. There are two LEDs (Transmit – LED38 and Receive – LED37) that signal communication activity.
LPC3250 Developer’s Kit v2 - User’s Guide Page 38 4.23 SP13: Power Supply The power supply on the board is straight forward. There are three powering sources: 1. +5V DC via 2.1mm power jack (J24). Center pin positive. There is also an alternative connector (J23) for this powering option.
The LCD expansion connector carries 18 data bits per pixel by default. (6 per RGB color). The LPC3250 LCD controller can produce 24 data bits per pixel and it is possible to output all these signals on the LCD expansion connector. The trade-off is that the UART and I2C serial interfaces have to be removed.
OEM Board. Jumper JP22-JP27 selects which group of signals to connect to the I2S interface of the UDA1380. For LPC3250 OEM Board, set all jumpers in lower position (see picture below). Note that this is not the default setting of the jumpers when the board is delivered.
Figure 25 – OEM Base Board Default Jumper Positions Note that the default position for the six I2S jumpers is not what is needed for the LPC3250 OEM board. Also, JP34 is in wrong position. Before working with I2S audio and the LCD interface change the jumper settings.
Page 43 4.27 Usage of CPU Pins Almost all pins of the LPC3250 are directly available on the expansion connectors. Only in a few cases are pins used for dedicated functionality like Ethernet interface and chip select signals. Such pins are not available on the expansion connector.
Page 44
LPC3250 Developer’s Kit v2 - User’s Guide Page 44 GPIO23 HICORE / LCDVD17 LCD databit 17 GPIO24 U1_TX Connects to UART multiplexing (TxD); further to LCD expansion connector, serial expansion connector, RF module, RS232 and RS422/485. GPIO25 U1_RX Connects to UART multiplexing (RxD); further to LCD expansion connector, serial expansion connector, RF module, RS232 and RS422/485.
Page 45
MCIDAT3 Connects to MCIDAT3 on SD/MMC connector GPIO41 GPIO_05 No special usage on OEM Base Board, but is used for SPI_SSEL on the boot serial flash on the LPC3250 OEM board GPIO42 GPO_14 Connects to LCD expansion connector (backlight control).
Page 46
LPC3250 Developer’s Kit v2 - User’s Guide Page 46 GPIO60 P0.1 / I2SRX_WS Can be connected to I2S audio codec BCKI (I2SRX-WS) GPIO61 GPI_00 / Can be connected to I2S audio codec BCKI (I2SRX-DATA) I2SRX_SDA GPIO62 I2C2_SDA No special usage on OEM Base Board.
Page 47
LPC3250 Developer’s Kit v2 - User’s Guide Page 47 GPIO93 U3_DSR / U2_RX Can be connected to RS232 interface GPIO94 GPI_05 / U3_DCD Can be connected to RS232 interface GPIO95 U3_CTS / U2_CTS Can be connected to RS232 interface GPIO96...
The OEM Base Board contains an USB-to-UART bridge chip (FT232R from FTDI) that connects UART channel #5 on the LPC3250 to a virtual COM port on the PC/laptop (via USB). This UART channel is typically used as the console channel for applications. Printf() output can for example be directed to this UART channel.
A bundle with sample applications is available at Embedded Artists’ support site. These applications illustrate the use of different peripherals on both the LPC3250 OEM Board and the OEM Base Board. The sample applications have been developed using the Common Driver Library (CDL) framework developed by NXP.
The LPC3250 User’s Manual from NXP (chapter 35) contains all details about booting. The rest of this section gives an overview of what is supported by the LPC3250 OEM Board and OEM Base Board, and how to quickly get started with the download process.
By default the Embedded Artists LPC3250 OEM Board is programmed with the stage 1 loader (s1l) in block 1 of the NAND flash. This application will be loaded by the kickstart loader when the LPC3250 OEM Board powers up, see figure below.
Page 52
The application is downloaded directly to the internal memory through, for example, a JTAG adapter. When an application should be stored persistently on the LPC3250 OEM Board the NAND flash is a suitable place to store it since the LPC3250 microcontroller doesn’t have any on-chip flash. It can also be suitable to run the application from external memory especially if it is too large to fit into internal memory.
Page 53
LPC3250 Developer’s Kit v2 - User’s Guide Page 53 1. Open the project in Keil uVision 2. Make sure board initialization isn’t executed when the application is built for external memory. The S1L boot loader will take care of initialization and it shouldn’t be executed twice. Go to Project ...
2 5.4.3 Service Boot The LPC3250 bootloader starts by reading the SERVICE_N (GPI_01) input when deciding from which source to boot. If SERVICE_N is low a service boot is performed, which means that it will load code from UART5.
Page 56
LPC3250 Developer’s Kit v2 - User’s Guide Page 56 Other OEM boards can enable this mode automatically via the UART modem control signals, but this is not possible for the LPC3250. Therefore JP20 jumpers shall be open. USB mini-B Connector Automatic ISP...
OEM Board edge connectors. Handle the OEM Board only by the three other edges. Also, do not touch the components on the board. Things to Note This section lists things to note when using the LPC3250 OEM Board and the OEM Base Board. 5.6.1 LPC3250 Adjustable Core Voltage The core voltage for the LPC3250 is adjustable via I2C commands sent to the LTC3447 voltage converter.
Current Consumption and Limits of USB Ports The current consumption of LPC3250 OEM Board, OEM Base Board, and the 4.3 inch LCD Board is in the region of 90-150mA. This is below what a normal USB-A port can supply. However, if the boards are powered from a USB-A port (for example a PC or laptop) and there are problems, like spontaneous resets or other strange things, it is likely that an external power supply is needed.
OEM Base Board. The difference is the I2C address that the chip answers to. Any software using the MIC2555 must check which I2C address the chip responds to. The OTG transceiver is connected to the USB channel that is not used by the LPC3250, so this is no problem for LPC3250 OEM board users.
The LCD expansion connector carries 18 data bits per pixel by default (6 per RGB color). The LPC3250 LCD controller can produce 24 data bits per pixel and it is possible to output all these signals on the LCD expansion connector. The trade-off is that the UART and I2C serial interfaces have to be removed.
Page 62
In most cases the LPC3250 can generate the appropriate DOTCLK frequency. The higher the frequency needed, the fewer available frequencies can be selected when dividing the core clock. If a specific frequency is needed, the LCDCLKIN signal can be used. It is an input to the LPC3250.
Page 63
As a final step a touch screen interface is typically needed. o Embedded Artists display boards often use the TSC2046 from TI. It has a simple SPI interface. o Capacitive touch screen controllers typically have I2C or SPI interfaces.
It is strongly advised to read through the list of tests and actions that can be done before contacting Embedded Artists. The different tests can help determine if there is a problem with the board, or not. For return policy, please read Embedded Artists’ General Terms and Conditions http://www.embeddedartists.com/shop/...
The current consumption shall increase compared to the previous test (in case an application is running). By default the LPC3250 OEM Board is pre-programmed with the S1L bootloader. The consumption for the bootloader is in the range 450-550mV (which corresponds to 90-110mA).
LPC3250 Developer’s Kit v2 - User’s Guide Page 66 8 Further Information The LPC3250 microcontroller is a complex circuit and there are a number of other documents with more information. The following documents are recommended as a complement to this document. [1] NXP LPC3250 Datasheet http://www.nxp.com/documents/data_sheet/LPC3220_30_40_50.pdf...
Need help?
Do you have a question about the LPC3250 and is the answer not in the manual?
Questions and answers