NXP Semiconductors OM6290 Скачать руководство пользователя страница 15

 

 

NXP Semiconductors 

UM10300

 

User Manual OM6290

UM10300_1  

© NXP B.V. 2008. All rights reserved.

User manual 

 Rev. 1.0— 8 August 2008 

15 of 30

Features include: 

ƒ

  60-MHz, 32-bit ARM7TDMI-S with AHB/APB interfaces 

ƒ

  512 KB of ISP/IAP Flash 

ƒ

  40 KB of SRAM 

ƒ

  Very fast Flash programming via on-chip boot loader 

ƒ

  USB 2.0 full-speed (12 Mbps) device 

ƒ

  Two 10-bit A/D converters, providing 14 analog inputs 

ƒ

  10-bit D/A converter 

ƒ

  Multiple serial interfaces: two I

2

C, two UARTs, one SPI, and one SSP 

ƒ

  Two 32-bit timers 

ƒ

  Real-time clock and Watchdog timer 

ƒ

  45 Fast I/O pins (5-V tolerant) with up to 15-MHz switching rate 

ƒ

 Single 3.3-V supply 

ƒ

  LQFP64 package (10 x 10 x 1.4 mm) 

 

5.  Using µVision and FlashMagic 

In order to be able to modify or write code the following software is required: 

  Windows Operating System (Windows 2000, Windows XP or Windows Vista); 

  A development tool for ARM7 cores providing source code editing, compiling, linking 

and debugging. A good (free) option is the evaluation version of the Keil RealView 
MDK-ARM Microcontroller Development Kit. At the time of writing the first release of 
this manual, the latest is mdk322a, which is Version 3.22. This can be downloaded at 

https://www.keil.com/demo/eval/arm.htm

 (registration required). The RealView MDK 

includes 

μ

Vision (Integrated Development Environment, Debugger and Simulator) 

and RealView compilation tools for C/C++ and linker. For more information see 
http://www.keil.com/arm; 

  Programming utility FlashMagic to flash the .hex file into the LPC2148, see 

http://www.flashmagictool.com.  FlashMagic is freeware. 

5.1 Keil µVision 

Evaluation Software from Keil has very few limitations. Each evaluation tool set includes 
the assembler, compiler, linker, debugger, and IDE. These tools allow to evaluate the 
quality of the generated code, the speed and flexibility of the debugger, and the ease-of-
use provided by the µVision IDE. 

Keil ARM Evaluation Kits are code size-limited and have the following restrictions: 

  The Evaluation Version of the µVision IDE/Debugger may not be used to create 

commercial products;  

  Programs that generate more than 16K Bytes of code and data will not compile, 

assemble, or link;  

  The evaluation tools create Symbolic Output Format when the RealView compiler is 

selected. Fully licensed tools generate standard ELF/DWARF files;  

  The debugger supports programs that are 16K Bytes or smaller;  

Содержание OM6290

Страница 1: ...trate and evaluate three different types of LCD drivers The PCF8576D is a segment driver the PCF2119 a character driver and the PCF8531 a dot matrix driver The NXP family of LCD drivers consists of th...

Страница 2: ...ights reserved User manual Rev 1 0 8 August 2008 2 of 30 Contact information For additional information please visit http www nxp com For sales office addresses please send an email to salesaddresses...

Страница 3: ...ntrolled LED driver for back light ARM7 based NXP microcontroller LPC2148 with 512 KB flash memory User modifiable firmware In System In Application Programming ISP IAP via UART USB2 0 compliant inter...

Страница 4: ...t 2008 4 of 30 2 Board description and layout Below the top view of the board is given LCD3 is the large display on the left For this display a backlight is used which is controlled by the PCA9633 LED...

Страница 5: ...ower or battery power 2 2 LED indicators The board contains two LED indicators LED D7 green indicates that 5V is present on the board supplied either via USB or via the 9V battery The 3V3 is derived f...

Страница 6: ...to explore more of the options of the on board microcontroller Therefore three optional areas may be mounted by the user of the board in order to add extra functionality 1 Real Time Clock of LPC2148...

Страница 7: ...opment Environment Debugger and Simulator and RealView compilation tools for C C and linker For more information see http www keil com arm Programming utility FlashMagic to flash the hex file into the...

Страница 8: ...ycling through texts NXP Engaging NXP Excellence USE SW3 FOR BACKLIGHT and NXP PCF2119s Hereafter the cycle starts again When the message USE SW3 FOR BACKLIGHT is displayed SW3 does not control what i...

Страница 9: ...x 80 segments PCF8534A 4 x 60 PCF8562 4 x 32 and PCF8566 4 x 24 3 1 2 Features single chip LCD controller driver selectable backplane drive configuration static or 2 3 4 backplane multiplexing selecta...

Страница 10: ...ig 2 Block diagram of PCF8576D 3 2 Character Driver PCF2119 3 2 1 General Description The PCF2119x is a low power CMOS LCD controller and driver designed to drive a dot matrix LCD display of 2 line by...

Страница 11: ...s Oscillator requires no external components but using an external clock is also possible Display Data RAM 80 characters Character Generator ROM 240 5 x 8 characters Character Generator RAM 16 5 x 8 c...

Страница 12: ...ADDRESS COUNTER VDD1 VLCD2 VSS1 T1 VLCD1 44 to 49 VLCDSENSE 36 37 to 43 22 to 29 20 T2 21 T3 153 163 1 to 6 VDD2 7 to 14 VDD3 15 to 18 C1 to C80 R17DUP R1 to R18 OSC PD PCF2119x DB0 to DB2 DB3 SA0 DB4...

Страница 13: ...ow and 128 column outputs Display data RAM 34 128 bits 128 icons last row is used for icons Fast mode I2 C bus interface 400 kbit s Software selectable multiplex rates 1 17 1 26 and 1 34 Icon mode wit...

Страница 14: ...ember of the NXP ARM7 controller family This microcontroller is based on a 16 bit 32 bit ARM7TDMI S CPU with real time emulation and embedded trace support and embedded high speed flash memory of 512...

Страница 15: ...ase of this manual the latest is mdk322a which is Version 3 22 This can be downloaded at https www keil com demo eval arm htm registration required The RealView MDK includes Vision Integrated Developm...

Страница 16: ...d 0x12800000 It is not possible to generate position independent code or data The RealView C C Compiler does not generate a listing file The CARM compiler assembler and linker only available in older...

Страница 17: ...s all the source code for the demo that is programmed into the on board LPC2148 when shipped The demo project can be modified and downloaded to the board Run Vision and under the menu item Project sel...

Страница 18: ...result in lower code performance compared to ARM instructions they will achieve a much higher code density High performance speed is not needed here and thus Thumb Mode is used This can be selected u...

Страница 19: ...ormation provided here is useful Vision uses either the ARM RealView compilation tools the ARM ADS compiler the GNU GCC compiler or the Keil CARM compiler Older versions of the Keil uVision IDE came w...

Страница 20: ...t uses a serial protocol and allows programming while the controller is in the target hardware and supports the entire LPC2000 family except LPC288x Most important features Straightforward and intuiti...

Страница 21: ...devices revision G or higher Able to control the DTR and RTS RS232 signals when connected to RST and PSEN to place the device into BootROM and Execute modes automatically An example circuit diagram i...

Страница 22: ...9 is given Fig 10 Screenshot Flash Magic Remark Some boards were programmed with code compiled using CARM compiler If the code compiles using RealView but does not run after programming the LPC2148 ch...

Страница 23: ...not an issue if power is supplied via USB Refer to Chapter 9 for technical data When the board is first plugged into the USB port of the PC Windows will ask for a driver for Philips LPC2148 VCOM The h...

Страница 24: ...roller If reading the device signature does not function select Options Advanced Options on the menubar of the FlashMagic program Then select the tab Hardware Config and uncheck the option Use DTR and...

Страница 25: ...SU 2 PCF8531U 2 LPC2148FBD64 Segment Driver Character Driver Chip On Glass Graphic Driver Chip On Glass Microcontroller Peripheral connections 1 x USB Interface 1 x RS 232 Interface 1 x JTAG Interface...

Страница 26: ...0805 R18 R29 470 resistor 0805 R14 R15 R16 1 k resistor 0805 R10 1k5 resistor 0805 R11 2k2 resistor 0805 R28 4k7 resistor 0805 R22 R23 6k8 resistor 0805 R7 R9 R19 R20 R21 R30 R31 R32 R33 R34 R35 R36...

Страница 27: ...eset circuit SOT143 VR1 LM1117MP 5 0 Voltage regulator SOT223 VR2 LM1117MP 3 3 Voltage regulator SOT223 D1 D2 D3 D5 D6 BAS16 Small signal diode SOT23 D4 HSMD A100 L00J1 LED orange PLCC 2 D7 HSMG A100...

Страница 28: ...ilable on the CD but the latest versions can be downloaded from NXP s website www nxp com or on www standardics nxp com 1 Product data sheet PCF8576D 2 Product data sheet PCF2119 3 Product data sheet...

Страница 29: ...ncluding without limitation specifications and product descriptions at any time and without notice This document supersedes and replaces all information supplied prior to the publication hereof Suitab...

Страница 30: ...of operation 7 3 The LCD Drivers 8 3 1 Segment Driver PCF8576D 9 3 1 1 General Description 9 3 1 2 Features 9 3 1 3 Block diagram 10 3 2 Character Driver PCF2119 10 3 2 1 General Description 10 3 2 2...

Отзывы: