Home
SM21xx User`s Manual
Contents
1. Te SM21xx User s Manual 4 Connectors and Switches USB Con TO B IO A z 006 8 oo lt 2 oo 25 OO SY OO 2 002 2 X1 RST PGM Figure1 Component locations on SM2138 and SM2148 modules 4 1 Connector description Locations of various connectors are shown in Figure 1 and Figure 2 SPJETPL All Rights Reserved www spjsystems com Page 8 of 13 amp SPJ Embedded Technologies Pvt Ltd 4 1 110 A SM21xx User s Manual It is a 19 x 2 male header with it s pins protruding down from the bottom of module Many pins have same meaning across both modules but some have different meaning as shown below Pin SM2138 signal SM2148 signal 1 5V 5V 2 VBAT VBAT 3 3V3 3V3 4 AVDD AVDD 5 RS232 RXD RS232 RXD 6 RS232 TXD RS232 TXD 7 NC NC 8 NC NC 9 P1 26 RTCK P1 26 RTCK 10 P1 31 NTRST P1 31 NTRST 11 NRST NRST 12 P1 27 TDO P1 27 TDO 13 P1 29 TCK P1 29 TCK 14 P1 28 TDI P1 28 TDI 15 P1 30 TMS P1 30 TMS 16 NC NC 17 NC NC 18 NC NC 19 PO 17 PO 17 20 PO 18 P0 18 21 P0 19 P0 19 22 P0 20 P0 20 23 P0 21 P0 21 24 P0 22 P0 22 25 P0 23 P0 23 26 P0 25 P0 25 27 NC NC 28 NC NC 29 NC NC 30 NC NC 31 NC NC 32 NC NC 33 NC NC 34 NC NC 35 AGND
2. 3 3V but the module includes a small voltage regulator that produces 3 3V from 5V Power consumption 65 mA 5VDC Crystal Oscillator 12MHz CPU speed 48MHz Peripheral speed 48MHz Module includes crystal for main clock Default operating speed is 12MHz can be boosted up to GOMHz using on chip PLL Module includes power on reset circuit as well as push button for manual reset All port pins up to 45 for SM2148 and up to 47 for SM2138 GPIO including JTAG pins available on connector All digital VO pins are 5V tolerant RS232 3 wire on separate connector useful for In System Programming or any other purpose Separate 2 pin berg is included for selecting ISP Program mode Other interfaces Two 12C configurable as Master or Slave Two SPI master or slave Two UARTs one with full modem support Module includes 12C compatible 64KB EEPROM AT24C512 for non volatile data storage Also includes crystal 82 768KHz for on chip RTC Battery for RTC backup maybe connected externally Module connector has pins for connecting external battery 3VDC only Analog Inputs Two ADCs up to 16 ADC channels 8 channels per ADC 10 bit resolution with conversion time as low as 2 44uS per channel On board 3 3V is connected to VREF pin Analog outputs One DAC output 10 bit resolution Compact footprint 35 mm X 45 mm Module has 2 through hole connectors 2 mm pitch dual row male pins each with 38 pins 2 rows of 19 pins Operating Temperatur
3. AGND 36 AGND AGND 37 DGND DGND 38 DGND DGND SPJETPL All Rights Reserved www spjsystems com Page 9 of 13 SPJ Embedded Technologies Pvt Ltd wore spnystems com SM21xx User s Manual 4 1 2 0 B It is a 19 x 2 male header with it s pins protruding down from the bottom of module Many pins have same meaning across all 4 modules but some have different meaning as shown below Pin SM2138 signal SM2148 signal 1 P1 16 P1 16 2 P1 17 P1 17 3 P1 18 P1 18 4 P1 19 P1 19 5 P0 28 P0 28 6 P0 29 P0 29 7 P0 30 P0 30 8 P0 31 P0 31 9 P0 0 P0 0 10 PO 1 PO 1 11 PO 2 PO 2 12 PO 3 PO 3 13 PO 4 PO 4 14 PO 5 PO 5 15 PO 6 PO 6 16 PO 7 PO Z 17 PO 8 P0 8 18 PO 9 PO 9 19 PO 10 P0 10 20 PO 11 PO 11 21 PO 12 PO 12 22 PO 13 P0 13 23 PO 14 PO 14 24 NC NC 25 PO 26 D 26 PO 27 D 27 NC NC 28 NC NC 29 PO 15 P0 15 30 P0 16 P0 16 31 P1 25 P1 25 32 P1 24 P1 24 33 P1 23 P1 23 34 P1 22 P1 22 35 P1 21 P1 21 36 P1 20 P1 20 37 DGND DGND 38 DGND DGND CAUTION All signals on IO A and IO B connectors are directly pins of ADUC702x processor and NOT all the pins are 5V tolerant Users must take care that voltage on these pins shall never exceed 3 3V or Vref or 5V as the case maybe for individual pin as it may cause
4. Magic into SM21xx Install FlachMagic Run the FlashMagic from start menu In Flash Magic go to Options gt Advanced Options gt Hardware Config Disable Use DTR and RTS to control RST and PSEN Click on OK 1 Connect the serial cable supplied with the board from SM21XX board to any com port of PC 2 Place jumper in PGM connector Switch ON power to the SM21xx 3 Do proper settings in Flash Magic COM Port COM1 if other choose it Baud Rate 38400 Device LPC2148 Interface None ISP Enable Erase blocks used by Hex File Browse the file which you want to download and click on Start button 4 Flash Magic will download the program Wait till download finishes 5 2 Running user program from flash 1 After downloading the program remove the jumper PGM 2 Either press reset button or switch OFF the board and again switch ON You can see output according to the program Note Flash Magic can be used to download the program into other Philips Microcontrollers also See the list in Flash Magic itself SPJETPL All Rights Reserved www spjsystems com Page 12 of 13 E SPJ Embedded Technologies Pvt Ltd wore spnystems com SM21xx User s Manual 6 Using SM21xx Module in your hardware 6 1 If you use EAGLE for schematic capture and PCB design We provide an EAGLE library which contains these modules as if they were components Name of this library is SM702x Ibr It can be downloaded from our web site It has 2 com
5. e Range By default 0 C to 70 C Extended temperature range on request Support EAGLE libraries available so module can be used as a component in your EAGLE schematic and PCB Similar libraries will be soon made available for other CAD packages Sample programs of many useful functions available 2 3 Optional accessories Serial Cable This is a small cable with 3 pin connector on one side compatible with the module and DB9 female connector on the other side compatible with a computer s COM port This is very useful for programming the module with the help of programming software running on computer Flash programming software utility is available from NXP web site We recommend to use FlashMagic as a flash programming tool SM BaseBoard Has sockets compatible with the SM21xx modules The BaseBoard provides some prototyping area as well as connectors in more standard format for example DB9 for RS232 SPJETPL All Rights Reserved www spjsystems com Page 5 of 13 www spjsystems com o SPJ Embedded Technologies Pvt Ltd SM21xx User s Manual 3 Module photos 3 1 As seen from top f _e e e es ase e e e mm j o e od e ese SPJETPL All Rights Reserved www spjsystems com Page 6 of 13 SPJ Embedded Technologies Pvt Ltd Tee SM21xx User s Manual 3 2 3D view SPJETPL All Rights Reserved www spjsystems com Page 7 of 13 SPJ Embedded Technologies Pvt Ltd
6. e ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 5 MODULE 3 OU NO 6 3 1 INS SEEN PROM TOP ke Re ee ipid ee De oe Ee sees Ge Ge GE eg Ge Ge Ge ee se ee oi ie ve ae eg Ged 6 3 2 AD VIE WE ER N OE OG EG GE 2 FEE Ee RE EE cE EG Eee eee TEP 7 CONNECTORS AND SWITCHES cccccccccscccscsccscsscsscsscccsesssesssscssscscssscssscssssssscscscsees 8 4 1 CONNECTOR DESCRIPTION iese ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 8 d TOA ee EE Ee erat Mein eRe Meena OE De E Oe Ee Ee RTE Dee 9 AND EA EE RE OE N a a r a aa 10 RA Ed EE EE OE EE EE EE N OE N 10 4 2 SWITCHES DESCRIPTION esse ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 11 42 1 RST Ee EE AD EE A SE TAE EE ETE SE E A A 11 4 2 2 PGM ME ER OE EE E EE T EE E N N 11 DOWNLOADING USER PROGRAM INTO MODULE AND RUNNING IT 12 5 1 DOWNLOAD PROGRAM USING FLASH MAGIC INTO SM21 XX ee ee ee ee ee ee ee ee ee ee 12 5 2 RUNNING USER PROGRAM FROM FLASH eed ees ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 12 USING SM21XX MODULE IN YOUR HARDWARE esse sees sees sees sees sesse ee es es es ee ee ee ee 13 6 1 IF YOU USE EAGLE FOR SCHEMATIC CAPTURE AND PCB DESIGN ese ee ee se ee ee ee 13 6 2 IF YOU USE SOME OTHER SOFTWARE ee ees es ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee ee 13 SPJETPL All Rights Reserved www spjsystems com Page 3 of 13
7. permanent damage to the module 4 1 3 X1 It is a 3 pin connector which has RS 232 signals Pin Signal 1 RS232 TXD 2 RS232 RXD 3 DGND SPJETPL All Rights Reserved www spjsystems com Page 10 of 13 E SPJ Embedded Technologies Pvt Ltd wun spjnystems com SM21xx User s Manual 4 2 Switches description 4 2 1 RST This is a push button for user reset Pressing this switch momentarily will apply a reset pulse to the RST pin of LPC21XX 4 2 2 PGM This is a two pin berg connector to enable In System Programming Refer to next section for usage of this connector as a programming switch SPJETPL All Rights Reserved www spjsystems com Page 11 of 13 E SPJ Embedded Technologies Pvt Ltd wun spjnystems com SM21xx User s Manual 5 Downloading user program into module and running it The LPC21xx micro controllers include on chip flash for storing user program and non volatile data LPC2148 and LPC2138 have 512KBytes flash This flash is In System Programmable ISP Therefore it is possible to download user program into on chip flash of LPC2148 LPC2138 through serial port connected to PC For doing so place jumper in berg strip shown as PGM For more details about PGM juper please refer to Connectors and Switches section above This section describes how to use the software Flash Magic to download program into on board microcontroller 5 1 Download program using Flash
8. ponents named SM2138 to SM2148 Each component has appropriate symbol Footprint package for all these components is same To integrate this module in your hardware simply create a schematic in EAGLE and add one of the 2 modules into it It s footprint will automatically appear in corresponding PCB You may complete PCB design as usual When PCB is fabricated you may solder 2 mm pitch female sockets dual row 19X2 pins each on it and then simply plug in the module into the female sockets 6 2 If you use some other software See below mechanical drawing of the module Note that it is same for all 4 modules However pin connections of IO A and IO B connectors maybe different for different modules as described above You may design your PCB according to this mechanical drawing and the pin connections described above 6mm 1 5mm on on OO OO OO O OO OO og OO OO oo OO OO OO OO OO OO OO O oo E loo oo E oo o oo loo OO T loo OO OO OO OO OO OO OO OO OO OO OO os OO OO EF NT d O O 2 5mm SPJETPL All Rights Reserved www spjsystems com Page 13 of 13
9. s SPJ Embedded Technologies Pvt Ltd wun spnystems com SM21xx User s Manual 1 Introduction This is user s manual for SM21xx series Modules from SPJ Embedded Technologies The module offers a quick way to use LPC microcontrollers for any application This module supports LPC2138 and LPC2148 fromARM7 family by NXP Hence this is a combined User s Manual for all above microcontrollers CAUTION These modules contain components that are sensitive to Electrostatic Discharge ESD The module must be handled carefully so as not to subject it to ESD As far as possible do not touch any conducting part on the module including any component or connector pins as this may damage parts of the module permanently If you must touch any of the parts make sure to discharge yourself to earth Parts damaged due to ESD are not covered by the limited warranty SPJETPL All Rights Reserved www spjsystems com Page 4 of 13 DO SPJ Embedded Technologies Pvt Ltd ww spjnystems com SM21xx User s Manual 2 Module Specifications 2 1 Hardware specifications 2 2 Supported microcontrollers LPC2138 and LPC2148 All these microcontrollers are ARM7TDMI architecture On chip 512KB ISP flash 32KB SRAM for SM2138 and 32 8KB for SM2148 This is enough for many applications like Instrumentation PID loop controllers and Data acquisition etc Supply voltage required 5VDC minimum 4 75V maximum 5 25V The microcontroller chip itself operates on
10. www spjsystems com SPJ Embedded Technologies Pvt Ltd SM21xx User s Manual SM21xx User s Manual SPJ Embedded Technologies Pvt Ltd 101 Beaver Grandeur Baner Road Pune 411045 INDIA Tel 91 20 27293002 Fax 91 20 27293003 spi spjsystems com hitp www spjsystems com SPJETPL All Rights Reserved www spjsystems com Page 1 of 13 SPJ Embedded Technologies Pvt Ltd bone spjnystems com SM21xx User s Manual Revision History Version Author Created Details of the changes made modified on 0 1 PDD 9 October 2009 Created initial draft 2 1 0 PVR 12 October 2009 Replaced pictures made minor aesthetic changes LIST OF ABBREVIATIONS SPJETPL SPJ Embedded Technologies Pvt Ltd DB Daughter Board SPJETPL All Rights Reserved www spjsystems com Page 2 of 13 amp SPJ Embedded Technologies Pvt Ltd bone spjnystems com SM21xx User s Manual 1 2 3 4 5 6 Contents INTRODUCTION avscsscedscssiccssccsccectassccececesccnasdescccnccesccscadssaceoncsdacedscsdeceascsoscncsdsseceoscscoasdsdesnces 4 MODULE SPECIFICATIONS cccccccscssscsssscssssssscscccscccscccsscesscessccssccsssesscssscesscssesossssses 5 2 1 HARDWARE SPECIFICATIONS cccccssseccesccccscccesceccsssecscccessecuecceuscccceseesseceeescesesseauecenenses 5 2 2 SUPPORT EE AE AE S E E E ee ES E E E EE 5 2 3 OPTIONAL ACCESSORIES ee ee ee se ee ee ee ee ee ee ee ee ee ee ee e
Download Pdf Manuals
Related Search
Related Contents
Kärcher 2.645-008.0 LATEX, un peu, beaucoup DX V3.0 Logging Formats Toshiba Satellite A665-S5180 FW-2501D TECHCONNECT TC2-HDMIP OWNERS MANUAL Docklight V2.1 User Manual 08/2015 Manual de Instruções Copyright © All rights reserved.
Failed to retrieve file