======n-PRO-00====== ~~CLOSETOC~~ //**n-PRO-00**// {{:nblocks:n-pro-00-09.jpg}} n-PRO-00 | License | GPL 2.0 | | Status | Tested | | Buy at: | | | Categories | | | Hardware repo | [[https://bitbucket.org/nimbus_it/pcba-n-pro-00|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 [[nblocks:|n-Blocks PRO]] makes it perfectly suitable for seamless integration. {{:nblocks:n-pro-00-01.jpg?400|}} ===== Overview===== [[nblocks:n-PRO-00|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 [[nblocks:nproformfactor|n-Blocks PRO form factor]].\\ {{:nblocks:n-pro-00-02.jpg?400|}} \\ {{:nblocks:n-pro-00-nbusa.jpg|}} \\ {{:nblocks:n-pro-00-nbusb.jpg|}} \\ \\ ===== 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 {{:nblocks:n-pro-00-04.png?400|}} * Select target on mbed online compiler * Create a blinky program like below #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 [[https://developer.mbed.org/handbook/USBSerial|here.]] ===Using n-PRO-00 as drag n drop programming tool=== The 10-pin JTAG connector available on board, is to program a target ARM-Cortex board (Not the n-PRO-00 LPC11U35 Microcontroller). \\ \\ {{:nblocks:n-pro-00-prog01.jpg?600|}} \\ 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== *[[https://developer.mbed.org/users/chalikias/code/mbed-HDK/| LPC11U35-Firmware for communicating with LPC1768]] (Does not create virtual serial port) *[[https://os.mbed.com/platforms/SWDAP-LPC11U35/ |SWDAP-LPC11U35 NXP LPC1768 PREBUILD IMAGE]] (Creates a virtual serial port) ==LPC1114FN28== *[[https://developer.mbed.org/teams/Switch-Science/wiki/Firmware-LPC1114FN28| Firmware LPC1114FN28]] (Firmware to use n-DAP with the non-SMD LPC1114FN28 DIP-28) ==nRF51822== *[[http://www.seeedstudio.com/wiki/Arch_BLE| Seeed studio wiki Arch BLE]] *[[http://www.seeedstudio.com/wiki/File:Lpc11u35_nrf51822_if_mbed.bin.zip| Seeed studio wiki File:Lpc11u35 nrf51822 if mbed.bin.zip]] *[[https://os.mbed.com/platforms/Y5-LPC11U35-MBUG/#bootloader-for-ble-mbug |Bootloader for BLE mbug]] ==NXP K64F== *[[https://os.mbed.com/platforms/SWDAP-LPC11U35/NXP K64F]] *[[https://os.mbed.com/media/uploads/chris/lpc11u35_swdap_k64f_if_crc.bin bin]] ==CMSIS-DAP Interface Firmware== * [[https://docs.mbed.com/docs/handbook/en/latest/CMSIS/Interface_Firmware/ |CMSIS-DAP Interface Firmware]] \\ =====References===== * [[https://www.nxp.com/docs/en/data-sheet/LPC11U3X.pdf|LPC11U35 Datasheet]] * https://os.mbed.com/platforms/EA-LPC11U35/ * https://www.embeddedartists.com/products/lpc11u35-quickstart/ =====Related articles in this Wiki===== *[[ ]] {{tag> RF CPU nblock BLE nsensorRF}}