ARMwizard v3.1.0 freeware app for LPC2xxx, 17xx, 13xx, 11xx reg settings

The purpose of the application is to help set up the registers of the NXP LPC series microcontrollers using a graphical interface.

The application generates the initialization code with the selected settings, fully commented and including register values and interrupt functions, you just have to copy the code in a new project to have a starting point in a few minutes. The settings can also be saved and reloaded in a new session to save time when reusing the same configuration.

The settings include:

  • GPIO, select input/output direction or any alternative pin function using a convenient graphical interface. Select to enable the pull-up/down resistor/repeater for mcu that support this function (23xx, 24xx, 17xx), also configure the open drain mode for selected pins. A quick selector has all the functions in groups for faster access.
  • Interrupts, select from a list any of the available interrupt sources and add them to the selected interrupt vector, the interrupt functions will be created automatically.
  • External Interrupts , set the external interrupt options using combo boxes. A GPIO interrupt mode selector has also been added to enable interrupt for different edges (23xx, 24xx, 17xx) and a group interrupt for LPC13xx and LPC11Uxx modles.
  • A/D converter, set any aspect of the ADC (mode, channels, interrupts etc.) with explanation for every setting and see the calculated clock and sample rate without need for calculations. You can set the ADC clock divider by target frequency or sample rate.
  • Timers , set any aspect of 16/32 bit timers (mode, MAT, CAP, interrupts etc.) with explanation for every setting and automatic clock calculation. You can also set the prescaler value by target frequency or period.
  • PWM , set any aspect of the pulse width modulation (mode, MAT, CAP, interrupts etc.) with explanation for every setting and automatic clock calculation and PWM frequency. The PWMtimer prescaler and PWM frequency (MR0) can be set by target frequency or period
  • SPI/SSP , set any aspect of the SPI and SSP peripherals with explanation for every setting and automatic frequency calculation

Included models in this version

ARM7

  • LPC2101/02/03/04/05/06
  • LPC2131/32/34/36/38
  • LPC2141/42/44/46/48
  • LPC2361/62/64/65/66/67/68
  • LPC2377/78/87/88
  • LPC2420/58/60/68/70/78

CortexM0

  • LPC11Uxx (12/13/14/23/24/34/35/36/37) (NEW)
  • LPC11xx (11/12/13/14/15) (NEW)
  • LPC11Lxx (11/12/13/14/15) (NEW)
  • LPC11XLxx (11/12/13/14/15) (NEW)
  • LPC11Cxx (12/14/22/24) (NEW)
  • LPC11Exx (11/12/13/14) (NEW)
  • LPC11Uxx (12/13/14/23/24/34/35/36/37) (NEW)

CortexM3

  • LPC1311/13/42/43 (NEW)
  • LPC1315/16/17/45/46/47 (NEW)
  • LPC1751/52/54/58/58/59
  • LPC1763/64/65/66/67/68/69
  • LPC1774/76/77/78
  • LPC1785/86/87/88

I have also made a LPC11U24 mbed profile including an image with the board pinout which included only the available pins of the board.The Led pins (0.8, 0.9, 0.10, 0.11) are set as output only and the two UART pins (0.18, 0.19) connected internally to the USB uart emulator are inputs with only the uart alternative function available. I have also removed the OD, HYS, INV and pull up/down modes from these pins.

This is a sample of a code generate with the application http://mbed.org/users/alexan_e/programs/GPIO_interrupts/mahxk5. I have only added four line to control the LEDs (plus the extern for interupt handlers and mbed.h).

The project page is http://alexan.edaboard.eu

P.S. I have tested the application in PC-Linux using WINE, the application is fully functional and everything works correctly.

What is new in v3.1.0

• Fixed: The max operating frequency for the ADC peripheral in LPC175x/6x was 14MHz instead of 13MHz [nxp41306 in LPCware.com]

• Fixed: In the interrupt initalization of Cortex M0 the priority setting is now placed before enabling the interrupt.

• Fixed: The Interrupt priority comment was wrong, the priority level for CortexM0 is 0(highest) to 3(lowest).

• Added profile for mbed LPC11U24 board (LPC11U24_MBED) including an image with the board pinout.The Led pins (0.8, 0.9, 0.10, 0.11) are set as output only and the two UART pins (0.18, 0.19) connected internally to the USB uart emulator are inputs with only the uart alternative function available. I have also removed the OD, HYS, INV and pull up/down modes from these pins.

• Added profiles for LPC11xx_(33p)		LPC11xx33/101, LPC11xx33/201, LPC11xx33/301 (33 pin)
• Added profiles for LPC11xx_(48p)		LPC11xx48/101, LPC11xx48/201, LPC11xx48/301 (48 pin)
• Added profiles for LPC11Lxx_(33p)		LPC11xx33/102, LPC11xx33/202, LPC11xx33/302 (33 pin)
• Added profiles for LPC11Lxx_(48p)		LPC11xx48/102, LPC11xx48/202, LPC11xx48/302 (48 pin)
• Added profiles for LPC11XLxx_(33p)		LPC11xx33/103, LPC11xx33/203, LPC11xx33/303, LPC11xx33/323, LPC11xx33/333 (33 pin)	
• Added profiles for LPC11XLxx_(48p)		LPC11xx48/103, LPC11xx48/203, LPC11xx48/303, LPC11xx48/323, LPC11xx48/333 (48 pin)     	
• Added profiles for LPC11C12_14_(48p)		LPC11C12, LPC11C14 (48 pin)
• Added profiles for LPC11C22_24_(48p)		LPC11C22, LPC11C24 (48 pin)
• Added profiles for LPC11Exx_(33p)		LPC11E11, LPC11E14 (33 pin)
• Added profiles for LPC11Exx_(48p)		LPC11E12, LPC11E13, LPC11E14 (48 pin)
• Added profiles for LPC11Exx_(64p)		LPC11E14 (64 pin)


1 comment on ARMwizard v3.1.0 freeware app for LPC2xxx, 17xx, 13xx, 11xx reg settings:

24 Jul 2014

Dear Alexander,

Why is there not a setup for I2C?

Best regards,

Rob

Please log in to post comments.