Home

LPC4357-EVB User Manual

image

Contents

1. arini ve 9 BEN DOE o e 9 SE SE A E TTE 10 S RA eue eee nn eee E en ee eee eee 10 po GD AA e e o A 11 A PPP E TE Omm 12 e E 13 SOCU ou a Peronerals Testi eu atak bon bla ol dakor tance A e aa GAE ki a E uU a kn T da ki bo AO 14 AR UIC cos 14 A Tm 14 AA e tk al PRYF FFYN n kai E sek e a 18 DP A eti a it at at a kon ala P 20 A PR 20 Sales amp Marketing sales en embedinfo com Technical support support enGembedinfo com 4 2 2 GPIO Led Blinky auuuuuuuuu eee aaa aaa aaa anku nkk nhk aa Dk Ann uan unn EAS ESE SI EAS ESE ES EEAS Au 21 RS DUAL COR EE E E A 21 SIE IPP 21 AS 2 VID dB pe AP A O O REO A 21 A a HYN RNA Dy n ty ia ok jape Fo IE AN AEF sa on ae kan ete 22 c A DO AP ke art NN be a NF NN FF e np ki a FF FFF ro o de at kote TE 22 AA SD NVI RO ER NF FFR FY YA HN ate ja eval nate E E kd a e te k tea aye 22 AZ DE NM A 23 A AP O E OE E EY e FFWR NEA E pe e a PN 23 ne S FFY FR NYCH PRYF RF AN PN FN AC DRE YN TAW sed PF it ES UON ANT 24 go THEE a NN Y NON E UU 24 Ak OZ 12511 om r re l e NN RCH HN AC E UE PO RW FT CI FE FFR HR kak 25 Ui o Ps WAN P X NR 25 M EO D FEN M YN ee fon n EU RF G etap al De SYN EE o ES E EHYS
2. P 25 WAR RTT FFAN 25 NT 2 eoa ENT EE 26 cT UC S KE aiii 26 ARS EE e RY pali pami A E E an 27 A TU T CD T E of sal at A e fi ae ii e a e e ky E EN EN FFR TYF mi a pa a a ea bata aa p 27 kI ASE FOT c 28 ASS UU HOS ET AE E 28 A TOS DA AI EN tt a ap kit ono A E l a e ap a a ka ap ra a annus 29 LLDD FETIO DEMO ai l tet ke tes e ok a ka it iso nee rt a a DO ka l ke tn n GEO pan ki 30 A AZ COSMOS NO fr ott va p tk aki te at T t 31 AT YE IN Eo AY ka ab peri n ken kant ke ai pot aaa mmm 31 Section 5 Purchase and ae YY LEE aaa aaa tata aa aaa aaaeetttoooaaaaeeaeetttoooooaeeeesestoooooooeeeoesooooooonooeoaoeoooooos 32 Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com Section 1 Introduction 1 1 Scope The User Manual introduces a functional Evaluation Kit LPC4357 EVB which based on NXP LPC4357 Cortex M4 core The manual is made up by five sections Section1 is scope and over view Section2 guides you to guick start the board Section3 describes the hardware features of the board Section4 lists software testing projects Section5 shows some other information 1 20ver View Figure 1 1 LPC4357 EVB 29 o o o o a o o o o o o o o o a oo oeelooo eo ooo A GS lt W E 2 eii
3. LCD VDZ2_ A14 ECD_VD21 l 7 LCD VDZ2 LCD VD23 B15 LCD VD23 LCD DE LCD LP LCD DCLK D4 TE LCD Disp L13 LU LCD DISP LCD PWR LCD BL USARTU RXD L11 LED_PWR USARTU TXDD USARTO RXD USAHT3 EXD N1U USARTO_TXD TP CS USART3 TXD TP DI TP BUSY NT Technical support support en embedinfo com 11 3 5 9 Touch Screen Touch Screen control module Figure3 11 e C40 100nF VCC3V3 AO0 DATAOUT e R14 STMPE811 10K U7 I2C Address 0X82 Sales amp Marketing sales en embedinfo com Test Point CD DCLK__ D4 IRLML6402 REDE OT EE j e Hr LC CD PWR B6 LC 10uF USARTO RXDO 111 LC C39 USARTO TXDO M9 jc USART3 RXD N10 JS USART3 TXD HE d N Ne TP TP 1 IP PENRO TT p I2CO SCL SDAT Technical support support en embedinfo com 12 3 5 10 Jumper Figure 3 12 Jumpers USBO Boot Mode Shown TOCOunm iuo or doc Din m rm oe PmRu5 i l i i au wb il pp IO CP Cn es A a aac AD edi dodo dedwa Table 3 1 Boot mode jumper settings Boot mode USARTO SPIFI EMC 8 bit EMC 16 bit EMC 32 bit USBO USB1 SPI SSP USART3 1 UP DN UP DN DN UP DN DP 2 UP UP DN DN UP UP DN DN DP 3 UP UP UP UP DN DN DN DN DP UP UP UP UP UP UP UP UP DN Sales amp Marketing sales en embedinfo com k L lt Lan
4. 3 5 6 User keys The board offers five user keys controlled by GPIOs Figure3 8 VCC3V3 R47 KEYO ap SELECT C71 3 ki K2 1 KEY1 mat UP C72 DLL 1 m KEY2 ER RIGHT 1 KEY3 2 Down KEY4 2b LEFT 3 5 7 Joystick The kit eguips a Joystick controlled by GPIOs Figure3 9 LED 3V3 R48 1K D6 BLUE VCC3V3 2 R34 2 R35 R36 2 R37 Z R38 10K 10K 10K 10K 10K yon KEY7 KEY8 Lo Loa KEY9 E ET pr 1 1 an ES n PO JA a a EE al LEE AA 5 a R MTO08 A Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 10 3 5 8 LCD A 4 480 272 LCD is optional module Here we offer its hardware interface Figure3 10 L3 10uH D1 BAT54C VCCSY C37 C36 FB R5 100nF T 10uF GND SHDN 108 ale a m c EE c pe C P LOLO J VLed 5 LCD VDO a 8 LCD VD3 3 9 LCD VD4 g 10 LCD VOS J e 14 LCD YDY 16 LCD VDT 7 H8 LCD VDE Y LCD VDA 22 CD vbt A H3 C0 Vbi A 24 LCD VD19 55 DVO 77 25 on 7 rea Sales amp Marketing sales en embedinfo com LCD BL ODYO A1 a LCD voi B1 LCD VDO LCD VD3 pa LCD VD LCD_VD6 Vi A7 LCD VD LED YDE LCD VD8 LCD VD9 LCD VD10 LCD VD11 LCD VD13 A6 LEU YOL LCD VD13 LCD VDi4 A12 LCD VD14 LCD VDi5 B11 LCD VDi6 Ca FCD_VD12 LCD VD16 LCD VDi8 A16 LED DI LCD VD18 LCD VDi9 C14 LCD VD20 ata LCD VD TS Vi LCD_VD20 LCD VD21 B12 LCD v
5. the other to PC Turn on the switch SW2 U Stick prepare a U stick Turn on the switch Build the project and download the image to the board as chapter 4 1 2 Phenomenon Reset the board After the PC realize the virtual COM open your terminal configured as below gt Baud rate 9600 Data bit 8bits gt Stop bit 1bit Check bit none gt Data flow control none Insert the U stick to the USB Host interface J4 The terminal will show the information as below a EARR la xi mE Er E E THE Ee SEDD EUY o FEO Hass Storage Host Demo running Device Attached Total LUNs 1 Using first LUN in device Vendor Generic Product Flash Disk Mass Storage Device Enumerated E Lame until ready Retrieving Capacity 1 82399 blocks of 512 bytes Contents block FA B BD 9 BC 4 9 3 USB HOST FAT The project describes how to read and write the U stick Preparation 1 Power support power line J8 connection 2 USB device connection connect the board to the computer through the USB device interface J7 Sales amp Marketing sales en Qembedinfo com Technical support support en embedinfo com 28 3 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 4 Turn on the switch SW2 5 U Stick prepare a U stick 6 Turn on the switch 7 Build the project and download the image to t
6. 5 A PE gt are hrs L hr L L L ere 3 a ON DIP L EI A RN 2 3 ar R a ee m Ou epe men acer oce ry B 1 9 LPC4357 EVB Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com Section 2 Quick Start You can refer to the Quick Start Guide for LPC4357 EVB Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com Section 3 Evaluation Kit Hardware 3 1 Block Diagram Figure 3 1 LPC4357 EVB Block Diagram Main chip 29 olojolojojajojo ejo o o o oja fa LPC4357 1 GOCXJOGOCGOCGCGOCOCGOCOCOCE 7 MUS a FD gl Power Supply x yo USB Device PII eu JTAG Plaan INN en eu bcdd n ud N i Jumpers me OR EN Ga En SDRAM d w m ad LPC4357 EVB Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 3 3 2 Physical Size Figure 3 2 front size 4x3 za M e e e e e e e a e DOUDOU ras _ b 3o ejeje SEIER ERIE s eise m die User face Tunna Inch v DON No l E Mim ep 00 NEU Mo T oa sms MO a F c me is o OO c gt EF f HT ED a Pats Pat Ud d l wd Se ee na DOI ET En ERP Mi p05 OL 5P1 GE El ste P m ELM LPC4357 EVB JO E 3 3 Electrical Parameter Supply Voltage 5 Volts DC Provided by power adapter Supply Current 0 5A Temperature 0
7. Browse and select another folder Destination Folder DE el Browse kel pevisiond Setup lt lt Back Cancel Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 15 Figure 2 4 Setup QE T 4_60 Customer Information KE li L Please enter your information Tools by ARM x Please enter pour name the name of the company For whom you work and your E mail address First Mame bt Last Name pyy Company Mame Shenzhen Embest Technology Co Ltd E mail zzz amp embedinfo com kel pewistond Setup lt lt Back Cancel Figure 2 5 Setup A 4_60 Setup Status YY KE l L Tools by ARM x pu ision Setup iz performing the requested operations Install Files Installing TAR MS TS dil kel pevisiond Setup Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 16 Figure 2 6 x Setup QE T 4_60 File inztallation completed YY KE l L Tools by ARM Kyision Setup has installed all fles successfully lw Retain current pvision configuration Add example projects to the recently used project list Preselect Example Projects for Simulated Hardware w kel pewistond Setup Figure 2 7 x Setup QE T Y4 60 Keil u YVision4 Setup completed S KE L MDK ARM 4 60 Tools by ARM Kyiston Setup has performed all requeste
8. and marketing sales en embedinfo com For Technical Support support en embedinfo com URL http www embedinfo com en Sales amp Marketing sales en Qembedinfo com Technical support support en embedinfo com 32
9. gt Data bit 8bits gt Stop bit 1bit Check bit none gt Data flow control none The terminal will show the check information as below Check ouer lhe whole SDRBM is good The SDRAM check 1s beginning Writing xff to SDRAM Verifying the SDRAM Check ouer lhe whole SDRBM is good The SDRAM check 1s beginning Writing Off to SDRAM Verifying the SDRAM Check ouer lhe whole SDRBM is good The SDRAM check 1s beginning Writing Off to SDRAM Verifying the SDRAM Check ouer lhe whole SDRAM is good The SDRRH check 1s beginning Writing xff to 4 11 Mp3 Playing Demo Location LPC4357 EVB Examples MP3Demo_dualcore The demo is a comprehensive application of the board It features as gt emWin graphics library gt Cortex MA4 for audio decoding and playing gt Cortex MO for HS USB and data transfer from USB stic _ Touchscreen controls playing list Preparation 1 Power support power line J8 connection 2 LCD connection connect the optional LCD to the board 3 U Stick download mp3 songs into the U stick and insert it to the board J4 4 Headphone connection use a earphone to connect the board J6 5 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 6 Turn on the switch SW2 Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 30 7 Build
10. 770 C Micro Controller LPC4357 256 pin BGA Board Size 105cm 75cm Weight 50g Peripherals 1 LCD interface for a QVGA LCD module sold as an optional accessory 2 Audio codec and audio jacks 3 Two USB ports one HS High speed USB host port and one FS Full Speed device port 4 3 axis accelerometer from Analog Devices 5 Five user input switches 6 Joystick Five way switch Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 7 One user LED 8 One ISP switch and one reset switch 9 Boot select switch 10 Crystals for controller RTC and audio codec 11 On board USB host power switch 12 20 pin Cortex debug header 3 4 ESD Precautions Please note that the LPC4357 EVB board and K430WQA V5 F LCD come without any casing box All components are exposed Therefore extra attention must be paid to ESD electrostatic discharge Precautions To make sure that there is no static interference when using this board Appropriate ESD protections must be taken and wearing electrostatic equipment is recommended such as wearing an anti static wristband ESD damage can range from subtle performance degradation to complete device failure Precision integrated circuits may be more susceptible to damage because of very small parametric changes could cause the device not meet its published specifications Warning This is a class A product in a domestic this product may cause radio
11. Infinite loop Ig Proj ect Registers Location Value Type Restricted Version with 32768 Byte Code Size Limit oo Q main Ox1ADODD4E Currently used 4656 Bytes 14 gt ASSIGN BreakDisable BreakEnable BreakKill BreakList BreakSet Call Stack Locals Quick start module is over and you can try the below examples Note the SD card and U Stick storage they re both no more than 2GB 4 2 GPIO Location LPC4357 EVB Examples 01 GPIO 4 2 1 GPIO Key A The project describes how to use keys through GPIO controller sb Preparation 1 Power support power line J8 connection 2 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 3 Turn on the switch SW2 4 Build the project and download the image to the board as chapter 4 1 2 sb Phenomenon Reset the board Press any key K1 K5 or joystick the LED D6 is on and out if you release Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 20 4 2 2 GPIO Led Blinky The project describes how to use LEDs through GPIO controller Preparation 1 Power support power line J8 connection 2 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 3 Turn on the switch SW2 4 Build the project and download the image to the board a
12. LPC4357 EVB User Manual Release V1 1 Date 2013 01 06 Embest Info amp Tech Co LTD Revision History Initial version Adding SDRAM Dore Core SD WAV HOST WAV HOST FAT examples Modify some schematic modules Modify Quick Start part 1 0 2012 11 05 1 1 2013 01 06 NN SS Sales amp Marketing sales en embedinfo com Technical support support en 9 embedinfo com Catalog A lol et ears a tf et E NG 3 SC UO LO OU CAN O ko it E m o mm 1 Be lt lt 1 e pitite r t ab tal dilate ati e A RH YN Y CY AR EE a a Na o ka RY FF ki E pa 1 dez WET VIEW e beki tir janw di e e ip FFF FFA HA EY EN I Y YC FR at ee at a e NR ee 1 S CHOU 2 QUIER Star ce pat ptit NR NF bati lata oia 2 Section 3 Evaluation Kit Hardware ccccccccccccccssssseeeccceeesaeeseeececeessaeesseeeeeeeesseeeeseeeeeeeessaeeasseeceeeessauaaseeeceseesaaas 3 SIM silere DIE Ez INTE RT FEE RR ND 3 3 2 2 SC Se got ak o 5 YN FC C tinet LE DSi uio UE ee 4 Dio FIGEAC ak AN A e E a ee a n ty REE O Y Ad ia pi pa on ban 4 AJE SE PE F CHWA ONE ke ae kk terse tes e al e E E a e n a e n a E FN set FYNY HR 5 3 9 Mdjor FOR con L G Ul n io an iio kan taa a atann O 5 ce FM FOS APP E HR NU en it RR NY FN ja RR 5 EON kit C PH ion 6 a Eia MIT T 8 3 5 4 USBHOST and USB OWN Ce etenn bn T
13. OK ARM v a4 bl This SETUP program may be used to update a previous product installation However you should make a backup copy before proceeding It iz recommended that you exit all Windows programs before continuing with SETUP Follow the instructions to complete the product installation Rel pizoni Setup Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 14 Figure 2 2 Setup HDE ARE Y4 60 Licenze Agreement KE li L Please read the following license agreement carefully Tools by ARM x To continue with SETUP pou must accept the terms of the License Agreement To accept the agreement click the check box below END USER LICENCE AGREEMENT FOR MDE ARIM THIS END USER LICENCE AGREEMENT PCLICENCE IS A LEGAL AGREEMENT BETWEEN YOU EITHER A SINGLE INDIVIDUAL OR SINGLE LEGAL ENTITA AND ARM LIMITED ARMM FOR THE USE OF THE SOFTWARE ACCOMPANYING THIS LICENCE ARM IS ONLY WILLING TO LICENSE THE SOFTWARE TO YOU OM CONDITION THAT YOU ACCEPT ALL OF THE TERMS IM THIS LICENCE BY CLICKING AGREE OR BY INSTALLING OR OTHERWISE USING OR COPYING ve Cancel kel pevisiond Setup Figure 2 3 x Setup QE T 4_60 Folder Selection 3 KEIL Select the folder where SETUP will install Files Tools by ARM SETUP will install pwistond in the following folder To install ta this folder press Next To install ta a different folder press
14. and download the image to the board as chapter 4 1 2 Phenomenon Reset the board and you can hear the aaa wav playing from your earphone 4 5 IZC ADXL345 Location LPC4357 EVB Examples 05 I2C_ADXL345 The project describes how to read coordinate on the ADXL345 registers Preparation 1 2 3 4 5 Power support power line J8 connection USB device connection connect the board to the computer through the USB device interface J7 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC Turn on the switch SW2 Build the project and download the image to the board as chapter 4 1 2 Phenomenon Reset the board After the PC realize the virtual COM open your terminal configured as below gt Baud rate 9600 gt Data bit 8bits Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 23 gt Check bit none gt _ Data flow control none Stop bit 1bit Shake the board terminal will show the coordinate information as below Dig B13 aD 5 4 6 I2S Location LPC4357 EVB Examples 06 12S K N EE X NE X NE A N S AN S A N W ANS value value value value value value value value value value value value value value value value value value value value TIERE 4 6 1 I2S warning The project describes how to use 12S controller to play audio files Preparation 1 Power suppor
15. com Technical support support en embedinfo com 19 File Edit View Project Flash Debug Peripherals Tools SVCS Window Help Ndg a A EE fE p delar av a o S laja HO BOBO Gaza return c entry 115 117 ifdef DEBUG 118 AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AAA AA AA AAA AAA AAA AAA AAA AA AAA A Ch AUN A ON AAA 119 Bbrief Reports the name of the source file and the source line number S 106 107 17 gt With ARM and GHS toolsets the entry point is maini this will 108 allow the linker to generate wrapper code to setup stacks allocate 109 heap area and initialize and copy code and data segments For GNU 2151 toolsets the entry point is through X start in the crt0 gnu asm a ka int file and that startup code will setup stacks and data a Lali int main void 113 EM 114 return c entry TIS 116 117 J ifdef DEBUG 118 PAS Privilege Stack be 119 Bbrief Reports the name of the source file and the source line number 120 where the CHECK PARAM error has occurred p ileal Gparam in file Pointer to the source file name 122 Gparam in line assert param error line source number 123 Greturn None 124 AS 125 void check failed uint8 t file uint32 t line 126 1277 User can add his own implementation to report the file name and line number 128 ex printf Wrong parameters value file s on line dirin file line 129 130
16. d operations successfully w Launch Driver Installation ULIME Pro Driver V1 0 lw Show Release Mates kel pevisiond Setup lt lt Back Cancel Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 4 1 2 Running Sample Here we choose a simple LED Blinky as the running demo A First we need to double click to open the project route LPC4357 EVB Examples 01 GPIO Gpio_LedBlinky Keil Gpio_LedBlinky uvproj 3 Gpio_LedBlinky Ww h ision4 Project 63 KB Secondly we build the project Here we offer 3 kinds of configuration for download or debug Inflash SPlflash and InterSRAM And we use Inflash to show the example Note INflash boot is prior to any other outside booting including SPIFLASH boot So you must erase the INflash memory if you want to use SPI flash boot and set the jumpers as below Other boot settings please refer to chapter3 5 10 File Edit View Project Flash Debug Peripherals To E InFlash A Startup hes 5 startup LFU4dxx s IFE Sof El CMSIS CM3 15 whit Lus system_LPC4axx G 16 pro G llriwers 17 NZP Ea lped3xx gpia c 15 ape i F lpedixx sou c 19 nnm Successfully build Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 18 4 Build Output compiling lpc43xx gpio c compiling lpc43xx seu c compiling lpod3xx cgu c compiling Gpio LedBlink
17. dio in J5 output by headphone out J6 or Speaker SP1 Figure3 5 BCKO WSG DATA BCKI WE DATA L3CLE SCL L5DATAFSDA L5MODE RESET 100nF four cob 100nF P TUF 258 TD nF 8 ort enQembedinfo com Su Technical support sales en Qembedinfo com Sales amp Marketing 3 5 4 USBHOST and USB Device USBO can be configured as USBO Host Device OTG mode and the USB1 can be Host Device Figure3 6 FB5 D and D are differential BLM15HG601SN1D pair with 90 ohm impedance VCC3V3 y USBO VBUS X R49 ro J7 USB Mini B 2 USB DP USBO VBUS FB7 USBO DM 2 gt n58 gt R50 BLM15HG601SN1D TUL 12 7 HS a a R50 33R R6215K etm U18 M2 USBO PNR EN 1 8 11 USBO PWR FAULT FWA OM A T 9 FB6 3 FLG A 6 vut 28506 BLM15HG601 3 gy VCC3V3 4 FLGB GND 7 33 76 77 ENB OUT B v ex eo t uo BLMISHGGO1SN1D LM3526M H NOPB 13 USBO VSSA OOnF 100nF B4 l 2 BLM15HG601SN1D Dr and D are differential pair with 90 ohm impedance 14 USB1 VBUS 12 USB1 DP ab 3 ye R56 5K 312 USB1 DM L AAA 11 l R55 JR n R5 K R53 15K C88 89 47pF n 3 5 5 SD card Figure3 7 VCC3V3 o c e C41 X 100nF a 0 SD CARD SD D2 R74 0R ORRI Md Pen SD D3 R LI EIE DAT3 SD CMD tn 3 i Ties 11 SD CLK LA A E SD DO R76 OR Fi SD Di R77 OR 9 9 8 SD CD R78 OR fe Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 9
18. e Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 21 4 3 3 Queue Demo The project describes how the dual cores communicate through mailbox function Preparation 1 Power support power line J8 connection 2 Headphone connection use a earphone to connect the board J6 3 U Stick prepare a U stick 4 WAV File copy the psy wav to your U Stick root directory You can also use your own wav file but you should rename it as psy wav 5 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 6 Turn on the switch SW2 7 Build the project and download the image to the board as chapter 4 1 2 Note First build MO image and then M4 After building download both MO and M4 image into the board Phenomenon Reset the board Then insert the U Stick and you can hear the music from either the speaker or the headphone 4 4 SD card Location LPC4357 EVB Examples 04 SDcard 4 4 1 SD_WR_RD The project describes how to read and write the SD card Preparation 1 2 3 4 5 6 Power support power line J8 connection USB device connection connect the board to the computer through the USB device interface J7 SD card connection put a SD card in the SD card interface J10 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC Turn on the switch SW2 Bui
19. e psy wav to your U Stick root directory You can also use your own wav file but you should rename it as psy wav 12 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 13 Turn on the switch SW2 14 Build the project and download the image to the board as chapter 4 1 2 Phenomenon Reset the board Then insert the U Stick and you can hear the music from either the speaker or the headphone 4 7 LCD Location LPC4357 EVB Examples 07 LCD 4 7 1 lcd The project describes the LCD display Preparation 1 Power support power line J8 connection 2 LCD connection connect the optional LCD to the board 3 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 4 Turn on the switch SW2 5 Build the project and download the image to the board as chapter 4 1 2 Phenomenon Reset the board You can see a picture displayed Sales amp Marketing sales en Qembedinfo com Technical support support en embedinfo com 25 4 7 2 lcd multi The project describes the LCD play two pictures Preparation 1 Power support power line J8 connection 2 LCD connection connect the optional LCD to the board 3 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 4 Turn on the switch SW2 5 Build the project and download the image to the board as chapter 4 1 2 P
20. g la Le Le lus lue DHP 44216 gn m Description Boot from device connected to USARTO using pins P2 0 and P2 1 For flash parts enter UART ISP mode Boot from Quad SPI flash connected to the SPIFI interface on P3 3 to P3 8 Boot from external static memory such as NOR flash using CSO and an 8 bit data bus Boot from external static memory such as NOR flash using CSO and a 16 bit data bus Boot from external static memory such as NOR flash using CSO and a 32 bit data bus Boot from USBO Boot from USB1 Boot from SPI flash connected to the SSPO interface on P3 3 function SSPO SCK P3 6 function SSPO MISO P3 7 function SSPO MOSI and P3 8 function SSPO SSEL Boot from device connected to USART3 using pins P2 3 and P2 4 For flash parts enter UART ISP mode Technical support support enQembedinfo com 13 Section 4 Peripherals Testing We offer relevant software to realize its hardware function All the projects are running in keil MDK4 60 4 1 Ouick Start 4 1 1 Preparation Need a debugger Here we use ULink2 Recommended PC system configuration as below 2 0GHz or higher of the CPU 512M RAM USB interfaces A serial interface Windows XP operating system FFFFFFRF KEIL4 60 Integrated Development Environment installed The following steps teach you how to install it Figure 2 1 Setup QE T 4_60 X Welcome to Keil u Yision KE L Release 3 2012 YY Tools by ARM This SETUP program installs MD
21. he board as chapter 4 1 2 a Phenomenon 1 Create a txt file named 1 You can write anything in this file save it and put it in the U Stick Here I write as below Ssss Hello embestt 2 Reset the board After the PC realize the virtual COM open your terminal configured as below gt Baud rate 9600 Data bit 8bits gt Stop bit 1bit Check bit none gt Data flow control none Insert the U stick to the USB Host interface J4 The terminal will show what you ve written in the 1 txt file as below Device Attached Total LUNs 1 Using first LUN in device Vendor Generic Product Flash Disk Mass Storage Device Enumerated Reading string from the file in U DISK i ha the file Hello embest 4 10 SDRAM Location LPC4357 EVB Examples 02 SDRAM The project describes how to read and write the SD card Preparation 1 Power support power line J8 connection 2 USB device connection connect the board to the computer through the USB device interface J7 3 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 4 Turn on the switch SW2 Sales amp Marketing sales enQembedinfo com Technical support support en embedinfo com 29 5 Build the project and download the image to the board as chapter 4 1 2 Phenomenon Reset the board After the PC realize the virtual COM open your terminal configured as below gt Baud rate 9600
22. henomenon Reset the board You can see two beautiful pictures displaying 4 8 Touch screen Location LPC4357 EVB Examples 08 Touch_Screen The project test the touchscreen Preparation 1 Power support USB device J7 or power line J8 connection 2 LCD connection connect the optional LCD to the board 3 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 4 Turn on the switch SW2 if you choose the power line support 5 Build the project and download the image to the board as chapter 4 1 2 Phenomenon Reset the board PC will inform you to install a driver Do as it request The inf file Ipc18xx vcom lies here When you ve installed it the virtual COM will show in your device manager Then open your terminal configured as below gt Baud rate 115200 gt Data bit 8bits gt Stop bit 1bit gt Check bit none gt _ Data flow control none Press K1 and insert the U stick again The terminal will show the touch coordinate information as below The x value 3749 The y value 3480 The z value 201 The x value 3789 The y value 335 The z value 217 The x value 355 The y value 3349 The z value 58 The x value 213 The y value 356 The z value 212 Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 26 4 9 USB Location LPC4357 EVB Examples 09 USB 4 9 1 USB CDC The project describes how to make USB device as a virt
23. interference in which case users may be reguired to take adeguate measures 3 5 Major Functional Modules 3 5 1 Processor The LPC43xx are ARM Cortex M4 based microcontrollers for embedded applications which include an ARM Cortex MO coprocessor up to 1 MB of flash up to 264 KB of SRAM advanced configurable peripherals such as the State Configurable Timer SCT and the Serial General Purpose 1 O SGPIO interface two High speed USB controllers Ethernet LCD an external memory controller and multiple digital and analog peripherals The LPC43xx operate at CPU freguencies of up to 204 MHZ The ARM Cortex M4 is a next generation 32 bit core that offers system enhancements such as low power consumption enhanced debug features and a high level of support block integration The ARM Cortex M4 CPU incorporates a 3 stage pipeline uses a Harvard architecture with separate local instruction and data buses as well as a third bus for peripherals and includes an internal pre fetch unit that supports speculative branching The ARM Cortex M4 supports single cycle digital signal processing and SIMD instructions A hardware floating point processor is integrated in the core The ARM Cortex MO coprocessor is an energy efficient and easy to use 32 bit core which is code and tool compatible with the Cortex M4 core The Cortex MO coprocessor designed as a replacement for existing 8 16 bit microcontrollers offers up to 204 MHz performance with a simple instructio
24. ld the project and download the image to the board as chapter 4 1 2 Phenomenon Reset the board After the PC realize the virtual COM open your terminal configured as below gt Baud rate 9600 Data bit 8bits gt Stop bit 1bit Check bit none gt Data flow control none Press K1 terminal will show the information as below SD card demo is runing thenumber wewriteinis a the number we read from is a thenumber wewriteinis a Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 22 the number we read from is a the number we write in is a the number we read from is a the number we write in is a the number we read from is a Verify success 4 4 2 SD WAV The project describes how to play WAV file in the SDcard Preparation 1 2 3 4 5 6 7 8 Power support power line J8 connection USB device connection connect the board to the computer through the USB device interface J7 WAV file copy the aaa wav to your SD card root directory You can also use your own wav file but you should rename it as aaa wav SD card connection put the SD card in the SD card interface J10 Earphone connection connect your earphone to the board through the headphone interface J6 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC Turn on the switch SW2 Build the project
25. n set and reduced code size More feature detail you can refer to NXP official site http www nxp com documents user manual UM10503 pdf Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 3 5 2 Memory The LPC4357 processor features an external memory controller and SPI Flash Interface SPIFI Two kinds of memory devices are connected One 256Mbits SDRAM using EMC One 256Mbits SPI Flash performs through SPIFI Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com Figure3 3 SDRAM module N EMC AD BOOT3 nan EMC DO NENA DQ1 eE NEMC AS 9 UGZ NEM S Men EMC A4 DOU B EMC D4 N EMC AB BOOTO ue MED EMC A7 BOOT 32 EMC AB BOOT2 DOT EMC De Dos 24 EWC DI EMC A10 DO 5 EC DU 7 DO10 DOT EMC D12 NENA Dun ES pona er EMC Di4 7 NEMC AM 21 Di NE ane 38 VOD 44 VDD2 NE VDD3 73 EMC DMTO VDDO1 3 NZ vss 468 wssoa au V55S04 Figure3 4 SPIflash module VCC3V3 lAl BI PO e C69 100nF alii O EL CO RO W SP1 R81 DNP FLSH RST 1 38 T LA gt gen nRST 1 Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 3 5 3 Audio The processor is configured in IIS mode to interface with the stereo audio coder decode UDA1380 Sound can be input through au
26. s chapter 4 1 2 Phenomenon Reset the board The LED D6 is blinking 4 3 DUAL CORE Location LPC4357 EVBNExamplesN03 DUAL CORE 4 3 1 Int Demo The project describes how the dual cores communicate through interruption Preparation 1 Power support power line J8 connection 2 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 3 Turn on the switch SW2 4 Build the project and download the image to the board as chapter 4 1 2 Note first build MO image and then M4 After building download M4 image into the board Phenomenon Reset the board The LED D6 is blinking 4 3 2 Mbx Demo The project describes how the dual cores communicate through mailbox function Preparation 1 Power support power line J8 connection 2 Headphone connection use a earphone to connect the board J6 3 U Stick prepare a U stick 4 WAV File copy the psy wav to your U Stick root directory You can also use your own wav file but you should rename it as psy wav 5 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 6 Turn on the switch SW2 7 Build the project and download the image to the board as chapter 4 1 2 Note first build MO image and then M4 After building download M4 image into the board Phenomenon Reset the board Then insert the U Stick and you can hear the music from either the speaker or the headphon
27. t power line J8 connection 2 Headphone connection use a earphone to connect the board J6 3 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 4 Turn on the switch SW2 5 Build the project and download the image to the board as chapter 4 1 2 Phenomenon Reset the board You can hear the warning sound from either the speaker or the headphone Sales amp Marketing sales en embedinfo com Technical support support enQembedinfo com 24 4 6 2 IS MIC The project describes how to use 12S controller to play audio files Preparation 1 Power support power line J8 connection 2 Headphone connection use a earphone to connect the board J6 and connect its microphone with the board through J5 3 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 4 Turn on the switch SW2 5 Build the project and download the image to the board as chapter 4 1 2 Phenomenon Reset the board First you can hear a piece of soft music from the headphone and after that you can speak loudly to the microphone then you ll hear what you say from the earphone 4 6 3 2S wav sb The project describes how to use 12S controller to play audio files Preparation 8 Power support power line J8 connection 9 Headphone connection use a earphone to connect the board J6 10 U Stick prepare a U stick 11 WAV File copy th
28. the project and download the image to the board as chapter 4 1 2 Phenomenon Reset the board Press playing button in the LCD and you can hear the music playing You can see the playing list and choose playing pre or next start or pause 4 12 UcosIII demo Location LPC4357 EVB ucos lll The project shows a basic function of ucoslll version3 02 a Preparation 1 Power support power line J8 connection 2 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 3 Turn on the switch SW2 4 Build the project and download the image to the board as chapter 4 1 2 Phenomenon Reset the board You can see the D6 is shining One task makes it on and another makes it down 4 13 emWIN display Location LPC4357 EVB Examples emWin_GUIDemo The project describes the emWIN function Preparation 1 Power support power line J8 connection 2 LCD connection connect the optional LCD to the board 3 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 4 Turn on the switch SW2 5 Build the project and download the image to the board as chapter 4 1 2 Phenomenon Reset the board You can see dynamic pictures displayed Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 31 Section 5 Purchase and service If you are interested in the board you may connect Sales
29. ual COM working as a serial port Preparation 1 Power support power line J8 connection 2 USB device connection connect the board to the computer through the USB device interface J7 3 JTAG Debugger Connection One end is connected to JTAG interface on the board J9 the other to PC 4 Turn on the switch SW2 5 Build the project and download the image to the board as chapter 4 1 2 4 Phenomenon Reset the board After the PC realize the virtual COM open your terminal configured as below gt Baud rate 9600 Data bit 8bits gt Stop bit 1bit Check bit none gt Data flow control none Press key K1 K5 terminal will show the information as below Di siz lia l pressing pressing pressing pressing pressing pressing pressing pressing pressing pressing pressing pressing pressing pressing pressing pressing pressing pressing pressing pressing pressing pressing pressing ENS n n2 0 3 Ashta onn o Mw cr RAT 1 FAPS anm 8 FT Sales amp Marketing sales en embedinfo com Technical support support en embedinfo com 27 4 9 2 USB HOST The project describes how to read and write the U stick Preparation 1 2 3 4 5 6 7 Power support power line J8 connection USB device connection connect the board to the computer through the USB device interface J7 JTAG Debugger Connection One end is connected to JTAG interface on the board J9
30. y c linking Program Size Code 3218 RO data 1551 RW data cd Z l data 052 FromELF creatina hex file User command 1 B YEeilY yW ARMYWEBINNEIfDwT exe InFlashMexample axf BASEADDRESS 0x 14000000 ELFDWT Signature Creator 11 1 COPYRIGHT Keil n ARM Company Copyright C1 2012 Updated Signature over Range 32 0x14000000 0x14000018 BOXIADDDDIC 0x43FFFOSA Processing completed no Errors InFlashMexample axf 0 Erraris O Warnindisi 4 Download After building we download image to the board Click the download button and waiting ED kay softraretLPC435T EVE LE ranplesi01 GPTIOkGpio LedBlinkyik File Edit View Project Flash Debug Peripherals Tools SVCS J mum Lo BL Li Y nnn e s SHI m i Download code to flash memory E InFlash llingroup GP Startup 40 11 0 E startup LPC43xx s dl Ig CMSIS CM3 42 EBE system LPCAJxx G 43 Bey Driver J XXX KKK KKK XK Bl E lpet3xx_gpio e 45 define LED1 El m 2 lped3xx sou c 46 define LENDI Pi AA YA 1ne0439 ren n a7 Successfully download as below Load TD XT software LPC4357 EVB Examples li GcPIQO Gpic Erase Done Programming Done Verify OE Running Reset the board You can see the LED D6 is blinking Debug You can also choose to debug the example You just need to click the debug button after building the example As below Sales amp Marketing sales en embedinfo

Download Pdf Manuals

image

Related Search

Related Contents

  @ 1 2 4 5 3 # ! 0 9 8 7 6  4WD Roof TRAY - 4x4 Tough  SERVICE MANUAL  MR-24™ ROOF SYSTEM INSTALLATION MANUAL MAY 2011  FV2200    Bolens 13057 Lawn Mower User Manual  

Copyright © All rights reserved.
Failed to retrieve file