Home

Quick Start Guide

image

Contents

1. SDRAM initialized HRHKHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHH HHH HHI m Auto detect 9600 8 N 1 Fig 21 Once the hardware initialization is completed menu will be displayed as shown in the following image File Edt View Call Transfer Help SDRAM initialized FE FE FE FE FE FE FE FE 3 FE FE FE FE FE FE FE FE FE FE FE FE FE FE FE FE FE FE PE HE HE FE FE HE FE FE HE HE FE FE FE FE FE FE HE FE FE FE HE PE FE TE FE HE HE HE HE HE JE HE JE JE xxxi NGK Technologies LPC1856 Kplorer Peripheral test Menu 1 Blinky Test Uart Test Uart1 Test Uart2 Test Uart3 Test Ethernet Test Sdio Test SDRAM Test 9 Rtc Test Enter Key Menu udio loop back test is interrupt base the given auido input will loop DE FE FE FE FE FE FE FE FE FE FE FE FE FE FE FE FE FE FE FE FE FE FE FE PE FE HE FE FE FE FE FE HE HE FE FE FE FE HE FE HE FE FE FE FE PE FE TE FE FE FE HE HE FE HE HE HE FE HE EE HE 3 HE HEI Enter option m Connected 00 01 47 Auto detect 9600 8 N 1 Fig 22 20 www ngxtechnologies com Quick Start Guide LPC185x Xplorer 3 3 3 Test LEDs Test setup and verification To test LEDs enter option 1 the LED4 and LEDS on board starts blinking File Edit View Call Transfer Help Dg 2 5 aD E DE FE FE FE FE FE FE TE HE FE FE cocco HH HHH HHH HHH HHH HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HH HHI A NGK Technologies
2. One Fast mode Plus I2C bus interface with monitor mode and with open drain I Opins conforming to the full I2C bus specification Supports data rates of up tol Mbit s One standard I2C bus interface with monitor mode and standard I O pins Two I2S interfaces with DMA support each with one input and one output peripherals External Memory Controller EMC supporting external SRAM ROM NOR flash and SDRAM devices LCD controller with DMA support and a programmable display resolution of up to1024Hx 768V Supports monochrome and color STN panels and TFT color panels supports 1 2 4 8 bpp Color Look Up Table CLUT and 16 24 bit direct pixel mapping SD MMC card interface Eight channel General Purpose DMA GPDMA controller can access all memories on the AHB and all DMA capable AHB slaves Up to 164 General Purpose Input Output GPIO pins with configurable pull up pull down resistors GPIO registers are located on the AHB for fast access GPIO ports have DMA support Up to 8 GPIO pins can be selected from all GPIO pins as edge and level sensitive interrupt sources Two GPIO group interrupt modules enable an interrupt based on a programmable pattern of input states of a group of GPIO pins Four general purpose timer counters with capture and match capabilities One motor control PWM for three phase motor control One Quadrature Encoder Interface QET Repetitive Interrupt timer RI timer Windowed watchdog timer Ultra low power R
3. X PC1850 Kplorer Peripheral test Menu Blinky Test Uart Test Uartl Test Uart2 Test Uart3 Test Ethernet Test Sdio Test SDRAM Test Rtc Test Enter Key Menu fudio loop back test is interrupt base the given auido input will DE TE FE 3 3 3 X x 3 3 3 3 3t 3 JE JE JE 3 3 JEJE JEJE JE JE JE JE JE JEJE JEJE JEJE JEJE JE JE JE EEE nter option ILED4 and LEDS toggling nter option 4 I Connected 00 03 13 Auto detect 96008 N 1 3 3 4 Micro SD connector Test setup and verification To test SDIO enter option 7 the firmware validates the micro SD card interface by writing and reading a sector of the SD card connected Please note that we need to use a micro SD card with FAT file system The result of this test 1s displayed over the VCOM port 2 QS cisco oy File Edit View Call Transfer Help n e 5 ao E3 ES Uart2 Test Uart3 Test Ethernet Test Sdio Test SDRAM Test Rtc Test Enter Key Menu fudio loop back test is interrupt base the given auido input will FETE JE E E JE E JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE JE E JE JE JE JE E JE JE E JE HHH HI OD Lon Sdio Test Writing i to sector 1 and verifying Verified Writing data in Hultitransfer mode and t
4. It is highly recommended that you verify the board before you start programming Also this exercise helps you get acclimatized with the board quickly To run the tests you will need the following e LPC185X Xplorer Power USB cable or external power supply Alternatively the LPC185x Xplorer has a 5V in pin available for powering through external power source PC With Windows7 or XP 32 bit or 64 bit One USB AM to Micro B cable Micro SD card 2 GB USB pen drive Audio out Auxiliary cable 3 5mm diameter connector 3 1 Board Image with pointers to the peripherals I a USB ENT RJ45 Connector USB host switch 10 pin debug port Ethernet PHY LPC185x Controller Boot loader switch Quad flash 32MB SDRAM Audio Codec Reset switch User switch USB 1 E Audio out SD card slot behind Fig 8 11 www ngxtechnologies com Quick Start Guide LPC185x Xplorer TECHNOLOGIES 3 2 Powering the Board The LPC185X Xplorer can be powered through USBI It is highly recommended that the user tests all the peripherals as soon as the board is received A regulated supply can be supplied to the 5V pin on the LPC185X Xplorer header Note The USB power can source only up to 500 mA of current For applications having higher current requirements we recommend to use an external power supply Please note that the external power supply is not a part of standard delivery 3 3 Verifying
5. all the peripherals on LPC185X Xplorer The following section focuses on the verification of all the peripherals supported on theLPC185X Xplorer The order of the tests is mentioned in the same manner as the flow of the test firmware We highly recommend that you follow the order of the test The test firmware is designed in a manner that the user needs to spend as minimum time as possible to verify all the on board peripherals The test firmware executable resides on the Quad Flash The BOOT select switch 1s configured to execute from the Quad Flash interface Note The test firmware Debug Messages or flow might be changed in due course Generally these are only cosmetic changes so that the usage is easier If you observe a different message than the one mentioned in the Manual do not worry and please proceed with the test Important Note The user needs to press the RESET switch to be able to reset the controller However for the power up reset USB power cycle the controller boots up fine Power up the board over USBI port and we are all set to verify the LPC185X Xplorer peripherals Before we get to the verification we need to install the Virtual COM port drivers needed for the LPC185X Xplorer USB1 port to appear as a Virtual COM port Used for viewing the debug messages on serial emulation tool Fortunately this is a one time setup and fairly simple On a Windows machine the user needs to point to the location of the INF file D
6. flash 32MB SDRAM On board crystals for controller RTC and audio codec On board Ethernet PHY 25 MHz Crystal and RJ45 connector with magnetics On board audio codec and audio jacks On board USB host port On board RS232 level On board USB port 10 pin cortex debug header Unused I Os brought to a header www ngxtechnologies com PORT GND GPIO 24 GPIO2 25 GND GPIO6 12 GP106 13 GND GPIO 8 GPIO4 9 GND GPIO7 17 GPIO 7 18 GND R5232 TX RS232 RXl GND R5232 TX R5232 RX GND CGU OUTO CGU OUT GPIO1 8 GPI05 15 GPIO 29 GPIO6 30 WAKEUP WAREUPI WAKEUP WAKEUP3 GND GND TX RX CND Td RX1 CND TX2 CND T RX3 CND R5232 TXI R5232 RXl GND R5232 TXO 5232 RX GND CGU OUT CGU OUT GPIO 25 GPIO 26 GPIO 27 GPIO 28 WAKEUPO WAKEUPI WAKEUP2 WAKEUP3 CND 2 3 BLOCK DIAGRAM HEADER J10 LM La 1 Bo om pm pm mnm ME 3 l 3 5 1 j l 3 5 7 Las Las Ge Eme Las Las Ln hes ee Lo on i VIN 5V GPIO 0 GPIO 1 GPIO 2 GPIO 3 GPIO 4 GPIO 5 GPIO 6 GPIO 7 GPIO 8 GPIO 9 GPIO 10 GPIO 11 GPIO 12 GPIO 13 GPIO 14 GPIO 15 GPIO 16 GPIO 17 GPIO 18 GPIO 19 GPIO 20 ADCO 0 ADCO 1 ADCO 2 ADCO 3 ADCO 4 ADCO 5 ADCO 6 ADCO 7 PORT VIN 5V GPIO4 0 GPIO3 0 GPIO U GPIO6 1 CPIO3 1 GPIO6 2 GPI07 4 GPIO4 10 GPIO6 10 GPIO6 11 GPIO7 14 GPI07 15 GPI07 16 GPI05 19 GPIO7 21 G
7. pin ribbon cable to NGX Xplorer Fig 4 1 4 ULINK2 and KEIL Connect ULINK2 20 pin cable to 20 pin to 10 pin adaptor and connect one end of 10 pin ribbon cable to 20 pin to 10 pin adaptor and other end to LPC185X Xplorer as shown in the below image The hardware setup is now ready for programing an LPC185X Xplorer board with ULINK2 and KEIL IDE Please refer keil knowledgebase article for connecting ULINK2 to NGX Xplorer Fig 5 6 www ngxtechnologies com Quick Start Guide LPC185x Xplorer TECHNOLOGIES 2 0 LPC185X Xplorer Overview 2 1 Introduction The NGX LPC185X Xplorer is a compact and versatile evaluation platform for the NXP s Cortex M3 based MCUS NGX s evaluation platforms are generally not tied up to any particular debugger or compiler IDE However it is not practical to test and ensure that the solution would work out of box with all the available debuggers and compilers IDE As long as the compiler supports the particular MCU and the debugger supports the standard debug interfaces like the SWD JTAG you can use this platform with any tool The board is supported by extensive sample examples allowing you to focus on the application development 2 2 Board Features Following are the salient features of the board Dimensions 102mm x 43mm Controller LPC185X 256 pin BGA PCB 6 layer RoHS complaint Two LEDs One user switch and one reset switch Boot select switch 32Mb Quad
8. your driver software Windows has finished installing the driver software for this device LPC18xx USB VCaom Port Fig 15 Step 8 Now LPCI8xx USB VCom Port COM12 is ready to use File Action View Help e 25 ESI E Ml JI vr ee E Naqgaraj P C i Computer D m Disk drives Display adapters 5 DVD CD ROM drives IDE ATA ATAPI controllers Junge m Keyboards Mice and other pointing devices gt i Monitors gt A Network adapters s JEE Portable Devices P Ports amp did gu LPC18xx USB VCom Port j pa Sou i video and game controllers s ju System devices g Universal Serial Bus controllers Fig 16 Note The Virtual COM is listed under the device manager Please note that the COM port list under the Device Manager is automatically updated with the COM port number for the Virtual COM On our test machine COMI2 is the virtual COM port The COMI2 will appear only if the Xplorer board is connected USBI to the PC Every time the Xplorer is reset the user needs to close the Hyper Terminal application and restart it again 16 www nextechnologies com Quick Start Guide LPC185x Xplorer t TECHNOLOGIES The orders in which the on board peripherals are verified by the firmware are as follows Test Firmware Flowchart RTC Verification Is VCOM Enumeration Completed Ethernet PHY Verification Audio codec Verification Wait for user input Xpl
9. 27 www ngxtechnologies com
10. 5022 class A and hence CE marked No other test have been conducted other than the radiated emission EN55022 class A standard The device was tested with the ports like USB Serial and Power excluding the GPIO ports Any external connection made to the GPIO ports may alter the EMC behavior Usage of this device under domestic environment may cause unwanted interference with other electronic equipment s User 1s expected to take adequate measures The device is not intended to be used in and end product or any subsystem unless the user re evaluates applicable directive conformance 2 www ngxtechnologies com Quick Start Guide LPC185x Xplorer TECHNOLOGIES Table of Contents JO RO OG TION TE Y Q 4 1 1 Possible Debuggers and IDEs that can be use d 4 1 2 ARM JTAG 20 pin to Cortex JTAG 10 pin Adapter 5 IS UTS INR ME a Noi P 6 IP SIN DE ad asi b E nus E 6 PA USB Cal P C Xplorer Fate EIS RANT u uum u qp oU 7 PN MM nivei s RTT E m 7 2 2 Po T6 i Sacco st suu MESURE uu MESURE a E 7 J MOC KG DI N XA X YP 8 a CS OL PUM OU uuu uu una au haku E E suka qayskiyasan astaq 8 PASS LOUP dS u uu u A ee ee eee 9 xO IPCIS5X5 Xploreri senlhealiehu u u uuu uuu u usu usan n E eaii 11 3 1 Boa
11. E CE FE EE CE EE EE EE EE EE EE CE EE CE CE CE CE CE OE OE ee EE h Connected 00 00 43 Auto detect 9600 8 N 1 SCROLL CAPS NUM Capture Print echo 24 www ngxtechnologies com Quick Start Guide LPC185x Xplorer 3 3 9 USBO_HOST Test setup and verification Connect the USB AM to Micro cable to USBI on board connector and PC and Flash the Usb0Msc binary and RESET the board Open Hyper Terminal and select Vcom port with 9600Mbps insert the 2 GB pen drive to on board host connector the content of first sector 1s displayed on Hyper Terminal as shown in the following image s LPC185x Xplorer HyperTermin EHI X File Edit View Call Transfer Help Deyice Attached Total LUNs 1 Using first LUN in device Vendor JetFlash Product Iranscend 4GB Mass Storage Device Enumerated Waiting until ready Retrieving Capacity 907327 blocks of 512 bytes Contents l 90 F3 C5 fa 00 46 A 21 Connected 00 02 10 Auto detect 9600 B N 1 Fig 31 25 www ngxtechnologies com Quick Start Guide LPC185x Xplorer TECHNOLOGIES About this document Revision History Version V author Veeresh Tumbaragi Company Terms amp Conditions Legal NGX Technologies Pvt Ltd provides the enclosed product s under the following conditions This evaluation board kit is intended for use for ENGINEERING DEVELOPMENT DEMONSTRATION and EDUCATION OR EVALUATION PURPOSES ONLY and is n
12. Ethernet lest nter option 4 Connected 00 18 35 Auto detect 9600 8 N 1 Fig 27 The Ethernet interface can be verified by either using a PING command in the windows command prompt Res CAWindowsisysiem22 Microsoft Windows Uersion 6 1 7681 Copyright lt c 2609 Microsoft Corporation All rights reserved Co Users NGalseping 192 168 1 1235 Pinging 192 168 1 123 with 32 bytes of data Reply from 192 168 1 123 bhytes 32 time 165ms TIL 64 Reply from 192 168 1 123 bytes 32 time 3ims TTL 64 Reply from 192 168 1 123 bytes 32 time 28ms TTL 64 Reply from 192 168 1 123 bhytes 32 time 48ms TTL 64 Ping statistics for 192 168 1 123 Packets Sent 4 Received 4 Lost B CH loss gt Approximate round trip times in milli seconds Minimum 28ms Maximum 1865ms Average 53m CGC Users ANGals gt Fig 28 23 www ngxtechnologies com Quick Start Guide LPC185x Xplorer S E The IP address of the LPC185x Xplorer board is configured as 192 168 1 123 Type the same IP address in the browser Clicking the ON button will TURN ON LED4 and clicking OFF button will TURN OFF LED4 ISTE ibd easyWEB dynamic Webside 91921681123 Ty v G E Google Most Visited Getting Started Latest Headlines Hello World 3 3 8 Audio Interface Test setup and verification For the audio interface the LPC185x Xplorer incorporates external audio codec from NXP The codec is interfaced to the MC
13. FE FE JE JE JE JE FE JE FE FE JE FE JE JE FE JE FE JE JE HE E E JE JE JE JE JE JE HE HE HE HE HE HH HH HF SO OO mJ ON OFF Cono E Enter option LED4 and LEDS toggling Enter option Press Enter to exit RIC te OD 0n Time 12 06 13 Date 02 01 2013 Connected 00 06 45 Auto detect 96008 N 1 Fig 26 22 www ngxtechnologies com Quick Start Guide LPC185x Xplorer aS i t TECHNOLOGIES 3 3 7 Ethernet Test setup and verification To test Ethernet enter option 6 the test firmware configures the LPC185x Xplorer board as a webserver a L PC185x Xplorer erTerminz File Edit View Cal Transfer Help Enter option ORE RE RE RE CIE RE ORE CHE ORE ORE ORE ORE CE ORE ORE CHE ORE CBE ORE ORE CBE ORE ORE CBE CBE CBE RE ORE CBE ORE ORE CBE ORE CBE RE ORE ORE ORE ORE CBE ORE CE ORE ORE RE ORE ORE CBE ORE CE ORE ORE ORE ORE ORE CBE ORE CBE ORE ORE ORE ORE ORE HHH HI NGK Technologies LPC1856 Kplorer Peripheral test Menu Blinky Test Uart Test Uartl Test Uart2 Test Uart3 Test Ethernet Test Sdio Test SDRBH Test Rte Test Enter Key Menu Audio loop back test is interrupt base the given auido input will TRE BE RECIBE ORE RE ORE RE ORE ORE RE ORE RE RE ORE CRE ORE RE RE ORE RE GRE ORE CBE CBE BE RE ORE RE RE ORE GRE CRE OBERE ORE ORE ORE ORE ORE ORE ORE ORE ORE RE ORE ORE GRE ORE RE RE ORE ORE ORE ORE ORE ORE HHH KK EH HH HI MD CO Cs I gt CO 2 nter option
14. NOLOGIES 2 5 LPC185X description The LPC185X is a high performance cost effective Cortex M3 microcontroller featuring up to 1 MB of flash and 136 kB of on chip SRAM 16 kB of EEPROM memory a quad SPI Flash Interface SPIFD a State Configurable Timer SCT subsystem two High speed USB controllers Ethernet LCD an external memory controller and multiple digital and analog peripherals Processor core e ARM Cortex M3 processor running at CPU frequencies of up to 180 MHz ARM Cortex M3 built in Memory Protection Unit MPU supporting eight regions ARM Cortex M3 built in Nested Vectored Interrupt Controller NVIC Non maskable Interrupt NMI input JTAG and Serial Wire Debug serial trace eight breakpoints and four watch points Enhanced Trace Module ETM and Enhanced Trace Buffer ETB support System tick timer hip memory Up to 1 MB on chip dual bank flash memory with flash accelerator 16 kB on chip EEPROM data memory 136 kB SRAM for code and data use Multiple SRAM blocks with separate bus access 64 kB ROM containing boot code and on chip software drivers e 32 bit One Time Programmable OTP memory for general purpose use Clock generation unit e Crystal oscillator with an operating range of 1 MHz to 25 MHz e 12 MHz internal RC oscillator trimmed to 1 accuracy over temperature and voltage e Ultra low power RTC crystal oscillator e Three PLLs allow CPU operation up to the maximum CPU rate without the need for a high fre
15. PI07 22 GPI07 23 GPI06 24 GPIO6 25 GPIO 26 GPIO5 1 ADCO ADCO 1 ADCO 2 ADCO 3 ADCO 4 ADCO 5 ADCO 6 ADCO 7 Quick Start Guide LPC185x Xplorer LPC185x Xplorer Fig 6 2 4 LPC185X Xplorer pin out www ngxtechnologies com PORT GP102 1 GPI02 4 GP102 3 GP102 2 GPI02 12 GPIO4 6 GPIO4 5 GPI03 8 GPI03 13 GPI05 12 GP105 14 GP105 13 GPIO4 3 GEI02 0 GPI05 25 GPI05 24 GPIO4 4 GPI03 11 GP103 10 GPI05 26 GPI05 23 GP105 22 GPI05 21 GEI07 12 GP103 8 GP103 14 GPI02 5 LCD DCIK GPI02 6 GPI04 7 LCD VD LCD VDL LCD VD2 LCD VD3 LCD VDA LCD VD5 LCD VD LCD VD LCD VD LCD VD9 LCD VDl0 LCD Voli LCD VD12 LCD VD13 LCD VDi4 LCD vols LCD VD16 LCD VD17 LCD VD18 LCD VD19 LCD VD20 LCD VD21 LCD VD22 LCD VD23 LCD LE LCD LP LCD FP LCD DCLK LCD ENAB LCIM LCD PWR V3 V3 VBAT RST SSP MOSI SSP MISO SSP1_SCK SSP SSEL 12C0 SDA I2C0 SCL 12C1 SDA 12C1 SCL CANO TD CANO RD CAN TD CANI RD GND GND GND GND GPIO 22 GPIO 21 MCI MCT1 MCOAO MCOBO MCABORT GPIO 29 GND GND PORT 3 3v VBAT RESET cero 11 GPIO7 20 SSPl SCK GP107 13 I2C SDA 12C0 SCL GPI05 3 GPIO5 4 GPIO7 3 GPIO7 2 GPIO7 0 GPIO7 1 GND GND GND GND GPIO5 18 GPIOA 11 GPI04 2 GPIO4 1 GPIO4 15 GPIO5 17 GPI04 12 GPI00 10 GND GND Quick Start Guide LPC185x Xplorer TECH
16. Quick Start Guide LPC185x Xplorer aS EPA LPC185x Xplorer AE oT User Manuals for LPC185x Xplorer For KEIL MDK ARM with ULINK2 ME Click here Sample projects for LPC185x Xplorer For KEIL MDK ARM Click here USB Virtual Com INF file Click here to download USB Virtual Com INF file 1 www ngxtechnologies com Quick Start Guide LPC185x Xplorer TECHNOLOGIES About NGX Technologies NGX Technologies is a premier supplier of development tools for the ARM7 ARM Cortex MO M3 and M4 series of microcontrollers NGX provides innovative and cost effective design solutions for embedded systems We specialize in ARM MCU portfolio which includes ARM7 Cortex MO M3 amp M4 microcontrollers Our experience with developing evaluation platforms for NXP controller enables us to provide solutions with shortened development time thereby ensuring reduced time to market and lower development costs for our customers Our cost effective and feature rich development tool offering serves as a testimony for our expertise cost effectiveness and quality Contact Information NGX Technologies Pvt Ltd No 216 5th main Road R P C Layout Vijayanagar 2nd Stage Bangalore 560 104 Phone 491 80 40925507 email sales 9 ngxtechnologies com CE certification NGX Technologies LPC185X Xplorer board has been tested for radiated emission as per EN55022 class A standard The device is under the limits of the standard EN5
17. U over I250 for data and over I2CO for command interface The test firmware verifies both the audio in and audio out path To verify the audio interface the user needs to feed some audio data through the audio in LINE IN interface and then connect a headphone at the audio out jack If one is able to hear the same audio data that is being fed over audio in interface we have verified the audio interface File Edit View Call Transfer Help Da ps 028 DE JE JE MC JE PE JE 0 JE JE XC JE JE HE JE EEE JE JE C JE JE JE XC XC JE JE JE XC JE JE EC X JE XC JE JE JE JE JE JE JE JE JE JE C JE JE PE JE JE JE JE JE EE JE JE ME JEJE MEFE 2 NGK Technologies LPC1850 Mplorer Peripheral test MCU LPC18xx Core ARM CORTEX M3 Communicate via USB1 Virtual Com DE FE FE FE FE FE FE FE FE FE HE 3 FE FE HE FE FE FE FE HE FE FE FE FE FE FE FE FE FE FE FE FTE FE FE FE FE FE FE FE HE TE FE FE FE HE HE JE JE JE Seo 36 36 HHI Initializing LPC1850 Kplorer peripherals Please wait Uart0 1 2 3 are Initialized open serial port with 115200bps The Uart0 1 2 3 test is in loop back the key pressed on keyboard is dist n serial port Ethernet PHY detected and initialized IP address of LPC1850 Kplorer board is 192 168 1 123 Sdio initialized Audio codec detected and initialized Rtc initialized SDRAM initialized DE PE FE FE FE o FE EE EE EE CE FE FE C
18. age you should find LPC185X Xplorer Board USB AM to Micro B cable as shown in the following image LPC185x Xplorer USB AM to Micro B cable Fig 2 1 2 ARM JTAG 20 pin to Cortex JTAG 10 pin Adapter Please note that your existing debugger might be supporting only the 20 pin ARM JTAG connector In such scenarios one would require a 20 pin to 10 pin adaptor and the necessary cables The LPC185X Xplorer has on board Cortex SWD JTAG 10 pin male connector the 20 pin to 10 pin adaptor is not a part of the LPC185X Xplorer package and user needs to buy them separately If the debugger supports the 10 pin Cortex header one needs to have the 10 pin ribbon cable and can directly connect to the LPC185X Xplorer Please note even the 10 pin ribbon cable is not a part of standard delivery and needs to be procured separately The picture below shows 20 pin ribbon cable 10 pin ribbon cable and 20 pin to 10 pin adaptor 20 pin Cable mem JTAG to Lorcex sinu Adaptor 20 pin to 10 pin Adaptor Fig 3 5 www nextechnologies com Quick Start Guide LPC185x Xplorer i 1 3 ULINK ME and KEIL Connect one end of 10 pin ribbon cable ULINK ME 10 pin box header and other end to LPC185X Xplorer as shown in the below image The hardware setup is now ready for programing an LPC185X Xplorer board with ULINK ME and KEIL IDE Please refer keil knowledgebase article for connecting ULINK ME 10
19. ces gt d Local Users and Groups b E Performance p cg IDE ATA ATAPI controllers Device Ma r b cm a nage gs Storage c Disk Management b Bs Services and Applications Keyboards Mice and other pointing devices Monitors gt KP Network adapters lp Other devices 3date Driver Software Uninstall gt n Processors Sound video an b AW System devices p 9 Universal Serial E Scan for hardware changes Properties Launches the Update Driver Software Wizard for the selected device 13 Fig 10 www ngxtechnologies com Quick Start Guide LPC185x Xplorer Step 3 Click on Browse my computer for driver software 3 Computer Management jme m S Q Update Driver Softwa dx LPC18xx VCOM aa How do you want to search for driver software Search automatically for updated driver software Windows will search your computer and the Internet for the latest driver software for your device unless you ve disabled this feature in your device installation settings gt Browse my computer for driver software Locate and install driver software manually Fig 11 Step 4 Click Browse select downloaded LPC1850 Xplorer Rev AR2 KeiNUsblI VcomLib folder and then click on OK i Select the folder that contains drivers for your hardware gt k 5dcard gt UartPolling 0 1 2 3 UsbOMsc Usb1 Device Usb1VcomLib 3 gt LPC1850 Xplorer _Rev AR2 Keil2 P Ne
20. eal Time Clock RTC on separate power domain with 256 bytes of battery powered backup registers Event recorder with three inputs to record event identification and event time can be battery powered Alarm timer can be battery powered Analog peripherals One 10 bit DAC with DMA support and a data conversion rate of 400kSamples s Two 10 bit ADCs with DMA support and a data conversion rate of 400kSamples s Up to eight input channels per ADC Unique ID for each device Single 3 3 V 2 2 V to 3 6 V power supply with on chip internal voltage regulator for the core supply and the RTC power domain RTC power domain can be powered separately by a 3 V battery supply Four reduced power modes Sleep Deep sleep Power down and Deep power down Processor wake up from Sleep mode via wake up interrupts from various peripherals Wake up from Deep sleep Power down and Deep power down modes via external interrupts and interrupts generated by battery powered blocks in the RTC power domain Brownout detect with four separate thresholds for interrupt and forced reset Power On Reset POR Note LPC1850 do not have on chip flash memory For the most updated information on the MCU please refer to NXP s website 10 www nextechnologies com Quick Start Guide LPC185x Xplorer aS EPA 3 0 LPC185X Xplorer verification NGX s evaluation platforms ship with a factory programmed test firmware that verifies all the on board peripherals
21. hen verifying Verified Measuring continuous read speed read speed 4494 kB s eur nd CONTINUOUS write speed m 9600 8 N m www ngxtechnologies com Quick Start Guide LPC185x Xplorer 3 3 5 SDRAM Test setup and verification To test SDRAM enter option 8 the result of this test is displayed over the VCOM port as shown in the following image E csop T File Edit View Call Transfer Help _ TPC1850 Kplorer Peripheral test Menu Blinky Test Uart Test Uartl Test Uart2 Test Uart3 Test Ethernet Test Sdio Test SDRAM Test Rtc Test Paice Key Menu fudio loop back test is interrupt base the given auido input will HMHHHAHHHHAHHAHHHHHHHHAHHAHHAHHHHAHHAHHAHHAHHAHHAHHHHHHAHHAHHAHHAHHAHHAHHHH HHH HH HH HH HHI SO 00 md ON OF CO ND ES nter option 4 Connected 00 10 40 Auto detect 9600 8 N 1 Fig 25 3 3 6 RTC Test setup and verification To test RTC enter option 9 the time and date will be displayed over the VCOM port as shown in the following image L 2 r Hvi File Edit View Call Transfer Help Da 53 Da F NGK Technologies X PC1850 Kplorer Peripheral test Menu Blinky Test Uart Test Uartl Test Uart2 Test Uart3 Test Ethernet Test Sdio Test SDRAM Test Rtc Test Enter Key Menu B x udio loop back test is interrupt base the given auido input will DE FE EEEE E E E E E E FE FE E FE FE FE FE FE FE FE JE FE FE FE FE FE E
22. orer Peripherals initialization LEDs Blink LED4 and LEDS SD card Verification SDRAM Verification 17 www ngxtechnologies com Quick Start Guide LPC185x Xplorer aS i 3 3 1 USB1 Virtual COM port Test setup and verification For the very first time the windows machine will ask for the appropriate virtual COM drivers to be installed Steps to select USB1 VCOM port on HyperTerminal in windows 7 machine Step 1 Open a HyperTerminal type name and click on OK m i Disconnected Enter details for the phone number that you want to dial Country region India 31 Area code 080 Phone number Connect using COMIZD 0 0 0 0 0 07 18 www nextechnologies com Quick Start Guide LPC185x Xplorer Step 3 Click on Restore Defaults and click on OK COMI F roperties ae W File Edit V Bits per second Data bits Fig 19 Step 4 Now the USB1 VCom is ready to use Fue Eait Wiew Call Transfer Hietp Du a5 sm Auto detect Auto detect SCROLL CAPS NUM Capture Print Fig 20 Note You would not be able to proceed with the verification unless the Virtual COM drivers are installed The firmware waits for the USB1 to enumerate as VCOM port 19 www ngxtechnologies com Quick Start Guide LPC185x Xplorer aS EPA 3 3 2 User Input Switch Test setup and verification Once the VCOM drivers are installed the Xplo
23. ot considered by NGX Technologies Pvt Ltd to be a finished end product fit for general consumer use Persons handling the product s must have electronics training and observe good engineering practice standards As such the goods being provided are not intended to be complete in terms of required design marketing and or manufacturing related protective considerations including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards This evaluation board kit does not fall within the scope of the European Union directives regarding electromagnetic compatibility restricted substances RoHS recycling WEEB FCC CE or UL and therefore may not meet the technical requirements of these directives or other related directives The user assumes all responsibility and liability for proper and safe handling of the goods Further the user indemnifies NGX Technologies from all claims arising from the handling or use of the goods Due to the open construction of the product it 1s the user s responsibility to take any and all appropriate precautions with regard to electrostatic discharge EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES NGX Technologies currently deals with a variety of customers for products and therefore our arrangement with the user is no
24. ownload INF file Click Here 12 www ngxtechnologies com Quick Start Guide LPC185x Xplorer Na Steps to install the VCOM drivers on windows 7 machine Step 1 Connect USBI to the computer Open device manager you can find NXP LPC18xx VCOM new device listed under Other devices File Action View Help e 2G 3 LANE i b 4 3 Nagaraj PC gt gl Computer gt yw Disk drives EM Computer Management Local d in System Tools b 2 Task Scheduler gt B Event Viewer gt MG Display adapters b B Shared Folders gt a DVD CD ROM drives p Local Users and Groups b B Human Interface Devices b S Performance b 4g IDE ATA ATAPI controllers aay Device Manager gt 28 Keyboards a LE Storage JA Mice and other pointing devices c Disk Management A Monitors b Bs Services and Applications EP Network adapters i lp NXP LPCIS VCOM ATTE en a Y Ports COM amp LPT 2 Communications Port COMT n Processors Syl Sound video and game controllers i System devices b 9 Universal Serial Bus controllers Fig 9 Step 2 Right click on the NXP LPC18xx VCOM and then left click on Update Driver Software File Action View Help eSI EI lg S eras 3 amp Computer Management Local 4 43 Nagaraj PC a l System Tools gt gil Computer b 3 Task Scheduler b eg Disk drives id Event Viewer b MS Display adapters Shared Folders gt DVD CD ROM drives b d c Human Interface Devi
25. quency crystal The second PLL is dedicated to the High speed USB the third PLL can be used as audio PLL e Clock output Configurable digital peripherals e State Configurable Timer SCT subsystem on AHB e Global Input Multiplexer Array GIMA allows to cross connect multiple inputs and outputs to event driven peripherals like timers SCT and ADCO 1 Serial interfaces e Quad SPI Flash Interface SPIFI with 1 2 or 4 bit data at rates of up to 60 MB per second e 10 100T Ethernet MAC with RMII and MII interfaces and DMA support for high throughput at low CPU load Support for IEEE 1588 time stamping advanced time stamping IEEE 1588 2008 v2 e One High speed USB 2 0 Host Device OTG interface with DMA support and on chip high speed PHY USBO e One High speed USB 2 0 Host Device interface with DMA support on chip full speed PHY and ULPI interface to an external high speed PHY USB1 USB interface electrical test software included in ROM USB stack Four 550 UARTs with DMA support one UART with full modem interface one UART with IrDA interface three USARTs support UART synchronous mode and a Smart card interface conforming to ISO7816 specification Two C_CAN 2 0B controllers with one channel each Two SSP controllers with FIFO and multi protocol support Both SSPs with DMA support On e o c v o o o Oo 9 www nextechnologies com Quick Start Guide LPC185x Xplorer e e Digital TECHNOLOGIES
26. rd Image with pointers to the peripherals 11 FON O AGO yg E TOTO EA A 12 3 3 Verifying all the peripherals on LPC185X Xplorer 12 FUBE ECIM POT eee E E E E 18 S PARNE AEn IL RN Em 20 De TOL ELD a s uum m E E E E 21 AFMC SD Connec NT mE 21 PBRS Meca a E E E N A A E E E s a sees 22 ERTE a E E R 22 bM gii UTENTI I IIT 23 2 940 JXUGHTO MON er uuu ull aaa yasaq assaumuqaspasaqssasqusyaqskassrmansquysasasassqasasquysaqasassumaspusanssas 24 YFU BO TOO aU cece mca a octet cere sb ath s u ecu ecea eee 25 3 www ngxtechnologies com Quick Start Guide LPC185x Xplorer TECHNOLOGIES 1 0 INTRODUCTION This document is a Quick Start Guide for LPC185X Xplorer a cost effective evaluation platform for NXP s LPC185x MCU This document focuses on the kit contents board verification possible debuggers and IDEs that can be used 1 1 Possible Debuggers and IDEs that can be used ULINK2 with KEIL uVision NXP LPCLink with LPCXpresso Red Probe with Red Suite from Code Red I jet with IAR Embedded Workbench Segger JLink with IAR Embedded Workbench or KEIL uVision The LPC185x Xplorer is packaged as shown in the following image TBD Fig 1 4 www ngxtechnologies com Quick Start Guide LPC185x Xplorer aS EPA TECHNOLOGIES After unboxing the pack
27. rer waits for the User Input Switch to be pressed Only after detecting a user button SW2 press the test firmware proceeds with validating other peripherals This synchronization is necessary to ensure that the debug messages on the VCOM port can be viewed from the start of the test Without this synchronization the test firmware would proceed with the debug messages being displayed while the user is still configuring the Hyper Terminal or other serial emulation tool File Edit View Call Transfer Help J FE FE FE FE FE FE FE FE FE FE FE FE HE FE FE HE FE FE HE FE FE FE FE FE FE FE FE HE HE FE FE FE FE FE FE FE HE FE FE FE FE FE HE JE FE FE JE FE HE JE HE EH HE HE HH HH HI A NGK Technologies LPC1856 Kplorer Peripheral test MCU LPC18xx Core ARM CORTEX H3 Communicate via USB1 Virtual Com FE FE FE FE FE FE FE FE HE FE FE FE 3 JE FE FE FE FE HE FE FE FE FE FE FE FE HE FE FE FE FE FE FE FE FE FE FE FE FE HE FE FE FE FE HE FE FE HE TE FE FE HE FE FE FE EE EE HE HE HE 36 3 HEI Initializing LPC1850 Kplorer peripherals Please wait Uart0 1 2 3 are Initialized open serial port with 115200bps The Uart0 1 2 3 test is in loop back the key pressed on keyboard is dist n serial port Ethernet PHY detected and initialized IP address of LPC1850 Xplorer board is 192 168 1 123 Sdio initialized Audio codec detected and initialized Rtc initialized
28. t exclusive NGX Technologies assumes no liability for applications assistance customer product design software performance or infringement of patents or services described herein Please read the User s Guide and specifically the Warnings and Restrictions notice in the User s Guide prior to handling the product This notice contains important safety information about temperatures and voltages No license is granted under any patent right or other intellectual property right of NGX Technologies covering or relating to any machine process or combination in which such NGX Technologies products or services might be or are used 26 www ngxtechnologies com Quick Start Guide LPC185x Xplorer J TECHNOLOGIES Disclaimers Information in this document is believed to be reliable and accurate However NGX Technologies does not give any representations or warranties expressed or implied as to the completeness or accuracy of such information and shall have no liability for the consequences of use of such information NGX Technologies reserves the right to make changes to information published in this document at any time and without notice including without limitation specifications and product descriptions This document replaces and supersedes all information supplied prior to the publication hereof Trademarks All referenced trademarks product names brands and service names are the property of their respective owners
29. w folder New folder 2 images iuter Q LPC185x Xplorer Quick Start Guide and User Mar gt and all driver b k Ipc1850_Xplorer _ Keil 14 www ngxtechnologies com Quick Start Guide LPC185x Xplorer Step 5 Chck on Next to continue driver Installation m g So 0 A Update Driver Software NXP LPC18xx VCOM Browse for driver software on your computer Search for driver software in this location Export Software LPC1850 Xplorer _Rev AF2 Keil UsblVcomLi Include subfolders Let me pick from a list of device drivers on my computer This list will show installed driver software compatible with the dewice and all driwer software in the same category as the device Fig 13 Step 6 Click on Install this driver software anyway X Windows Security Am NN 90 000 Don t install this driver software You should check your manufacturer s website for updated driver software for your device Stall this driver software anyway Only install driver software obtained from your manufacturer s website or disc Unsigned software from other sources may harm your computer or steg information v See details Fig 14 15 www nextechnologies com Quick Start Guide LPC185x Xplorer aS EPA Step 7 The LPCISxx USB VCom driver is successfully installed click on close ij Update Driver Software LPC18xx USB VCom Port COM12 Windows has successfully updated

Download Pdf Manuals

image

Related Search

Related Contents

WINTER 2014    Intel Vig390s User's Manual    Lire un extrait - Ghislain Gagnon  Whirlpool RBIOOPXY Oven User Manual  Manual - VE Power Door  

Copyright © All rights reserved.
Failed to retrieve file