Home

mX-BaseBoard with mX-LPC1343-S

image

Contents

1. OLOGIES v1 0 25 03 2011 Led Blink PORTS used PORTO PINS used PIOO_7 Schematic net name D2 A sample program to blink is provided flash the mX LPC1343_blinky bin file onto mX LPC1343 S and RESET The LED D2 should start blinking LCD PORTS used PORT2 for Data lines and PORT3 for Control lines PINS used PIO2_6 PIO2_7 PIO2_8 and PIO2_9 for Data lines and PIO3_0 PIO3_1 and PIO3_2 for Control lines Schematic net name LCD_D4 LCD_D5 LCD_D6 LCD_D7 LCD_EN LCD RW and LCD_RS A sample program to LCD is provided flash the mX LPC1343_Icd bin file onto mX LPC1343 S and RESET The LCD should display NGX TECHNOLOGIES SD card PORTS used PORTO for MOSI MISO and SSEL PORT2 for SCK PINS used PIOO_9 PIOO_8 PIO2_ 11 and PIOO_2 Schematic net name MOSI MISO SSEL and SCK A sample program to SD card is provided flash the mX LPC1343_sdcard bin file onto mX LPC1343 S insert a SD card and RESET On the LCD it should display SD card PASS Remove the card and RESET on the LCD should display SD card FAIL PC PORTS used PORTO for I2C SDA and I2C SCL PINS used PIOO_5 and PIOO 4 Schematic net name I2C SDA and I2C SCL A sample program to DC is provided flash the mX LPC1343_i2c bin file onto mX LPC1343 S and RESET The LCD should displays IC PASS Connected to the PC lines is an EEPROM device The program writes and reads back a piece of data
2. arch Help DS Slelaelsg er Be ri 4 Common E main c 53 a Build F7 amon aula FD G 4 Boot After building the project initiate debug to download the program to the target Press F5 to run the program execution This blinks the D2 on mX LPC1343 S board D Geste Col File View Project Flash Debug Search Help TECTA e SI we Ei B H s amp 4 Common Start Debug CH ES L main c 7 MO Cmsis Core void Blin 4 Boot m marire Dant SE Sa Sv et 11 http shop ngxtechnologies com mX BaseBoard with mX LPC1343 S TTS TAER MANUAL TECHNOLOGIES v1 0 25 03 2011 Schematics mX BaseBoard mX LPC1343 S 12 http shop ngxtechnologies com mX BaseBoard with mX LPC1343 S Na USER MANUAL v1 0 TECHNOLOGIES 25 03 2011 Information Revision History version v1 0 author Nagaraj M Baddi 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 EDUCATION OR EVALUATION PURPOSES ONLY and is not 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 cons
3. ation 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 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 supercedes 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 http shop ngxtechnologies com 13
4. eds to do is just drag n drop the bin file in order to program the LPC1343 ISP using USB interface The mX LPC1343 S board can be programmed using USB interface Connect a USB cable from the base board J7 to the PC On the base board press and hold SW5 then press reset switch SW4 Release the reset switch SW4 and then release SWS The device will be detected as a external storage device CRP DISABLD E AutoPlay 0 bytes free of 32 0 KB Ge CRP DISABLD General options J Open folder to view files using Windows Explorer Ri Use this drive for backup using Windows Backup View more AutoPlay options in Control Panel A file named firmware bin is already present in this drive Just delete this firmware bin and copy a valid bin file The criteria for creating a valid bin file as follows The checksum generated by CoIDE GCC is not correct and unless the checksum of the bin file is modified the firmware will be rejected by the USB bootloader There is a tool to fix the checksum To download the free tool click here To fix the checksum simply go into the command line and go to the root folder where both the Ipcrc exe tool and your bin file are located and Enter the following command Ipere mX LPC1343_blinky bin http shop ngxtechnologies com 9 mX BaseBoard with mX LPC1343 S ie MANURE TECHNOLOGIES 25 03 2011 ES C Windows system32 cmd exe Microsoft Windows Version 6 1 7601 _ Copyrig
5. ht lt c gt 26869 Microsoft Corporation All rights reserved C Users Nagaraj gt cd BC gt cd F CoIDE workspace blinky GEN F CoIDE workspace blinky gt lpcre NGR_CoIDE_Blinky_1343 bin succesfully updated cre to efffc9la F CoIDEN works pace blinky gt Reset the board and program should start executing ISP using UART interface LPC1343 also supports ISP over UART If during reset the ISP line is held low and a USB cable is NOT connected the LPC1343 enters into ISP over UART A flashing tool like Flash Magic can be used to program the LPC1343 mx baseboard does not seem to work reliably We are investigating this issue and should soon have a solution for this But since the ISP over USB works fine ISP over UART not functioning should not be a major issue 0 Unfortunately due to some unknown reason ISP over UART using mx lpc1343 S and http shop ngxtechnologies com 10 mX BaseBoard with mX LPC1343 S Na USER MANUAL v1 0 25 03 2011 Compiling the Workspace Download the workspace from here and unzip it Start the CoIDE and Click Project to open a directory path where the work space is unzipped and open a blinky workspace CooCox Col File View Project Flash Debug Ci B YC New Project 4 Comme Open Project Save Project As 4 Boot Pa UO ee ces Search Help In CoIDE click on the build or press F7 to build the project CooCox ColDE File View Project Flash Debug Se
6. iderations 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 WEEE 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 is 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 not 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 inform
7. mX BaseBoard with mX LPC1343 S Na USER MANUAL TECHNOLOGIES v1 0 25 03 2011 Improper mounting of the mX LPC1343 S board on mX BaseBoard may damage the mX LPC1343 S board and the mX BaseBoard The GND pin on mX LPC1343 S board should be aligned with the pin 1 of P9 female header on BaseBoard Refer to the marking as shown in the image above Validating the mX BaseBoard Download the workspace as zip form here Download the Binary as zip form here For flashing the Binary files please refer to CooCox CoFlash Quick Start with GUI 1 You need to flash the mX LPC1343 S board with the required firmware according to the functionality 2 The CooCox CoFlash Quick Start with GUI is for Nuvton the same procedure follows for NXP also Criteria for valid bin file for LPC1343 The reserved ARM Cortex M3 exception vector location 7 offset 0x0000 001C in the vector table should contain the 2 s complement of the check sum of table entries 0 through 6 This causes the checksum of the first 8 table entries to be 0 The bootloader code checksums the first 8 locations in sector 0 of the flash If the result is 0 then execution control is transferred to the user code If the signature is not valid the auto baud routine synchronizes with the host via the serial port UART or boots from the USB port PIOO_3 is sampled HIGH http shop ngxtechnologies com mX BaseBoard with mX LPC1343 S Na USER MANUAL TECHN
8. mX BaseBoard with mX LPC1343 S Na HSER MANUAL TECHNOLOGIES v1 0 25 03 2011 mxX BaseBoard with mX LPC1343 S USER MANUAL http shop ngxtechnologies com 1 mX BaseBoard with mX LPC1343 S HSER MANUAL TECHNOLOGIES v1 0 25 03 2011 Table of Contents YUMA RG TAN Siena 2h caacaadeiasahatecacasasSiaeaiacheaden a A E R eis nae 3 EE ee eege Ee Ee E 3 EE EE E EE A RER 5 vavcnaansiierastedaeasaenriansnaandiansaniuctasaxssio EERE EET EE ERE EARE 4 ege e A len A SLA 1 i o EA E TE A A E E TE EI TA AE N NE E A EE E 4 Mounting the mX LPC1343 S Board ssseesssesseseessseserssessrersessessressrsstrsressessersressreserseesseessensseres 4 Validating the mX BaseB t diseire E E EE AEE 5 Led BUNK e H 6 LED EE 6 EE eege E a EE 6 LE 6 MIT EEN 7 ADT WEE 7 ENEE T ee E E Ee Ee eebe 8 EE Eeer ed tege torso ead E 8 Ee 8 ISP ee 9 Compiling EN 11 SehematicS imn neroa aI eo et See ee EN ee eer nee eRe 12 J Ent ere 13 Revision Fe Y evssinezsicc ei teresse e E EE E EEEE E EEEE E aS SEE EENE TEKENER 13 E 13 B Sie Tats EE 13 ke 13 http shop ngxtechnologies com 2 mX BaseBoard with mX LPC1343 S Na USER MANUAL v1 0 TECHNOLOGIES 25 03 2011 Introduction mX BaseBoard is a new addition to the BlueBoard line from NGX Technologies This board is intended to extend the functionality of the mX LPC1343 S board mx LPC1343 S along with pinout for LPC1343 includes a on board programmer debugger which can be
9. technologies com 7 mX BaseBoard with mX LPC1343 S Na USER MANUAL v1 0 TECHNOLOGIES 25 03 2011 Ext Int PORTS used PORTO for EXT_SW PINS used PIOO_ 7 Schematic net name EXT SW A sample program to BUZZER is provided flash the mX LPC1343_exint bin file onto mX LPC1343 S and RESET on the mX BaseBoard the BUZZER toggles between ON and OFF when the button SW6 is pressed ADC PORTS used PORTI for ADC PINS used PIO1 4 Schematic net name ADC A sample program to ADC is provided flash the mX LPC1343_adc bin file onto mX LPC1343 S and RESET vary the pot R14 on the mX BaseBoard The change in value is displayed on the LCD PS 2 PORTS used PORT2 for PS2 DATA and PS2 CLK PINS used PIO2_4 and PIO2_5 Schematic net name PS2 DATA and PS2 CLK A sample program to PS 2 is provided flash the mX LPC1343_ps2 bin file onto mX LPC1343 S and RESET connect a PS 2 keyboard to mX BaseBoard Type the keys on the keyboard and the corresponding characters are displayed on the LCD http shop ngxtechnologies com 8 mX BaseBoard with mX LPC1343 S Na HSER MANUAL TECHNOLOGIES v1 0 25 03 2011 ISP Programming Since the LPC1343 has the USB bootloader on the ROM it is advisable and highly recommended to use USB interface for programming If during reset the ISP line is held low and a USB cable is connected the LPC1343 enumerates as a mass storage device All the user ne
10. to test http shop ngxtechnologies com 6 mX BaseBoard with mX LPC1343 S Na USER MANUAL v1 0 TECHNOLOGIES 25 03 2011 USB Schematic net name USB_DM and USB _DP A sample program to USB is provided flash the mX LPC1343_usbhid bin file onto mX LPC1343 S and RESET Connect a USB cable to connector J7 with PC In the device manager in Windows it should be HID compliant device as shown below a Ha Human Interface Devices ss HID compliant device QA USB Input Device A USB Input Device Q USB Input Device Press and hold the RESET on the mX BaseBoard In the device manager in Windows it should be HID compliant device as shown below 4 De Human Interface Devices Da USB Input Device DS USB Input Device UART PORTS used PORT1 for TXD and RXD PINS used PIO1_7 and PIO1I 6 Schematic net name gt TXD and RXD A sample program to UART is provided flash the mX LPC1343_uart bin file onto mX LPC1343 S and RESET Connect the serial cable to J4 and PC serial port Open a HyperTerminal with 115200 baud 8N1 The typed characters on the keyboard are echoed on the HyperTerminal Buzzer PORTS used PORT1 for BUZZER PINS used PIO1 11 Schematic net name gt BUZZER A sample program to BUZZER is provided flash the mX LPC1343_buzzer bin file onto mX LPC1343 S and RESET on the mX BaseBoard a tone is heard from the buzzer The jumper JP1 should be inserted http shop ngx
11. used with CoIDE mX BaseBoard can be used to extend the features of the stamp by providing connectors and interface to various peripherals of the stamp and provide power to the peripheral interface Features e 2x16 with contrast control amp back light SD Card connector e USB e Power Jack e Power Switch e Reset Button ISP Button e External interrupt Button es Buzzer e Audio Jack e PS 2 e Serial Connector 0 e Preset for ADC On board EEPROM http shop ngxtechnologies com 3 mX BaseBoard with mX LPC1343 S Na USER MANUAL v1 0 TECHNOLOGIES 25 03 2011 Getting Started Before starting you would need the following things handy and ready For compiling and debugging programs refer to CoIDE User Guide The CoIDE User Guide is for Nuvton the same procedure follows for NXP The user needs to select the appropriate part number Make sure that you have read the CoIDE user guide carefully before you proceed further Requirement The requirement is put in two sections Hardware e Power adapter rating 7 5 V 1 AMP s SD card e USB mini cable e Serial cable e PS 2 Keyboard Software e PC with Windows OS e Use HyperTerminal as terminal software e mX LPC1343 S CoIDE workspace from NGX Technologies Setup Mounting the mX LPC1343 S Board The mX LPC1343 S board should be mounted on the mX BaseBoard with a particular alignment Base DOA Revi 2 http shop ngxtechnologies com 4

Download Pdf Manuals

image

Related Search

Related Contents

Actu Darts 12-30 1 - BAT  AMD 4850 Computer Hardware User Manual      

Copyright © All rights reserved.
Failed to retrieve file