LPC1343-HB DIP module USER MANUAL - bravekit.com manual LPC1343-HB... · LPC1343-HB DIP module 4...

11
LPC1343-HB DIP module USER MANUAL rev. A Website: www.bravekit.com

Transcript of LPC1343-HB DIP module USER MANUAL - bravekit.com manual LPC1343-HB... · LPC1343-HB DIP module 4...

Page 1: LPC1343-HB DIP module USER MANUAL - bravekit.com manual LPC1343-HB... · LPC1343-HB DIP module 4 LPC1343 processor features: ARM Cortex-M3 processor, running at frequencies of up

LPC1343-HB DIP module USER MANUAL

rev. A

Website: www.bravekit.com

Page 2: LPC1343-HB DIP module USER MANUAL - bravekit.com manual LPC1343-HB... · LPC1343-HB DIP module 4 LPC1343 processor features: ARM Cortex-M3 processor, running at frequencies of up

LPC1343-HB DIP module www.bravekit.com

2

Contents

Introduction .................................................................................................................................................. 3

Main features of LPC1343-HB module: ......................................................................................................... 3

LPC1343 processor features: ......................................................................................................................... 4

Block diagram of LPC1343 processor ............................................................................................................ 5

Memory map of LPC1343 processor ............................................................................................................. 6

SCHEMATIC.................................................................................................................................................... 7

LPC1334-HB module main parts ................................................................................................................... 8

Power supply connection .............................................................................................................................. 9

Working with external programmer ........................................................................................................... 10

How to load the firmware with USB bootloader ........................................................................................ 10

Dimensions of LPC1343-HB module ............................................................................................................ 11

Page 3: LPC1343-HB DIP module USER MANUAL - bravekit.com manual LPC1343-HB... · LPC1343-HB DIP module 4 LPC1343 processor features: ARM Cortex-M3 processor, running at frequencies of up

LPC1343-HB DIP module www.bravekit.com

3

Introduction

LPC1343-HB module designed for use in debugging and prototyping boards to create various prototypes

of devices based on Cortex-M3 LPC1343 microcontroller, or for training to work with these

microcontrollers, or as a ready-made solution in various embedded systems.

The module based on the LPC1343 microcontroller with Cortex-M3 core: operating frequency up to 72

MHz, 32kB FLASH, 8kB SRAM, UART RS-485, USB, SSP, I2C/Fast +, ADC. The great feature of this

microcontroller’s family is the built-in USB bootloader, which lets you load any firmware to the

microcontroller through the USB interface without an external programmer, which is especially important

for beginners

Main features of LPC1343-HB module:

MCU LPC1343FBD48, Cortex-M3

DIP form-factor allows module to be used in prototype boards for extending functionality

Standard mini-USB connector

Built-on USB bootloader lets you load any firmware to the microcontroller through the USB interface without an external programmer

3.3V/750mA on-board voltage regulator

Module can be powered from USB or from external power supply

Ability turn-off power from USB by SMD jumper JP1

RESET button

BOOT jumper for enabling USB bootloader

12MHz quartz crystal oscillator

4-pin connector for external SWD programmer (J-link, Ulink, CoLinkEx, etc.)

High quality PCB with solder mask and components marking

All pins of LPC1343 are connected to extension connectors

Size 56х19х19mm (2.2x0.75x0.75 inch)

Page 4: LPC1343-HB DIP module USER MANUAL - bravekit.com manual LPC1343-HB... · LPC1343-HB DIP module 4 LPC1343 processor features: ARM Cortex-M3 processor, running at frequencies of up

LPC1343-HB DIP module www.bravekit.com

4

LPC1343 processor features:

ARM Cortex-M3 processor, running at frequencies of up to 72 MHz.

ARM Cortex-M3 built-in Nested Vectored Interrupt Controller (NVIC).

32 kB on-chip flash programming memory.

8 kB SRAM.

In-System Programming (ISP) and In-Application Programming (IAP) via on-chip bootloader software.

USB boot-up

USB MSC and HID on-chip drivers.

Serial interfaces: o USB 2.0 full-speed device controller with on-chip PHY for device o UART with fractional baud rate generation, modem, internal FIFO, and RS-485/EIA-485

support. o SSP controller with FIFO and multi-protocol capabilities. o I2C-bus interface supporting full I2C-bus specification and Fast-mode Plus with a data

rate of 1 Mbit/s with multiple address recognition and monitor mode.

Other peripherals: o Up to 42 General Purpose I/O (GPIO) pins with configurable pull-up/pull-down resistors. o Four general purpose counter/timers with a total of four capture inputs and 13 match

outputs. o Programmable WatchDog Timer (WDT). o System tick timer.

Serial Wire Debug and Serial Wire Trace port.

High-current output driver (20 mA) on one pin.

High-current sink drivers (20 mA) on two I2C-bus pins in Fast-mode Plus.

Integrated PMU (Power Management Unit) to minimize power consumption during Sleep, Deep-sleep, and Deep power-down modes.

Three reduced power modes: Sleep, Deep-sleep, and Deep power-down.

Single power supply (2.0 V to 3.6 V).

10-bit ADC with input multiplexing among 8 pins.

GPIO pins can be used as edge and level sensitive interrupt sources.

Clock output function with divider that can reflect the system oscillator clock, IRC clock, CPU clock, or the watchdog clock.

Processor wake-up from Deep-sleep mode via a dedicated start logic using up to 40 of the functional pins.

Brownout detect with four separate thresholds for interrupt and one threshold for forced reset

Power-On Reset (POR).

Integrated oscillator with an operating range of 1 MHz to 25 MHz.

12 MHz internal RC oscillator trimmed to 1 % accuracy over the entire temperature and voltage range that can optionally be used as a system clock.

Programmable watchdog oscillator with a frequency range of 7.8 kHz to 1.8 MHz.

System PLL allows CPU operation up to the maximum CPU rate without the need for a high-frequency crystal. May be run from the system oscillator or the internal RC oscillator.

For USB a second, dedicated PLL is provided.

Code Read Protection (CRP) with different security levels.

Unique device serial number for identification.

Page 5: LPC1343-HB DIP module USER MANUAL - bravekit.com manual LPC1343-HB... · LPC1343-HB DIP module 4 LPC1343 processor features: ARM Cortex-M3 processor, running at frequencies of up

LPC1343-HB DIP module www.bravekit.com

5

Block diagram of LPC1343 processor

.

Page 6: LPC1343-HB DIP module USER MANUAL - bravekit.com manual LPC1343-HB... · LPC1343-HB DIP module 4 LPC1343 processor features: ARM Cortex-M3 processor, running at frequencies of up

LPC1343-HB DIP module www.bravekit.com

6

Memory map of LPC1343 processor

Page 7: LPC1343-HB DIP module USER MANUAL - bravekit.com manual LPC1343-HB... · LPC1343-HB DIP module 4 LPC1343 processor features: ARM Cortex-M3 processor, running at frequencies of up

LPC1343-HB DIP module www.bravekit.com

7

SCHEMATIC

Page 8: LPC1343-HB DIP module USER MANUAL - bravekit.com manual LPC1343-HB... · LPC1343-HB DIP module 4 LPC1343 processor features: ARM Cortex-M3 processor, running at frequencies of up

LPC1343-HB DIP module www.bravekit.com

8

LPC1334-HB module main parts

USB connector

LPC1343

microcontroller

Quartz crystal Q1

RESET button

BOOT jumper

(enabling USB

bootloader)

SWD connector

XS1

Voltage regulator

DA1 (3.3V/750mA)

JP1 jumper - power

module from USB

EXT1 connector EXT2 connector

Page 9: LPC1343-HB DIP module USER MANUAL - bravekit.com manual LPC1343-HB... · LPC1343-HB DIP module 4 LPC1343 processor features: ARM Cortex-M3 processor, running at frequencies of up

LPC1343-HB DIP module www.bravekit.com

9

Power supply connection

LPC1343-HB module have a few power supply options:

1. Power supply from USB port. You must close JP1 jumper – in this case 5V from USB port

connected to on-board voltage regulator DA1. Thus, module powered with 3.3V voltage.

2. Power supply from external programmer. If you use external SWD programmer for working with

LPC1343-HB module, you can power module from this programmer (if programmer have this

option) – see “Working with external programmer”. JP1 must be in open position

3. External power supply. LPC1343 microcontroller can works in 2.0-3.6V voltage range. Thus,

external power supply must be in this range. Schematic of power supply connection see below.

JP1 must be in open position

2.0 - 3.6V

GND

Page 10: LPC1343-HB DIP module USER MANUAL - bravekit.com manual LPC1343-HB... · LPC1343-HB DIP module 4 LPC1343 processor features: ARM Cortex-M3 processor, running at frequencies of up

LPC1343-HB DIP module www.bravekit.com

10

Working with external programmer

LPC1343-HB have connector for external SWD programmer (Serial-Wire-Debug). This can be -link, Ulink,

CoLinkEx, etc.

Pinout of this connector shown on picture below

VCC SWDIO SWCLK GND

Pins description:

VCC – power supply for LPC1343-HB module (2.0-3.6V range)

SWDIO – data input/output

SWCLK – clock

GND – power supply ground

How to load the firmware with USB bootloader

Short-circuit JP1 for enabling power supply for module from USB

Install “BOOT” jumper for enabling USB bootloader

Connect LPC1343-HB module to USB

Wait for the PC enumerates the removable disk whose label is "CRP2 ENABLD" or "CRP DISABLD". If it does not, you could press the reset button (RESET) for several times or power on again.

Delete the “firmware.bin” file in removable disk.

Copy the prepared firmware in “*.bin” format into the removable disk.

Remove “BOOT” jumper, then press RESET button or power on again. Now your LPC1343 module

loaded with new firmware

Page 11: LPC1343-HB DIP module USER MANUAL - bravekit.com manual LPC1343-HB... · LPC1343-HB DIP module 4 LPC1343 processor features: ARM Cortex-M3 processor, running at frequencies of up

LPC1343-HB DIP module www.bravekit.com

11

56mm

15

,24m

m

2,54mm

19m

m

Dimensions of LPC1343-HB module