TOP LPC111x NXP LPC11U35



Memory Map

AddressFeature
0x0000 0000-0x0000 00C0active interrupt vector
0x0000 0000-0x0000 800032KB Flash
0x1000 0000-0x1000 08004KB SRAM
0x1FFF 0000-0x1FFF 4000boot ROM
0x4000 0000-0x4008 0000APB Peripherals
0x5000 0000-0x5020 0000AHB Peripherals
0xE000 0000-0xE010 0000private peripheral bus

#top

active interrupt vector

APB Peripherals

00x4000 0000I2C-bus
10x4000 4000WDT
20x4000 8000UART
30x4000 C00016 bit counter/timer 0
40x4001 000016 bit counter/timer 1
50x4001 400032 bit counter/timer 0
60x4001 800032 bit counter/timer 1
70x4001 C000ADC
140x4003 8000PMU
150x4003 C000Flash Control
160x4004 0000SPI0
170x4004 4000IOCONFIG
180x4004 8000system control

#top




PMU 0x4003 8000

NameAccessAddress offsetDescriptionReset value
PCONR/W0x000Power control register0x0
GPREG0R/W0x004General purpose register 00x0
GPREG1R/W0x008General purpose register 10x0
GPREG2R/W0x00CGeneral purpose register 20x0
GPREG3R/W0x010General purpose register 30x0
GPREG4R/W0x014General purpose register 40x0

#top #apb

IOCONFIG 0x4004 4000

NameAccessAddress offsetBit 0:1 Func Descriptionbit 2:32Reset value
00011011
IOCON_RESET_PIO0_0R/W0x00CRESETPIO0_0#mho0xD0
IOCON_PIO0_1R/W0x010PIO0_1CLKOUTCT32B0
_MAT2
#mho0xD0
IOCON_PIO1_8R/W0x014PIO1_8CT16B1
_CAP0
#mho0xD0
IOCON_PIO0_2R/W0x01CPIO0_2SSEL0CT16B0
_CAP0
#mho0xD0
IOCON_PIO0_3R/W0x02CPIO0_3#mho0xD0
IOCON_PIO0_4R/W0x030PIO0_4SCL#icm0x00
IOCON_PIO0_5R/W0x034PIO0_5SDA#icm0x00
IOCON_PIO1_9R/W0x038PIO1_9CT16B1
_MAT0
#mho0xD0
IOCON_PIO0_6R/W0x04CPIO0_6SCK0 !!#mho0xD0
IOCON_PIO0_7R/W0x050PIO0_7CTS#mho0xD0
IOCON_PIO0_8R/W0x060PIO0_8MISO0CT16B0
_MAT0
#mho0xD0
IOCON_PIO0_9R/W0x064PIO0_9MOSI0CT16B0
_MAT1
#mho0xD0
IOCON_SWCLK_PIO0_10R/W0x068SWCLKPIO0_10SCK0!!!CT16B0
_MAT2
#mho0xD0
IOCON_PIO1_10R/W0x06CPIO1_10AD6CT16B1
_MAT1
#mhao0xD0
IOCON_R_PIO0_11R/W0x074RPIO0_11AD0CT32B0
_MAT3
#mhao0xD0
IOCON_R_PIO1_0R/W0x078RPIO1_0AD1CT32B1
_CAP0
#mhao0xD0
IOCON_R_PIO1_1R/W0x07CRPIO1_1AD2CT32B1
_MAT0
#mhao0xD0
IOCON_R_PIO1_2R/W0x080RPIO1_2AD3CT32B1
_MAT1
#mhao0xD0
IOCON_SWDIO_PIO1_3R/W0x090SWDIOPIO1_3AD4CT32B1
_MAT2
#mhao0xD0
IOCON_PIO1_4R/W0x094PIO1_4AD5CT32B1
_MAT3
#mhao0xD0
IOCON_PIO1_11R/W0x098PIO1_11AD7#mhao0xD0
IOCON_PIO1_5R/W0x0A0PIO1_5RTSCT32B0
_CAP0
#mho0xD0
IOCON_PIO1_6R/W0x0A4PIO1_6RXDCT32B0
_MAT0
#mho0xD0
IOCON_PIO1_7R/W0x0A8PIO1_7TXDCT32B0
_MAT1
#mho0xD0
IOCON_SCK_LOCR/W0x0B0SCK pin location select register0x00
IOCON_DSR_LOCR/W0x0B4DSR pin location select register0x00
IOCON_DCD_LOCR/W0x0B8DCD pin location select register0x00
IOCON_RI_LOCR/W0x0BCRI pin location register0x00

#top #apb

Bit2:31 type1
BitSymbolValueDescriptionReset value
2:0FUNCSelects pin function. see above #ioconfig
4:3MODESelects function mode (on-chip pull-up/pull-down resistor control).10
0x0Inactive (no pull-down/pull-up resistor enabled).
0x1Pull-down resistor enabled.
0x2Pull-up resistor enabled.
0x3Repeater mode.
5HYSHysteresis.0
0Disable.
1Enable.
9:6--Reserved0011
10ODSelects pseudo open-drain mode.0
0Standard GPIO output
1Open-drain output
31:11--Reserved
  • The open-drain mode is not available for the LPC111x/101/201/301 parts.
#top #apb #ioconfig

Bit2:31 type2 with AD
BitSymbolValueDescriptionReset value
2:0FUNCSelects pin function.see above #ioconfig
4:3MODESelects function mode (on-chip pull-up/pull-down resistor control).10
0x0Inactive (no pull-down/pull-up resistor enabled).
0x1Pull-down resistor enabled.
0x2Pull-up resistor enabled.
0x3Repeater mode.
5HYSHysteresis.0
0Disable.
1Enable.
6--Reserved1
7ADMODESelects Analog/Digital mode1
0Analog input mode
1Digital functional mode
9:8--Reserved00
10ODSelects pseudo open-drain mode.0
0Standard GPIO output
1Open-drain output
31:11--Reserved
  • The open-drain mode is not available for the LPC111x/101/201/301 parts.
#top #apb #ioconfig

I2C Mode
BitSymbolValueDescriptionReset value
2:0FUNCSelects pin function.
7:3-Reserved.00000
9:8I2CMODESelects I2C mode. Select Standard mode (I2CMODE = 00,default) or Standard I/O functionality (I2CMODE = 01) if the pin function is GPIO (FUNC = 000).00
0x0Standard mode/ Fast-mode I2C.
0x1Standard I/O functionality
0x2Fast-mode Plus I2C
0x3Reserved.
31:10--Reserved.-
#top #apb #ioconfig


IOCON_SCK_LOC
BitSymbolValueDescriptionReset value
1:0SCKLOCSelects pin location for SCK0 function.00
0x0Selects SCK0 function in pin location SWCLK/PIO0_10/SCK0/CT16B0_MAT2
0x1Selects SCK0 function in pin location PIO2_11/SCK0
0x2Selects SCK0 function in pin location PIO0_6/SCK0
0x3Reserved.
31:2--Reserved.
#top #apb #ioconfig

IOCON_DSR_LOC
BitSymbolValueDescriptionReset value
1:0DSRLOCSelects pin location for DSR function.00
0x0Selects DSR function in pin location PIO2_1/DSR/SCK1.
0x1Selects DSR function in pin location PIO3_1/DSR.
0x2Reserved.
0x3Reserved.
31:2--Reserved.
#top #apb #ioconfig
IOCON_DCD_LOC
BitSymbolValueDescriptionReset value
1:0DCDLOCSelects pin location for DCD function.00
0x0Selects DCD function in pin location PIO2_2/DCD/MISO1.
0x1Selects DCD function in pin location PIO3_2/DCD.
0x2Reserved.
0x3Reserved.
31:2--Reserved.
#top #apb #ioconfig

IOCON_RI_LOC
BitSymbolValueDescriptionReset value
1:0RILOCSelects pin location for RI function.00
0x0Selects RI function in pin location PIO2_3/RI/MOSI1.
0x1Selects RI function in pin location PIO3_3/RI.
0x2Reserved.
0x3Reserved.
31:2--Reserved.-
#top #apb #ioconfig

System Control Block

NameAccessAddress offsetDescriptionReset
SYSMEMREMAPR/W0x000System memory remap0x002
PRESETCTRLR/W0x004Peripheral reset control0x000
SYSPLLCTRLR/W0x008System PLL control0x000
SYSPLLSTATR0x00CSystem PLL status0x000
SYSOSCCTRLR/W0x020System oscillator control0x000
WDTOSCCTRLR/W0x024Watchdog oscillator control0x000
IRCCTRLR/W0x028IRC control0x080
SYSRSTSTATR/W0x030System reset status register0x000
SYSPLLCLKSELR/W0x040System PLL clock source select0x000
SYSPLLCLKUENR/W0x044System PLL clock source update enable0x000
MAINCLKSELR/W0x070Main clock source select0x000
MAINCLKUENR/W0x074Main clock source update enable0x000
SYSAHBCLKDIVR/W0x078System AHB clock divider0x001
SYSAHBCLKCTRLR/W0x080System AHB clock control0x85F
SSP0CLKDIVR/W0x094SPI0 clock divider0x000
UARTCLKDIVR/W0x098UART clock divider0x000
SSP1CLKDIVR/W0x09CSPI1 clock divider0x000
WDTCLKSELR/W0x0D0WDT clock source select0x000
WDTCLKUENR/W0x0D4WDT clock source update enable0x000
WDTCLKDIVR/W0x0D8WDT clock divider0x000
CLKOUTCLKSELR/W0x0E0CLKOUT clock source select0x000
CLKOUTUENR/W0x0E4CLKOUT clock source update enable0x000
CLKOUTCLKDIVR/W0x0E8CLKOUT clock divider0x000
PIOPORCAP0R0x100POR captured PIO status 0user dependent
PIOPORCAP1R0x104POR captured PIO status 1user dependent
BODCTRLR/W0x150BOD control0x000
SYSTCKCALR/W0x154System tick counter calibration0x004
IRQLATENCYR/W0x170IQR delay. Allows trade-off between interrupt latency and determinism.0x10
NMISRCR/W0x174NMI source selection0x000
STARTAPRP0R/W0x200Start logic edge control register0
STARTERP0R/W0x204Start logic signal enable register0
STARTRSRP0CLRW0x208Start logic reset register 0n/a
STARTSRP0R0x20CStart logic status register 0n/a
PDSLEEPCFGR/W0x230Power-down states in Deep-sleep mode0x0000 0000
PDAWAKECFGR/W0x234Power-down states after wake-up from Deep-sleep mode0x0000 EDF0
PDRUNCFGR/W0x238Power-down configuration register0x0000 EDF0
DEVICE_IDR0x3F4Device ID register 0 for parts LPC1100, LPC1100C, LPC1100L.part dependent

#top #scb #apb



System memory remap 0x4004 8000
BitSymbolValueDescriptionReset value
1:0MAPSystem memory remap10
0x0Boot Loader Mode. Interrupt vectors are re-mapped to Boot ROM.
0x1User RAM Mode. Interrupt vectors are re-mapped to Static RAM.
0x2User Flash Mode. Interrupt vectors are not re-mapped and reside in Flash.
31:2--Reserved0x00
#top #scb #apb


AHB Peripherals

0-30x5000 0000GPIO PIO0
4-70x5001 0000GPIO PIO1
#top

lpc21isp

そのままではLPC1114FNがデバイスリストに登録されていない
lpcprog.cの116行目(LPCtypes配列の要素中)に次の一行を追加。
{ 0x1A40902B, "1114FN.../102", 32, 4, 8, 1024, SectorTable_17xx, CHIP_VARIANT_LPC11XX },

===> lpc21isp-1.94 は追加されていた。

管理人/副管理人のみ編集できます