======n-PRO-10====== ~~CLOSETOC~~ //**n-PRO-10**// {{n-pro-10-09.jpg}} LPC1769 full breakout in n-PRO modular form factor | License | GPL 2.0 | | Status | Tested | | Buy at: | | | Categories | | | Hardware repo | [[https://bitbucket.org/nimbus_it/pcba-n-pro-10|Bitbucket]] | | Firmware repo | | n-PRO-10 is an mbed-enabled ARM Cortex M3 LPC1769 development board from the n-Blocks family designed for rapid prototyping, in the [[nblocks:proformfactor|n-Blocks PRO form factor]]. {{:nblocks:n-pro-10-01.jpg?300|}} =====Overview===== [[nblocks:n-ble|n-PRO-10]] board features NXP's LPC1769 microcontroller and is designed to quickly get started with the ARM Cortex-M3.The board allow engineers to develop their applications from initial prototype to final production. n-PRO-10 development board is compatible with various toolchains used in the industry. The board includes an onboard, CMSIS-DAP compatible debug probe as well as a connector for use with 3rd party debug probes. \\ \\ ===== MCU Features ==== * Arm® Cortex-M3 processor, running at frequencies of up to 120 MHz * Arm Cortex-M3 built-in Nested Vectored Interrupt Controller (NVIC) * Up to 512 kB on-chip flash memory * Up to 64 kB On-chip SRAM * In-System Programming (ISP) and In-Application Programming (IAP) * 8 channel General Purpose DMA controller (GPDMA) * Ethernet MAC with RMII interface and dedicated DMA controller * USB 2.0 full-speed device/Host/OTG controller * 4 UARTs with fractional baud rate generation, internal FIFO, and DMA support * CAN 2.0B controller with two channels * SPI controller with synchronous, serial, full duplex communication * 2 × SSP controllers with FIFO and multi-protocol capabilities * 3 × I2C bus interfaces, I2S (Inter-IC Sound) interface * 70 × GPIOs with configurable pull-up/down resistors * 12-bit/8-ch Analog/Digital Converter (ADC) with conversion rates up to 200 kHz * 10-bit Digital/Analog Converter (DAC) with dedicated conversion timer and DMA * 4 × general purpose timers/counters * Motor control PWM with support for three-phase motor control * Quadrature encoder interface that can monitor one external quadrature encoder * PWM/timer block with external count input * Low power RTC with a separate power domain and dedicated oscillator * WatchDog Timer (WDT) * Arm Cortex-M3 system tick timer, including an external clock input option * Repetitive interrupt timer provides programmable and repeating timed interrupts * Standard JTAG test/debug interface for compatibility with existing tools * 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 * Wake-up Interrupt Controller (WIC) * 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 * 4 MHz internal RC oscillator trimmed to 1 % accuracy * Code Read Protection (CRP) with different security levels * Unique device serial number for identification purposes \\ \\ =====n-PRO-10 Features===== * Standard form-factor * Drag-and-drop programming, with the board represented as a USB drive * 100 MHz ARM with 64 KB of SRAM, 512 KB of Flash * Ethernet, USB OTG, SPI, I2C, UART, CAN, GPIO, PWM, ADC, DAC * Mbed compatibile * Web-based C/C++ programming environment * API-driven development using libraries with intuitive interfaces \\ =====Board Pinout===== n-PRO-10 is a **HOST** board with four Hirose DF30-series 60-pin low profile connectors at bottom side, following the [[nblocks:nproformfactor|n-Blocks PRO form factor]].\\ {{:nblocks:n-pro-10-02.jpg?300|}} {{:nblocks:n-pro-10-nbusa.jpg|}} \\ {{:nblocks:n-pro-10-nbusb.jpg|}} \\ {{:nblocks:n-pro-10-nbusc.jpg|}} \\ {{:nblocks:n-pro-10-nbusd.jpg|}} \\ \\ ===== Getting started===== * Connect the board to the battery or power supply. * Press the reset button, green LED will indicate that you have power connected. * Select target on mbed online compiler * Create a blinky program like below. Compile and it will get downloaded. #include "mbed.h" DigitalOut led1(P1_18); // main() runs in its own thread in the OS int main() { while (true) { led1 = !led1; wait(0.05); } } *Connect the board to j-link. {{:nblocks:n-pro-10-p1.jpg?400|}} * Open J-Flash Lite, select the device. {{:nblocks:n-pro-10-p0.jpg?600|}} * Select the bin file downloaded from mbed compiler. {{:nblocks:n-pro-10-p2.jpg?600|}} * Click on Program device {{:nblocks:n-pro-10-p3.jpg?400|}} * Press RESET, and the board will now be running your code. ==USB Serial Port== * To use the debug serial port out of the LPC1769 to emulate a serial port over USB see example [[https://developer.mbed.org/handbook/USBSerial|here.]] \\ \\ =====References===== * [[https://www.nxp.com/docs/en/data-sheet/LPC1769_68_67_66_65_64_63.pdf|LPC1769 Datasheet]] * https://os.mbed.com/handbook/mbed-NXP-LPC1768-Getting-Started * https://www.embeddedartists.com/products/lpc1769-lpcxpresso/ =====Related articles in this Wiki===== *[[nblocks:n-ble|n-PRO-10]] {{tag> RF CPU nblock BLE nsensorRF}}