n-PRO-00
License | GPL 2.0 |
Status | Tested |
Buy at: | |
Categories | |
Hardware repo | Bitbucket |
Firmware repo | |
n-PRO-00 is an easy to use ARM Cortex-M0 rapid prototyping board targeting relatively less complicated control applications and power efficient applications. The form factor of n-Blocks PRO makes it perfectly suitable for seamless integration.
Overview
n-PRO-00 features LPC11U35 microcontroller from NXP. Since no cables are required, it is easy to use and can be used for rapid prototyping and proof of concept related applications. It contains a Cortex-M0 core that can operate at frequencies up to 50 MHz. The external 12 Mhz crystal provides standard serial bit rates and maximum execution speed. LPC11U35 has an on-chip ROM with In-System Programming capability which supports UART and USB flash programming. The flash API implements a simple interface to the on-board flash programming functionality and allows entry to ISP mode at any time. There is no need to write the drivers for basic interface of Human Interface Devices (HID) and Mass storage Class (MSC) devices in case of USB API development environment.
MCU Features
Arm® Cortex-M0 processor, running at frequencies of up to 50
MHz
Arm Cortex-M0 built-in Nested Vectored Interrupt Controller (NVIC)
Up to 128 kB on-chip flash memory, 4 kB on-chip EEPROM data memory
Up to 12 kB SRAM data memory, 16 kB boot ROM
In-System Programming (ISP) and In-Application Programming (IAP)
USB 2.0 full-speed device controller
USARTs with fractional baud rate generation, internal FIFO, and RS-485/9 support
2 × SSP controllers with FIFO and multi-protocol capabilities
I2C bus interface
I/O Handler for hardware emulation of serial interfaces and DMA
54 × GPIOs with configurable pull-up/down resistors
High-current source output driver (20 mA) on one pin
High-current sink driver (20 mA) on true open-drain pins
10-bit ADC with input multiplexing among eight pins
4 × general purpose timers/counters
Standard JTAG (Joint Test Action Group) test interface for BSDL
Serial Wire Debug
Integrated PMU (Power Management Unit)
4 reduced power modes: Sleep, Deep-sleep, Power-down, and Deep power-down
Single 3.3 V power supply (2.4 V to 3.6 V)
4 × external interrupt inputs configurable as edge/level sensitive
Non-maskable Interrupt (NMI) input
Processor wake-up from Power-down mode via any interrupt
Brownout detect with separate threshold for interrupt and forced reset
Power-On Reset (POR)
Crystal oscillator with an operating range of 1
MHz to 25
MHz
12
MHz internal RC oscillator, can be used as a system clock
Unique device serial number for identification purposes
n-PRO-00 Features
Prototyping form-factor
5V USB or 4.5-5.5V supply
Built-in USB drag 'n' drop FLASH programmer
Reset and Bootloader enable push-buttons
Mbed compatibility
Cortex debug interface connector
On-Chip Bootloader- In-System programming (ISP) and In-application programming (IAP)
ROM-based USB drivers - Flash updates via USB supported
Board Pinout
n-PRO-00 is a HOST board with two Hirose DF30-series 60-pin low profile connectors at bottom side, following the n-Blocks PRO form factor.
Getting started
Blinky with mbed compiler
With a USB cable connected, hold down the BL button and press RESET
You should see the green USB light come on, at which point you can release the BL button
After a few seconds a mass storage device named CRP_DISABLED will show up on your computer
On it will be a single 64KB file, firmware.bin, that represents the contents of the flash
#include "mbed.h"
DigitalOut led1(P0_20);
// main() runs in its own thread in the OS
int main() {
while (true) {
led1 = !led1;
wait(0.05);
}
}
Delete the existing firmware.bin file, and replace it with the .bin file you downloaded from the mbed compiler.
Press RESET again, and the board will now be running your code.
USB Serial Port
To use the debug serial port of the LPC11U35 to emulate a serial port over USB see the example
here.
The 10-pin JTAG connector available on board, is to program a target ARM-Cortex board (Not the n-PRO-00 LPC11U35 Microcontroller).
To be able to use the n-PRO-00 as programming tool we first need to program it with one of the binaries below:
Once the CMSIS-DAP firmware is programmed to n-PRO-00 LPC11U35 Flash memory, it appears as a USB disk.
Now we are ready to drag n drop the binary for the target board to the USB disk.
LPC1768/LPC812
LPC1114FN28
nRF51822
NXP K64F
CMSIS-DAP Interface Firmware
References
Related articles in this Wiki