Home
MYD-LPC435x/185x user manual
Contents
1. N zo 7 New Multi Project Workspace eu Open Project Project Close Project 5 SPIFI 128M 3 Startup Export E syste Manage EE a E Select Device for Target SPIFI128MB 2 start PE n Remove Item 3 Drivers i E debi X Options for Target SPIFI128MB e E Ipod Clean target E E lpc4 Ej Build target E H IP gea all target files E 4 Es Ipc4 Batch Build 2 3 Main a S A a Adc S Translate D work_myir MYD LPC4300 ProductionCD 05 MDK_Source 01_ADQ Adc_Burst Main Adc_Burst c E D m dees e Stop build Figure 3 6 3 4 MDK Routine Debug and Download 3 4 1 MDK Routine Debug and Download Alt F7 F6 F7 Ctri Alt F7 Ctri F7 The following is configuration of MDK program and it has a hardware emulator ULink2 in advance If need it please contact us to purchase it 1 After opening project open setting dialog box and select Debug Refer to figure 3 7 33 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual EI Options for Target SPIFI 128MB x Device Target Output Listing User EXCH Asm Linker Debug A Use Simulator Settings Use ULINK2 ME Cortex Debugger v ULINK2 ME Cortex Debugger v s se Limit Speed to Real Time Paine cae Tense T Load Aoplcaten Se T Run to maini Initialization File j j El Edit lena AS
2. M4 and Cortex MO processors brings the advantage of developing DSP and MCU applications within a single architecture and development environment The Cortex M4 processor combines the benefits of a microcontroller with high performance digital signal processing features such as single cycle MAC Single Instruction Multiple Data SIMD techniques saturating arithmetic and a floating point unit The Cortex MO coprocessor off loads many of the data movement and I O handling duties that can drain the bandwidth of the Cortex M4 core With its dual core architecture and unique set of configurable peripheral the LPC435x enables customers to develop a wide range of applications MYD LPC185x development boards are latest launched by MYIR which based on Cortex M3 kernel are full featured evaluation kit Cortex M3 is the kernel of the next generation providing better performance than ARM 7 at the same clock frequency and other system enhancements such as modern debug and a higher level of the block integration The processor which contains 200KB SRAM and 64KB ROM has the function of system programming and application programming MYD LPC435x 185x both have 32 MB SDRAM 2 MB NorFlash 4 MB SPI Flash 64 KB EEPROM and also extend SD Card interface USB Host Device interface CAN interface RS485 interface audio input output interface LCD interface JTAG interface function keys etc A wide range of applications are used in the field of motor control po
3. 0 M Y R Make Your Idea Real MYD LPC435x 185x User Manual 3 Configure development environment and select LPC1857 or LPC4357 Flash Bank chooses Bank 0 0x1A000000 Refer to figure 3 16 Flash Magic NON PRODUCTION USE ONLY Sta ss File ISP Options Tools Help Hlal gyv BR zlel lech r Select LPC4357 Erase block D 041A 000000 0x1A001FFF SLED Eise block 1 0410002000 041A003FFF 3 Flash Bark Bank 0 0x14000000 527 Erase bloch a LPC1830 a UART bootloader E SE a ank D i Ss Lecies7 Ox1A07FFFF Flash LPC1850 memory d LPC1853 Bank 1 512KB Y LPC1857 0x1807FFFF Flash W 2 LPC4072 memory i 2 LPC4074 RAM blocks H 010000000 gt y d LPC4076 0x10007FFF i Y LPC4078 0x10080000 gt LPC4088 0x10089FFF i 0x20000000 gt 0 Ja 0x20007FFF d G LPC4320 020008000 gt d d LPC4330 Ox2000BFFF i LPC4350 0x2000C000 gt i tep 2 Ox2000F FFF 4 step Flash erased value i DAFF Figure 3 16 COM Port communication port is based on computer Here choose COM1 In order to ensure stability baud rate is recommended to select 9600 at the first time It can choose 57600 behind slowly improvement Crystal oscillator selects 12M Select Hex File in IFlash and select Verify after programming Active Flash Bank Erase blocks used by Hex File Refer to figure 3 17 41 MYIR TECH LIMITED www myirtech com
4. 39 MYIR TECH LIMITED www myirtech com 0 M Y R Make Your Idea Real MYD LPC435x 185x User Manual qn z Flash Magic NON PRODUCTION USE ony E Lalleng File ISP Lotions 1 Tools a Step 2 Erase LPC4357 Erase block 0 0x14000000 0x14001FFF a Erase block 1 0x14002000 0 1A003FFF 7 Flash Bank Bank D 0x14000000 Erase block 2 0x14004000 0x14005FFF Erase block 3 0x14006000 0x14007FFF COM Port COM 1 Erase block 4 0x14008000 014009FFF Baud Rate Erase block 5 0x14004000 0x14008FFF1 F Erase all Flash Interface None ISP e mmm Erase blocks used by Hex File Oscillator MHz 12 Step 3 Hex File Hex File E Jakebo MYD LPC1850 4350 LPC435 E xamples 03_BOOTFAS Modified Unknown more info Verify after programming Fill unused Flash _ Gen block checksums _ Execute Activate Flash Bank Visit the Flash Magic home page for info on the latest revision www esacademy com software flashmagic Figure 3 14 2 Choose Use DTR and RTS to control RST and ISP pin in Hardware Config in Advanced Options then click OK Refer to figure 3 15 Advanced Options m wm e em Communications Hardware Config Security Justin Time Code Timeouts Misc Keep RTS asserted while COM Port open T1 50 Ims T2 100 me Assert DTR and RTS while COM Port open Figure 3 15 40 MYIR TECH LIMITED www myirtech com
5. M Y R Make Your Idea Real MYD LPC435x 185x User Manual MYD LPC435x 185x user manual Version V1 2 MYIR TECH LIMITED www myirtech com CH M Y iR Make Your Idea Real MYD LPC435x 185x User Manual Version History V1 0 Initial Version 2012 10 24 Add 7 0 inch screen support modify the functional description v1 1 2013 02 22 of the sample program Nvic_VectorTableRelocation v1 2 modify the contact information 2013 03 28 MYIR TECH LIMITED www myirtech com e M Y iR Make Your Idea Real MYD LPC435x 185x User Manual DIRECTORY Chapter 1 Product Cep scscnsciniciniesncsinansniwdncenniniisnns and nnusninswanssnndainunisaneanuaninanssnwanuwnen 1 1 1 See MN arar a a e ar a 1 1 2 Product EEN eege 2 1 3 Product Features eege 2 1 4 Product Configuration A 5 Chapter 2 Hardware IntroGuctiOn 1c ccc ccssscnccancssecansactancsacsancacsancsaccaascesanssneanaasscnssaacenacaias 6 2 1 Hardware Resources Introduchon ENEE 6 2 2 Main Module pre ue moroso 7 2 2 1 Main Processor LPC435xX 185X cocooonocococcconoccccnnnnnnnncnnnnnnccnnnnnnnnnncnnnnncnnnnnnns 7 2 2 2 SDRAM MO aa 8 2 2 3 NORFLASH Module cuac A a 9 be 10 2 2 5 Ethernet ee nt 11 2 25 Audio MOS ra ai 12 eer RT 13 2 2 8 User Button and Reset Circuit ia 14 A eee re ee eee re ee re ee 15 2 2 10 EEProm ModulS copiar 15 221 ag ul 16 2 3 Peripheral Interface Introduction ee 17 2 3 1 ia AAPP 17 2 3 2 CAN and RS485 IMG aCe civic iii 18 Re RE 19
6. User interface circuit is shown in figure 2 20 EE D ynnamen aart mm 5 a EN g E amp E Sa O o C 2 e mor ong on a H E D WEBBER RE gaa af i ES ER WO WO eh eh sl sh en s NANNwO tH 3 a N MYIR TECH LIMITED www myirtech com 21 0 M Y R Make Your Idea Real MYD LPC435x 185x User Manual Figure 2 20 2 4 Jumper and BOOT Setting 2 4 1 Jumper Setting de Connect 1 to 2 and use UARTO to output debugging information The Default connect 2 to 3 and use compiler options of project must be UART3 to output debugging added to the DBG_UARTO Connect JP2 information 2 to 3 using UART3 to output debugging information Default disconnection lt needs to Connection ISP download mode JP3 connect in ISP download while Disconnection Normal mode others must be disconnected Connect 2 to 3 by default When JP5 Connect 1 to 2 enable CAN1 then starting from NorFlash 2 should be jp CAN1 can t be used connected to 3 otherwise 6 NOrFlash can t be used Need to connect when using JTAG Connection enable DEBUG JP7 debug or download connect by Disconnection disable DEBUG default Table 2 2 2 4 2 BOOT Setting Dial switch circuit is shown in figure 2 21 22 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual BOOT 3 6 EMC_AO 3 6 EMC_A8 3 6 EMC_A7 3 6 EMC_A6 Figure 2 21 The functions are as f
7. gt LPC185xFET256 Cortex M3 kernel frequency at up to 180MHz Up to 1 MB total dual bank flash memory with flash accelerator 200KB chip SRAM 64KB chip ROM containing boot code and on chip software drivers V Vv V WV 128 bit universal OTP External memory gt 32 MB SDRAM gt 2 MB Nor Flash gt 4MB SPI FLASH gt 64KB EEPROM Audio Interface gt A3 5mm Audio input interface gt A3 5mm two channel audio output interface LCD touch screen interface gt 24bit true color gt Resolution maximum support 1024 x 768 Data transmission interface Three serials UARTO UART2 and UART3 UART2 needs external MAX3232 One high speed USB HOST interface One Mini USB OTG interface One Ethernet MAC Two CAN interface One RS485 interface Vv Vv V VV V WV Micro SD Card interface 3 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual Debug Interface gt Standard JTAG interface LED Indicator gt One system power indicator LED red gt Six user LEDs Other peripheral resources gt One temperature sensor MYD LPC435x 185x development board which is stable and reliable has a strong expansibility The mainly applicable field gt Communicate Point of sale terminal Web server multiple protocol bridge gt Industrial Medical e automation controller application control robot control HVAC PLC Converter Circuit breakers Medical scanning Security monitoring motor
8. R Make Your Idea Real MYD LPC435x 185x User Manual Ab fte phew SDRAM Figure 2 1 2 2 3 NORFLASH Module NORFLASH chooses SST39VF1601 chip Its characteristics are as follow gt gt Single Voltage Read and Write Operations 2 7V to 3 6V Superior Reliability Endurance 100 000 Cycles Typical e Greater than 100 years Data Retention Low Power Consumption typical values at 5 MHz e Active Current 9 mA typical e 3LuA Standby Current 3pA typical e Auto Low Power Mode 3pA typical Support Sector Erase Capability Block Erase Capability Chip Erase Capability Fast Read Access Time 70ns 90ns 9 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual gt Automatic Write Timing NORFLASH circuit is shown in figure 2 2 3 EM n 3 2 8 10 11 NRST Nor Flash Figure 2 2 2 2 4 SPI FLASH Module SPI FLASH Module chooses AT25DF321A Its main characteristics are as follows gt Serial Peripheral Interface SPI Compatible module O and module 3 gt Operating Frequency at up to 85MHz SPI interface gt Fast Program and Erase Times 1ms Typical Page Program 256 Bytes Time 50ms Typical 4 Kbyte Block Erase Time 25ms Typical 32 Kbyte Block Erase Time 400ms Typical 64 Kbyte Block Erase Time gt Endurance 100 000 Program Erase Cycles gt Data Retention 20 Years 10 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC4
9. 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual Sh Flash Magic NON PRODUCTION USE ONL File ISP Options Tools Help dle J ES Step 1 Communications Step 2 Erase LPC4357 Erase block D 0x14000000 0 14001FFF a Erase block 1 0x14002000 0x14003FFF EI Flash Bank Bank 0 014000000 i Erase block 2 0x14004000 0x14005FFF Erase block 3 014006000 0x14007FFF COM Port COM 1 Y Erase block 4 0x14008000 0x14009FFF Baud Rate 57600 e Erase block 5 0x14004000 0x1400BFFF Erase all Flash Interface IV Erase blocks used by Hex File Oscillator MHz 12 Lol So Step 3 Hex File Hex File E Jakebo MYD LPC1850 4350 LPC4350 E xamples 03_BOOTFA sd Hr D O O Step 5 Start _ Gen block checksums Activate Flash Bank Your Training or Consulting Partner Embedded Systems Academy WAN esacademy com Figure 3 17 4 Connect UART to COM Note ensure that the COM port used by ISP isn t occupied by other applications and click ISP gt Read Device Signature then Flash Magic will recognize LPC1857o0r LPC4357 ID Refer to figure 3 18 Manufacturer ID Ox Device ID 1 Ox Device ID 2 Dx Device ID Ox AOO01C830 Bootloader Ver 12 1 SerialNumber 50524188 2870840327 1342463846 4110418563 42 MYIR TECH LIMITED www myirtech com 0 M Y R Make Your Idea Real MYD LPC435x 185x User Manual Figure 3 18 5 Recognize board and
10. to start program Press twice if system was in sleep or power save mode Connecting PC and Mini USB J12 interface on board by USB it can test on USB MassStorge USB HID USB DFU Phenomenon Indicates 1 HID Interface Test Double click HIDClient exe The file location C Keil ARM Utilities HID_Client Release HIDClient exe After opening drop down menu choose the device HID then click check box and the device can receive the return PC status There will be a check box next to Inputs which is chosen Refer to figure 3 29 HID Client Human Interface Device Device HID e EN puts UI Di VMS Outputs LEDs Figure 3 29 2 USB MassStorage Test Open My computer there will be a 32K unformatted removable disk Format it then can read write copy it 3 DFU Test Run DFU download tools on PC 3 31 2 Usb_Dfu 88 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual gt Function description This example demonstrates USB DFU Device Firmware Upgrade application by USB ROM driver More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode Connecting PC and Mini USB J12 interface on the development board by USB a
11. 2 34 USB OTG HOST Interface cms 19 EE WEE 20 2 3 6 LCD and Touch Screen Interface AAA 20 2 3 7 User GAGS ie 21 2 4 Jumper and BOOT Gettng ANNE 22 MYIR TECH LIMITED www myirtech com e M Y iR Make Your Idea Real MYD LPC435x 185x User Manual 241 Jumper SettiNg A 22 24 2 BOOT ls aa 22 Chapter 3 MDK Router 25 3 1 MDK Software Resources Introducton ENNEN 25 3 2 Default Configuration uste te leoo 28 3 2 1 Serial Configuration E 28 3 2 2 Jumper Settings sra 29 3 3 MDK Configuration and Compilation oooonnnncnncccccnnncconancnnonnccnoncnnnnnnnnnn nn ccnnnnnns 29 3 4 MDK Routine Debug and Download 33 3 4 1 MDK Routine Debug and Download 33 3 4 2 Download Program by ULINK2 occrticnndnanaiin diia 36 34 3 ISP DOWNIOAQ EE 39 34 4 DFU Ru E aa E ERa 43 3 4 5 Internal Pass 43 ee 46 39 Ade BUS io 46 35 2 AOC DIMA P P AA 47 AP UA 47 Kee nn 48 A A oon a sere pest cece 49 3 6 1 Atimer Wir 49 E AP eee eens 50 3 7 1 Fast_Gpio_LedBlinky cara oa 50 3 8 CCAN Ao PP e EGO eran re error errr er 50 3 8 1 LAT IS Dis iio 50 A A rene e 51 3 9 1 CGU_measureFreq econ 51 3 10 Cortex M3 Cortex M EEN 52 3 10 1 CortexM3_Bitband CortexM4 Diband oon0aannnnnnnnnnnennnnnenenensnnnnrennnenne 52 3 10 2 CortexM3_Mpu CortexM4 Mou 53 MYIR TECH LIMITED www myirtech com e M Y iR Make Your Idea Real MYD LPC435x 185x User Manual 3 10 3 CortexM3_Privilege CortexM4_ Privilege ooooooooccccccnnccccccccccccccccoccncnnn
12. 226 Eeer 75 cs Ao mA EQ 75 927 S9P EE 76 KE Ee E 76 e EP 77 3 20 TIMER zein eee ee EE 78 3 28 1 Timer_Capture AAA PPP 78 3 28 2 Timer_FreqMeasure ANNE EEN 79 3 28 3 Timer_Matchlnterrupt sica 80 3 28 4 Timer_MatchPolling EE 80 A PP a GU o re errr errr 81 3 29 1 Uart Autobaud z iiini aiee eai 81 329 2 Varn DIMA EE 82 3 29 3 Uart_Interrupt E 82 3 29 4 Dart Polls 83 3 29 5 Uart _Rs485Master occcccccccoonccnnnnnnnnconononnonnnnnnnononnnnnnnnnnnnnnnononnnanineninnnines 84 3 29 6 Uart _Rs485Slave cccccccccccccooccccnnnnnnnnnnnnonnonnnnnonononnnnnnnnnnnnnnnononnanncnnnnnnnnnns 84 MYIR TECH LIMITED www myirtech com M Y iR Make Your Idea Real MYD LPC435x 185x User Manual 2 00 US BOE a 85 3001 Usb Cad eE a eea EEE e ea aS eia e Tea E EREE 85 30 2 Usb MAGS lo siii 86 2 31 USBDEV ROM ect ill 87 3 31 1 Uso OM OSS ege leas 87 232 USD RT 88 e EE os 89 3 31 4 Usb_MassStorage ci eg ecERENER he EEN Ee r 90 332 USBHOS nn 90 3 32 1 HID e E 90 ez 91 330 1 Wdt JEE nina 91 Appendix 1 sales FAQ and technical support eene NEEN IK MBSE MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual Chapter 1 Product Overview 1 1 Product Description MYD LPC435x development boards are latest launched by MYIR which based on Cortex M4 kernel are full featured evaluation kit The LPC435x the world s first asymmetrical dual core digital signal controller architecture featuring ARM Cortex
13. 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode Connecting PC and Mini USB J12 interface on the development by USB and then test USB MassStorage gt Phenomenon Indicates Open My computer there will be a 32K unformatted removable disk Format it then can read write copy it 3 32 USBHOST 3 32 1 HID Kbd gt Function description This example demonstrates connect USB keyboard to USB1 More details refer to 90 MYIR TECH LIMITED www myirtech com 7 M Y R Make Your Idea Real MYD LPC435x 185x User Manual project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode Open the serial and insert USB keyboard follow prompt and observe results in terminal gt Phenomenon Indicates 3 33 WDT 3 33 1 Wdt_Interrupt gt Function description This example demonstrates WDT generates interrupt after a specific time More details refer to project abstract txt gt Procedures 91 MYIR TECH LIMITED www myirtech com 7 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3
14. EMAC Emac_EasyWeb application Emc_NorFlash external Nor Flash literacy test EMC Emc_Sdram external SDRAM read write test Gpdma_Flash2Ram The GPDMA test of Flash to Ram Demonstrate how to use the GPDMA Link list GPDMA Gpdma_LinkList function Gpdma_Ram2Ram GPDMA test GPIO Gpio_LedBlinky Use GPIO driver LED lights light water effect IC Master Use 12C to read and write UDA1380 register I2c_EEProm Read and write external EEPROM through 12C 12C Use an external temperature sensor through l2c_LM75B 12C 125 12s_ Audio Output audio via 12S bus Color stripes displayed on the LCD panel is LCD Lcd_ Demo controlled by touch screen cursor Configure NVIC priority and test Nvic_Priorities tail chaining Late arriving in interrupt mode in NVIC group Nvic_VectorTableRelocatio Describe how to relocate vector table n OTP OTP_API Demonsirates how to use on chip OTP 26 MYIR TECH LIMITED www myirtech com Mr R Make Your Idea Real MYD LPC435x 185x User Manual programming function Attention Start up mode the default is SPIFI start after the running of this routine development board can only be specified in the code which has nothing to do with coding switch SW2 state Carefully run Pwr_DeepPowerDown Test in deep low power mode as well as RTC interrupt wake Pwr_DeepSleep Test to enter Deep Sleep mode and interrupt wake up through the WIC PWR Tes
15. after downloading to start program The terminal displays result gt Phenomenon Indicates 64 MYIR TECH LIMITED www myirtech com 7 M Y R Make Your Idea Real MYD LPC435x 185x User Manual 3 17 2 12c_LM75B gt Function description This example configures 12C as master and demonstrates operation 12C and LM75B gt Procedures Configure the development and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Chang tLM75B temperature and observe results in terminal gt Phenomenon Indicates 3 17 3 l2c_Master 65 MYIR TECH LIMITED www myirtech com M Y R Make Your Idea Real MYD LPC435x 185x User Manual gt Function description This example configures I2C as master and demonstrates operation of UDA1380 More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program The terminal displays result gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors 12C demo MCU Ipc43xx Core ARM Cortex M4 This example configures DC as master mode write 2 bytes to UDA1380 s 0x00_register then read back to verify kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
16. and Mini USB J12 interface on board by USB then opening my 86 MYIR TECH LIMITED www myirtech com 0 M Y R Make Your Idea Real MYD LPC435x 185x User Manual computer check that whether there is added removable storage device LPC4300 USB in this case using LPC435x demo gt Phenomenon Indicates After open My computer there will be a removable storage device LPC4300 USB Refer to figure 3 27 4 Devices with Removable Storage 3 E Ga DVD RW BD ROM Drive F Drive H Figure 3 27 After opening it there will be a README txt which is only read Refer to figure 3 28 File Edit View Favorites Tools Help Q Back Q Ki ES Search Key Folders Eh Address File and Folder Tasks y Other Places dao CH My Documents CO Shared Documents d My Computer My Network Places Figure 3 28 At the same time it can be created copied deleted modified on the disk 3 31 USBDEV_ROM 3 31 1 Usb_Composite gt Function description This example demonstrates achieve a USB Composite MassStorage HID and DFU 87 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual application by USB ROM driver More details refer to project abstract txt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading
17. kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors Power control demo MCU Ipc43xx Core ARM CORTEX M4 Communicate via UART3 115200 bps This example used to enter system in sleep mode and wake up it by using WAKEUPO pin K1 key on the board kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Press 1 to start demo Enter sleep Press K1 key on the board to exit sleep mode Waked up from sleep 3 23 RIT 3 23 1 Rit_Interrupt gt Function description This example demonstrates configure RIT as a timer to generate interrupt More details refer to project abstract txt 72 MYIR TECH LIMITED www myirtech com M Y R Make Your Idea Real MYD LPC435x 185x User Manual gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 after downloading press RESET button to start program press RESET twice If the system is in power saving or sleep mode Pressing K1 to wake up system and observe D13 status gt Phenomenon Indicates D13 flashes at 0 5Hz 3 24 RTC 3 24 1 Rtc_Alarm gt Function description This example demonstrates generate interrupt in Minute and Alarm interrupt at 30s More details refer to project abstract txt gt Procedures Configure board and PC serial port by default configuration Download program by chap
18. rase Full Chip I Program C Erase Sectors C Donot Erase Verify IT Reset and Run Start 0 10000000 Size 0 0800 Programming Algorithm Description DeviceType Device Size Address Range LPC18xx 43xx IAP 512kB FI On chip Flash 512k 14000000H 1407FFFFH LPC18xx 43xx IAP 512kB FI On chip Flash 512k 18000000H 1807FFFFH Start Size Figure 3 21 8 Click Download Refer to figure 3 22 svcs File Edit View Project Flash Debug Peripherals Tools Window D dda 8 JP RAR Fes Ey EN E a IFlash ES Be 0 13 IFlash obps shal 28 data bit Ge Startup 5 i EEA No parity SS a SKS 33 21 stop bit H Drivers a4 Noa flaw enntra Figure 3 22 After completing above steps Internal Flash will be erased and board checks BOOT setting According to these settings it will start from different media It is noted that the above is used to erase Internal Flash routine If download routines rather than erase Internal Flash it needs to return original configuration 2 Use ISP Jumper JP3 The method doesn t need to erase Internal Flash Concrete steps are as follows Connect JP3 45 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual Press the reset button 3 Release the reset button Disconnect JP3 3 5 ADC 3 5 1 Adc_Burst gt Function description This example demonstrates ADC single dual c
19. to measure input signal frequency through its CAPO 2 Use timer 3 to generate different frequency signals kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk 79 MYIR TECH LIMITED www myirtech com C M Y iR Make Your Idea Real MYD LPC435x 185x User Manual Press c to continue measuring other signals Please input frequency from 1 to 999 hz 00678 Measuring 00678hz Press c to continue measuring other signals Please input frequency from 1 to 999 hz 00999 Measuring 01000hz Press c to continue measuring other signals 3 28 3 Timer_Matchinterrupt gt Function description This example demonstrates timer Match generates specific time in interrupt mode More details refer to project abstract txt gt Procedures Connect Pin16 in J16 to Pin4 in J17 and then configure the development and PC serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode The terminal displays result gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors Timer Match interrupt demo MCU Ipc43xx Core ARM Cortex M4 Communicate via UART3 115200 bps Using Timer 0 to generate interrupt at frequency 1Hz Match interrupt occurred Match interrupt occurred Match i
20. wake up it by using WAKEUPO pin kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Press 1 to start demo Enter deep sleep Press K1 key on the board to wakeup system Waked up from deep sleep 3 22 3 Pwr_PowerDown gt Function description This example demonstrates system in power down mode and wake up it by EVRT Interrupt More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program press RESET twice H the system is in power saving or sleep mode Pressing K1 to wake up system and observe D13 statues gt Phenomenon Indicates Pressing K1 will trigger interrupt and LED light blinks twice 71 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual 3 22 4 Pwr_Sleep gt Function description This example demonstrates system in sleep mode and wake up by WIC interrupt More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program press RESET twice If the system is in power saving or sleep mode Pressing K1 to wake up system the terminal displays result gt Phenomenon Indicates
21. 0bps This is a long string It transferred in to DMA memory and transmit through Tx line on UART3 peripheral To use UART with DMA mode FIFO function must be enabled I m typing here 3 29 3 Uart_Interrupt 82 MYIR TECH LIMITED www myirtech com M Y R Make Your Idea Real MYD LPC435x 185x User Manual gt Function description This example demonstrates UART in interrupt mode More details refer to project abstract txt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode Inputting letter A or a start detect the baud rate automatically character inputted to terminal will be back to manifest Phenomenon Indicates Hello NXP Semiconductors UART interrupt mode demo using ring buffer MCU Ipc43xx ARM Cortex M4 UARTS 9600bps am typing eee 3 29 4 Uart_Polling gt Function description This example demonstrates UART in polling mode More details refer to project abstract txt Procedures Configure boards and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode Inputting letter A or a start detect the baud rate automatically chara
22. 3 10 2 CortexM3_Mpu CortexM4_Mpu gt Function description This example demonstrates MPU protects memory region More details refer to project abstract txt file gt Procedures Configure board and PC serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Follow prompt and observe results in terminal gt Phenomenon Indicates 53 MYIR TECH LIMITED www myirtech com M Y iR Make Your Idea Real MYD LPC435x 185x User Manual kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Setup MPU This provide 8 regions Region 0 Local SRAM 0x10000000 1MB Region 1 Static Memory 0x1C000000 64MB Region 2 AHB RAM 0x20000000 64MB Region 3 DYCSO 0x28000000 128MB Region 4 AHB Peripheral 0x40000000 64MB Region 5 DYCS2 DYCS3 0x60000000 512MB Region 6 SPIF Data 0x80000000 128MB Region 7 ARM BUS 0xE0000000 1MB Region 2 can not access just used for testing Enable MPU Press 1 to try to read memory from region 1 Read successful Press 2 to try to read memory from region 5 Read memory at this region is not allow LED D10 will blink LED D13 flashes on board 3 10 3 CortexM3_Privilege CortexM4 Privilege gt Function description This example demonstrates change privilege to unprivileged mode More details refer to project abstract txt g
23. 35x 185x User Manual SPI FLASH circuit is shown in figure 2 3 U5 3V3 3 SPIFILNCS 3 SPIFISCK 3 12 SPIFI MOSI gt 2 SPIFOMISO lt c51 3 SPIFILSIO2 lt 3 SPIFLSIO lt gt SPI Flash Figure 2 3 2 2 5 Ethernet Module Ethernet Module chooses DP83848 chip Its characteristics are as follows gt Low power 3 3V 0 18um CMOS technology gt 3 3V MAC Interface gt IEEE802 3u Auto Negotiation and Parallel Detection gt IEEE802 3uENDEC 10BASE T transceivers and filters Ethernet circuit is shown in figure 2 4 11 MYIR TECH LIMITED www myirtech com MYiR Make Your Idea Real MYD LPC435x 185x User Manual u7 2 25 H iovonss 25MHZ_OUT 3 i AVDD a PFEIN Hi 4 c72 074 R PFBINI gp HOME PWR_DOWNINT sf J i To 12 LA x2 TD 10 RD 4 st moc MDIO P RX_CLK sl ROS ppg DNE RXDVIMII_MOOE ES AS meng 3 ETH_CRS lt p 7 POCERO EN LED SPEED AN1 L 5 ETHRX ER SH El gt COLPHYADO LE ACTICOUIAN EN E lt EE 8 3 ETH_RXD1 d 7 RXD_1 PHYAD2 kale S RXD_2PHY NC2 Hi CS FOD_3 PHYADA NC3 RRI NC4 Ncs Hig A NCB 3 ETH_TX_EN Let PEN vA LN s KS SEA 3 ER 2 HG PD 0 raias eren apf 1 mo BS a pol ean g PO Di eg lm ent wee pa rr 97 E 29 AGND 7 2 6 10 11 NRST gt RESET_N DGND OPES Figure 2 4 2 2 6 Audio Module Audio Module chooses UDA1380HN Its characteristics are as follow 2 4 to 3 6 V power supply Slave BCK and WS signals 12S bus format Multiple format data outp
24. 5 LED2 D pitt Red R90 470R 5 LED3 gt ou Red R91 470R 5 LED4 gt D13 Red R112 470R 5 LEDS gt D14 Red R113 470R 5 LED E We Figure 2 9 2 2 10 EEProm Module EEProm chooses AT24C512 lts characteristics are as follow gt Two wire Serial Interface gt Bidirectional Data Transfer Protocol 15 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual gt Schmitt Triggers Filtered Inputs for Noise Suppression 1 MHz 400 kHz Compatibility High Reliability e Endurance 1 000 000 Write Cycles e Data Retention 40 Years Self timed Write Cycle AT24C512 circuit is shown in figure 2 10 5 I2C1_SCL 5 12C1_SDA 3V3 3413 33 IIC U14 1010000 m R102 DNP IIC U15 1001001 Figure 2 10 2 2 11 Temperature sensor Temperature sensor chooses STLM75M2E Its characteristics are as follow gt gt gt gt gt Power supply range from 2 8 V to 5 5 V Temperatures range from 55 C to 125 C Operating frequency 20Hz to 400kHz Temperature accuracy of e 2 C from 25C to 100 C e 3 C from 55 C to 125 C Programmable temperature threshold and hysteresis set points STLM75M2E circuit is shown in figure 2 11 16 MYIR TECH LIMITED www myirtech com MYiR Make Your Idea Real 3V3 3V3 T 5 I2C1_SCL 5 12C1_SDA IIC U14 1010000 Figure 2 11 2 3 Peripheral Interface Introduction 2 3 1 UART Interfac
25. 54 Uap eg stn cea he pa cease een cree eee eee 55 311 Haeren siehe en ee 55 312 DUALCORE il 55 3121 Nnt DOMO Siinai i a ed deg deed ridenti 55 3 122 MDX DEMO E 57 3 12 3 Queue Demo 58 SIE WAS tn pts 59 3 13 1 Emas BAG y VV GD pts 59 E E 60 3 14 1 Em Nortlaehb 60 3 14 2 EMG ZE 61 RE E E 62 SC a Gpdma Flash2 RaM pili 62 3 15 2 Gpdma_LinkList APP ee ers 62 3 15 3 pana Ham Raid 63 916 GPIO PP eames 64 3 16 1 Gpio_LedBlinky corners 64 A ae eens ee ae eee ae 64 3 17 1 120 EEbrom ooooonnccnncnnnccccconnccnnnnnnononononnnonnnnnnnonononnnnnnnnnnnnnnnnnnnnnnnenininines 64 RA E EE 65 31 3120 Master una deeg Ea leede keen iege dina 65 SG bo ee eee ee eee er 66 3 18 1 25 AP A EENE EEE EaR S 66 STILO EE 67 CN Dee WR 99 0 Seen eee ee eee 67 3 20 Ns A ee 67 3 20 1 Nvic_PriOritiesS sescrersusisreunenonn iano EEE 67 3 20 2 Nvic_VectorTableRelocation ccooocconncncnnnccccccconnccnnononononononanononnnnnnnns 68 SAE ONE EE 69 MYIR TECH LIMITED www myirtech com e M Y iR Make Your Idea Real MYD LPC435x 185x User Manual 321 1 OTP EE 69 eA o cence ethos acetate eae 69 3 22 1 EE RE 69 322 2 E o UU ela ems 70 3 22 3 Pwr_PowerDowWN ccccccccccccconncccnnnnnnncononnnncnnnnnnnonononnnnnnnnnnnnononnnannnnnnnnnnnes 71 3 224 E EN 72 329 Altos 72 PP 72 IS 73 3 24 1 Rte Alarm icien er aaa ieda a aaa 73 3 24 2 Hie CGalbratton 74 EL eee er een eer oe eee ree ee E eee eer eer 74 329 1 SOLO F aElwWEIER egene 74 9
26. 5x 185x User Manual gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode Insert a Micro SD card follow prompts and observe results in terminal gt Phenomenon Indicates 3 26 SPIFI 3 26 1 SPIFI_Test gt Function description This example demonstrates SPIFI library read write an external QSPI serial flash 75 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode Pressing K1 to wake up system and observe D13 gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors SPIFI demo MCU LPC4300 Core ARM CORTEX M4 Communicate via UART3 115200 bps kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Initializing SPIFI driver OK devSize 0x400000 memSize 0x400000 Erasing QSPI device OK Programming verifying QSPI device OK The entire test procedure requires a
27. 6 107 print_menu Sec 0 o0072 1087 ADC initialize 7 SEL Si 109 ADC conversion rate 200K E Project S registers A Command H Call Stack Locals Setup 0x10000000 Get ready to execute image in SRAM or whatever region it is i Name Location Value Type g main Cannot access Memory al centry 0x100019DE int f0 Cannot access Memory E 4 tmp 0x10002E7C auto unsigned int il gt G ode value 0x00000000 auto unsigned int p lt not in scope gt auto struct lt untagg gt l i a ns z y ASSIGN BreakDisable BreakEnable BreakKill BreakList BreakSet BreakAccess COVERAGE E Call Stack Locals EE Memory 1 Figure 3 9 35 MYIR TECH LIMITED www myirtech com 0 M Y R Make Your Idea Real MYD LPC435x 185x User Manual 3 4 2 Download Program by ULINK2 Note Firstly copy all the FLM files in 05 MDK Source LPC1 85x 435x Tools Flash Utility KEIL to the directory keil ARM Flash The FLM file is FLASH burning algorithm file which is used to download program Prepare for board and Ulink2 and power cord connect Ulink2 to JTAG J13 and then turn power on By default each project component has already configured It needs to select one of the components in step1 SPIFI 128MB or NorFlash to compile in figure 3 10 After compilation is completed click Download button to download in figure 3 13 It needs to check and set only when download fails 1 Open 05 MD
28. 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode Open serial follow prompt and observe results gt Phenomenon Indicates 92 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual Appendix 1 sales FAQ and technical support How to buy We accept paypal payment and bank wire transfer 1 Paypal payment Please select the products add into shopping cart the checkout web page will redirect to paypal com for you payment Shipment fee will calculated automatically by your location region 2 Bank wire transfer Please email or fax us with products list you want we will send you a pro invoice with order value total shipping cost and bank information Shipping details Please select the shipping area catalogue for you location If you have carrier account to pay the shipment fee please select Freight collect and email us the carrier account Please visit http www myirtech com support asp for more details Noted 1 The shipment will start in 3 biz days by Fedex Express it usually take 7 days to reach regular cities or regions 2 We will use DHL Express for West asia or middle east countries it usually take 7 days to reach regular cities or regions 3 The remote regions defined by Fedex DHL may cause delay 14 days in generally 4 Some countries have strict import policy we will help to make shipping invoice with yo
29. AM for Algorithm region need to fill in corresponding size Start is 10000000 Refer to table 3 5 Click Add to add Flash algorithm refer to figure 3 12 SPIFI 128MB then select Flash algorithm SPI Flash LPC18xx 0x8000 click Add on a return interface lastly click OK 37 MYIR TECH LIMITED www myirtech com MYiR Make Your Idea Real Add Flash Programming Algorithm S29GL064N Dual Flash S29JL032H_BOT Flash S29JL032H_TOP Hash S3FM02G 16kB Data Flash S3FM02G 384kB Prog Flash S3FM02G Smart Option SiM3x 128kB Flash SiM3x 256kB Flash SiM3x 32kB Flash SiM3x 64kB Flash SN32F700 32kB User ROM SPl Alash_LPC18 0x140 SPl Hash LPC1 amp x 0x800 On chip Flash Ed Flash 16 bit Et Flash 32 bit Ex Flash 16 bit Ex Flash 16 bit On chip Flash On chip Flash On chip Flash On chip Flash On chip Flash On chip Flash On chip Flash On chip Flash Ed Flash SPI Ext Flash SPI SST39VF1601 LPC1850 Lal Geo Figure 3 12 MYD LPC435x 185x User Manual SPIFI LPC18xx_43xx_SPIFLini SPI Flash LPC18xx 0x8000 0x8000 128MB SST39VF1601 MYD LPC4350 NorFlash LPC18xx_43xx_ExtFlash16Prog ini 0x8000 1850 LPC18xx 43xx IAP 512kB Flash Bank A IFlash LPC43xx Internal Flash ini 0x0800 LPC18xx 43xx IAP 512kB Flash Bank B Table 3 5 Note script file in each directory can be found in project Add Flash algorithm then click LOAD to download Refer to f
30. K Source Examples 01_ADC Adc_Burst Keil Adc_Burst uvproj then select project type Configuration interface is shown in figure 3 10 1 gt I _ E Kaeo yp o wje gt KA Options for Target SPIFI128MB gger gt Press LC wc tep Device Target Output Listing User C C Aen Linker Debug Weise Configure Flash Menu Command Ke Le Target Driver for Flash Programming tep8 Step3 La press 1k di Ges pdate Target before Debugging gger gt Press LC Cancel Defaults Figure 3 10 Steps gt Step1 Select project type Support there component types SPIFI 128MB Norflash IFlash MYD LPC1857 4357 gt Step2 Open configuration interface 36 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual Step3 Select Utilities tab Step4 Select se Target Driver For Flash Programming Step5 Select LINK2 ME Context Debugger Step6 Select the corresponding initialization script file See Table 3 4 in detail Step7 Check Update Target before Debuging Vv Vv V VW V WV Step8 Enter Flash algorithm set interface The setting interface of entering Flash algorithm is shown in figure 3 11 Debug Trace Flash Download RAM for Algorithm Start 010000000 Size ox8000 Figure 3 11 Setting algorithm needs to pay attention to red box on map Download Function area needs to check Erase Sectors Program R
31. LPC1857 and only these two models can be chosen to download to Internal Flash Configure MDK of IFlash and compile it then download to Internal Flash CPU will run program directly from Internal Flash without checking Boot settings So it will not start form the other media At this point the following are two methods of booting from other media 1 Erase Internal Flash click IFlash and choose Options for Target XXX XXX may be the components listed in table 3 3 refer to figure 3 14 Choose Utilities and click Settings Setting interface is shown in figure 3 20 J uw us uF ve mc l p gt teg ve uR j eI uw a Ch Open File El Dr Open List File Aa M Figure 3 14 EA Options for Target ash 22 noe Device Target Output Listing User CARTE Asm Linker Debug Configure Flash Menu Command Step 2 Step I Use Target Driver for Flash Programming ULINK2 ME Cortex Debugger V Update Target before Debugging Init File ALPC43xx Internal Flash ini El Edit C Use External Tool for Flash Programming Command ER Arguments T Run ndependent Figure 3 20 44 MYIR TECH LIMITED www myirtech com MYiR Make Your Idea Real MYD LPC435x 185x User Manual 2 choose Erase Full Chip in Download Function and remove Program and Verify click OK to save configuration Refer to figure 3 21 RAM for Algorithm Lonp E
32. MYIR TECH LIMITED www myirtech com M Y R Make Your Idea Real MYD LPC435x 185x User Manual SCK J17 pin 18 SCK J17 pin 18 SSEL J17 pin 17 SSEL J17 pin 17 MISO J17 pin 16 MISO J17 pin 16 MOSI J17 pin 15 MOSI J17 pin 15 Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode Connect the serial to 410 in host and the terminal displays result gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors SSP demo MCU Ipc43xx Core ARM Cortex M4 Communicate via UART3 115200bps An example of SSP using interrupt mode to test the SSP driver This example uses SSP in SPI mode as slave to communicate with an SSP master device The master and slave transfer together a number of data byte kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Init buffer Wait for master transfer 3 28 TIMER 3 28 1 Timer_Capture gt Function description This example demonstrates Capture Timer function More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to s
33. Manual CGU demo MCU LPC43xx Core ARM CORTEX M4 Communicate via UART3 115200 bps Use CGU to setup and show source base clock frequencies Setting USB PLL Setting Audio PLL Setting All Divider s divisors to 4 All Settings Done Continue to measure Clock Freq Measuring IRC Clock Freq 12047 kHz Measuring PLLO Clock Freq 477673 kHz Measuring PLLO Audio Clock Freq 24542 kHz Measuring Divider A Clock Freq 3011 kHz Measuring Divider B Clock Freq 3005 kHz Measuring Divider C Clock Freq 3005 kHz Measuring Divider D Clock Freq 3011 kHz Measuring Divider E Clock Freq 3017 kHz Measure finished Demo End 3 10 Cortex M3 Cortex M4 3 10 1 CortexM3_Bitband CortexM4_Bitband gt Function description This example demonstrates Bit banding feature of Cortex M3 Cortex M4 processor More details refer to project abstract txt file gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program The terminal displays result gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors Bit banding demo MCU Ipc43xx Core ARM CORTEX M4 Communicate via UART3 115200 bps 52 MYIR TECH LIMITED www myirtech com 7 M Y R Make Your Idea Real MYD LPC435x 185x User Manual
34. PIFI 128MB Restore Debug Session Settings Iw Breakpoints Y Toolbox Iw Breakpoints Y Toolbox Y Watch Windows 4 Performance Analyzer Y Watch Windows Je Memory Display Je Memory Display CPU DLL Paramet Driver DLL Parameter SARMCM3 DLL SARMCM3 DLL Dialog DLL Paramet Dialog DLL Paramet Kei DLL foma IS DLL nz Figure 3 7 Special Note Different types of components correspond to initialization file with tfollowing table demonstrates Files of Ini are in the Project directory Internal SRAM Internal SRAM ini SPIFI 128MB LPC18xx_43xx_SPIFI ini LPC18xx_43xx_ExtFlash16 ini Debug NorFlash LPC18xx_43xx_ExtFlash16Prog ini Programming IFlash LPC43xx Internal Flash ini Table 3 4 2 Check hardware emulator ULink2 When connecting ULink2 to board indicator lights of RUN and COM change blue and then turn off while indicator lights change red and then remain the same Thus it indicates ULink2 has no problem 3 Clicking Setting in figure 3 10 there will be connection status of ULink2 and board as well as identification of kernel Refer to figure 3 8 Here take MYD LPC435x for an 34 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual example It displays two cores in figure 3 8 because LPC435x is M4 MO dual core processors Cortex M Target Driver Setup HE T E Debug Trace Flash Download ULINK USB JTAG SW Ada
35. RAM mode Vector Table will be initialized at 0x10000000 2 In SPIFI 128MB mode Vector Table will be initialized at Ox80000000 3 In NorFlash mode Vector Table will be initialized at 0x1C000000 4 In IFlash mode Vector Table will be initialized at 0xEA000000 Timer interrupt printout a message by second If VT remapping is successful message is printed secondly More details refer to project abstract txt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program The terminal displays result Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors Privileged demo MCU Ipc43xx Core ARM CORTEX M4 Communicate via UART3 115200 bps 68 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual This example used to test NVIC Vector Table Relocation function kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Remapping Vector Table at address 0x20000000 If Vector Table remapping is successful a message will be printed every second Match interrupt occur Match interrupt occur Match interrupt occur 3 21 OTP 3 21 1 OTP_API Warning this routine is only able to start from SPIFI Flash rather check BOOT DIP switch SW2 status run c
36. XP Evaluation board ARE E4 Cortex running EasyWeb e Embedded ENAC Ethernet Controller New IP A D Converter Input 2 POT1 0x161 Figure 3 25 3 14 EMC 3 14 1 Emc_NorFlash gt Function description This example demonstrates EMC write read external Nor Flash More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading 60 MYIR TECH LIMITED www myirtech com 7 M Y R Make Your Idea Real MYD LPC435x 185x User Manual to start program The terminal displays result gt Phenomenon Indicates 3 14 2 Emc_Sdram gt Function description This example demonstrates EMC excesses external SDRAM More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program The terminal displays result gt Phenomenon Indicates 61 MYIR TECH LIMITED www myirtech com 7 M Y R Make Your Idea Real MYD LPC435x 185x User Manual 3 15 GPDMA 3 15 1 Gpdma_Flash2Ram gt Function description This example demonstrates GPDMA function by transferring data from Flash to Ram memory More details refer to project abstract txt gt Procedures Configure board and PC serial por
37. _L to pin4 CAN1_L Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Pressing K1 key board triggers a single or multiple data transfer gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors C_CAN demo MCU LPC43xx Core ARM CORTEX M4 Communicate via UART3 115200 bps use C_CANO to transmit and C_CAN1 to receive kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk CANO and CANT initialized Press key K1 WAKEUPO to start transmit receive testing CANO Message object 17 TX complete CAN1 Message object 1 RX STD Data verify OK CANO Message object 17 TX complete CAN1 Message object 1 RX STD Data verify OK 3 9 CGU 3 9 1 CGU_measureFreq gt Function description This example demonstrates CGU set and measure base clock frequency gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode The terminal displays result gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors 51 MYIR TECH LIMITED www myirtech com M Y iR Make Your Idea Real MYD LPC435x 185x User
38. and PC serial port by default configuration Double click 05 Examples 08_ DUALCORE Int_Demo Keil M4_MO_ipc uvmpw Specific operation is as follows Note compile MO project firstly and then M4 project 1 Choose MO in Set as Active Project and LPC43xx_MO RAM and then recompile the program Refer to figure 3 23 File Edit Vie Project Flash Debug Peripherals Tools SVCS Window eee PFRER FEE E WorkSpace 3 M4 37 LPC43xx_M4_RAM tep 2generate interrupt SysTick_Config CLOCK_ wait for the MO to while intFlag M5G_ l zen H asna Mm H e d Figure 3 23 2 Choose M4 in Set as Active Project and LPC43xx_M4_RAN and then recompile the program Refer to figure 3 24 ile Edit View Project Flash Debug eripherals Tools SVCS Window FREER ETA RARE ust Step onerati interrupt sysTick_Config CLOCK_ S H S M 442 LPC43xx_MO_RAM wait for the MO to while intFlag MSG_ Figure 3 24 3 Clicking Start Stop Debug Q to enter Debug mode and RUN button D12 56 MYIR TECH LIMITED www myirtech com M Y iR Make Your Idea Real MYD LPC435x 185x User Manual and D13 flash gt Phenomenon Indicates D12 is controlled by MO and D13 is controlled by M4 When Mo changes the state of D12 it will report M4 by interrupt and wait for signal of M4 When M4 r
39. ata SIMD techniques saturating arithmetic and a floating point unit The Cortex MO coprocessor off loads many of the data movement and l O handling duties that can drain the bandwidth of the Cortex M4 core With its dual core architecture and unique set of configurable peripherals the LPC435x enables customers to develop a wide range of applications such as motor control power management industrial automation robotics medical automotive accessories and embedded audio LPC185x operate at up to 180 MHz The ARM Cortex M3 CPU incorporates a 3 stage pipeline and uses Harvard architecture with separate local instruction and data buses as well as a third bus for peripherals The ARM Cortex M3 CPU also includes an internal prefetch unit that support speculative branching Microcontroller contains an LCD controller 10 100Mbps Ethernet controller full speed USB Device Host OTG controller CAN bus controller SPI SSP IIC IIS as well as external memory controller EMC and other resources which is suitable for industrial control and medical system applications 2 2 2 SDRAM Module SDRAM chooses K4S561632H Its main characteristics are as follow JEDEC standard 3 3V power supply LVTTL compatible with multiplexed address All inputs are sampled at the positive going edge of the system clock Auto refresh Vv Vv Y V WV 64ms refresh period 8K Cycle SDRAM circuit is shown in figure 2 1 8 MYIR TECH LIMITED www myirtech com e M Y
40. autiously Please avoid misuse take LPC435x for an example put it in the 17_OTP_CAUTION file in 04 MDK_Source LPC435x If it is needed please copy 17_OTP_CAUTION to 04 MDK_Source LPC435x Examples and then download it gt Function description This program demonstrates operate OTP by solidified OTP API in ROM gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program gt Phenomenon Indicates The development board will only start from SPIFI Flash which is independent with Boot switch 3 22 PWR 3 22 1 Pwr_DeepPowerDown gt Function description This example demonstrates system in deep sleep mode and wakeup by RTC 69 MYIR TECH LIMITED www myirtech com M Y iR Make Your Idea Real MYD LPC435x 185x User Manual interrupt More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press RESET twice If the system is in power saving or sleep mode The terminal displays result gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors Power control demo MCU Ipc43xx Core ARM CORTEX M4 Communicate via UART3 115200 bps Th
41. bout 1 minute If the test is successful LED D13 will light 3 27 SSP 3 27 1 Ssp_Master gt Function description This example demonstrates communication between SSP peripheral It needs two MYD LPC435x boards One downloaded program is as host the other downloaded program in chapter 3 25 2 is as slave More details refer to project abstract txt gt Procedures Connect SCK SSEL MISO and MOSI between host and slave by four cables SCK J17 pin 18 SCK J17 pin 18 76 MYIR TECH LIMITED www myirtech com 7 M Y R Make Your Idea Real MYD LPC435x 185x User Manual SSEL J17 pin 17 SSEL J17 pin 17 MISO J17 pin 16 MISO J17 pin 16 MOSI J17 pin 15 MOSI J17 pin 15 Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode Connect serial to J10 in host and the terminal displays result gt Phenomenon Indicates 3 27 2 Ssp_Slave gt Function description This example demonsirates communication between SSP peripheral This program needs two MYD LPC185x 435x boards One downloaded this program is as host the other download the program in chapter 3 25 1 is as slave More details refer to project abstract txt gt Procedures Connect SCK SSEL MISO and MOSI between host and slave by four cables 77
42. by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode Inputting the letter A or a start detect the baud rate automatically character 81 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual inputted to terminal will be back to manifest gt Phenomenon Indicates Hello MYIR UART Auto Baudrate demo MCU LPC43xx ARM Cortex M4 UART3 Auto Baud rate mode used RateMIN 274 Hz lt UART_RATE lt RateMAX 409090 Hz AutoBaudrate Status Synchronous Hello MYIR UART Auto Baudrate demo MCU LPC43xx ARM Cortex M4 UARTS3 Auto Baud rate mode used RateMIN 274 Hz lt UART_RATE lt RateMAX 409090 Hz a test i m typing 3 29 2 Uart_Dma gt Function description This example demonstrates UART in DMA mode More details refer to project abstract txt gt Procedures Configure board and serial port By default configuration Baud Rate 9600 bps Data bit 8 Stop bit 1 Parity bit 0 Hardware flow control No Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode Character inputted to terminal will be back to manifest gt Phenomenon Indicates Hello NXP Semiconductors UART interrupt mode demo using ring buffer MCU Ipc43xx ARM Cortex M4 UARTS 960
43. click Start button and program will be downloaded to board Refer to figure 3 19 Flash Magic NON PRODUCTION USE ONLY E ka lense File ISP Options Tools Help SE 2SB vVES 9 0 08 LPC4357 Erase block D 0x1A000000 0 1A001FFF a Erase block 1 0x14002000 0x14003FFF El Flash Bank i si Erase block 2 0x14004000 0x14005FFF Erase block 3 0x144006000 0x14007FFF COM Port COM 1 Y Erase block 4 0x14008000 0x14009FFF ase lock 5 Ox 4004 000 0s 2008 IL Baud Rate 57600 Erase block 5 0 14004000 0 1400BFFF Erase all Flash Interface Erase blocks used by Hex File Oscillator MHz 12 Step 3 Hex File Hex File E Jakebo MYD LPC1850 4350 LPC4350 E xamples 03_BOOTFAS Modified Unknown more info Step 4 Options Step 5 Start E Fill unused Flash Ha aKX _ Gen block checksums Execute Activate Flash Bank Rotating fully customizable remotely updated Internet links Embed them in your application waw embeddedhints com Figure 3 19 6 After downloading program disconnecting JP3 and resetting board program starts running 3 4 4 DFU Download The concrete steps of Using DFU to download program please refer to lpc_dfusec pdf 01 Documents UserManual Chinese 3 4 5 Internal Flash 43 MYIR TECH LIMITED www myirtech com 0 M Y R Make Your Idea Real MYD LPC435x 185x User Manual Note Internal Flash is the unique Flash of LPC4357and
44. configuration Download program by chapter 3 4 2 and by set start mode table 3 6 After downloading program pressing RESET to reset board Adjust the potential values of potentiometer VR1 to observe terminal information Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors ADC demo MCU LPC4300 Core ARM CORTEX M4 Communicate via UART3 115200 bps Use ADC with 12 bit resolution rate of 200KHz read in interrupt mode To get ADC channel value and display via UART3 Turn the potentiometer to see how ADC value changes ADC value on channel 0 0000000993 ADC value on channel 0 0000000932 ADC value on channel 0 0000000942 ADC value on channel 0 0000000962 ADC value on channel 0 0000000994 3 5 3 Adc_Interrupt gt Function description This example demonstrates ADC in interrupt mode ADC generates interrupt after conversion done and checks DONE bit ADC converted data is displayed via serial and then reset ADC More details refer to project abstract txt gt Procedures 47 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual Configure board and serial port by default configuration Download program by chapter 3 4 2 and set corresponding start mode by table 3 6 After downloading the program pressing RESET to reset board Adjust the potential values of potentiometer VR1 to observe terminal
45. ct project and click right button then select Options for Target XXX XXX can be the components listed in Table 3 3 here take SPIFI 128MB for an example Refer to figure 3 1 The Setting window is shown in figure 3 2 29 MYIR TECH LIMITED www myirtech com 0 M Y R Make Your Idea Real MYD LPC435x 185x User Manual Deal B c HS ERA A E E E el ven HAFIR a E 2 Open File ae E Open List File CS GE Open D work_myir MYD LPC4300 ProductionCD 05 MDK_Source 01_ADC Adc_Burst project SPIFI 128MB example map B river Figure 3 1 2 Options for Target SPIEL 128MB Device Target Output Listing User C C Asm Linker Debug Utilities ARM Cortex M4 r Code Generation Xtal MHz 12 0 Operating system None T Use Cross Module Optimization System Viewer File Sfr AAA m Read Only Memory Areas gt y Read Write Memory Areas default off chip Start Size Startup default off chip Start Size Nolnit IT ROMI C T RAMI a Form Te Form TC 8 ROMS 6 e Form r on ch on chip FT womz O E r Cancel Defaults Help Figure 3 2 Special Note Target configuration is shown in a red box The following list give three different projects address sat in the form Refer to Table 3 3 Internal SRAM 0x10000000 0x18000 0x10080000 0xA000 SPIFI 128MB 0x80000000 0x100000 0x10080000 0
46. cter inputted to terminal will be back to manifest Phenomenon Indicates Hello NXP Semiconductors UART polling mode demo MCU Ipc43xx ARM Cortex M4 UARTS 9600bps am typing this is the polling mode of UART 83 MYIR TECH LIMITED www myirtech com M Y R Make Your Idea Real MYD LPC435x 185x User Manual 3 29 5 Uart_Rs485Master gt Function description This example demonstrates communication between boards by RS485 It needs another MYD LPC185x 435x development board which runs program in chapter 3 27 6 More details refer to project abstract txt gt Procedures Connect RS485_A and RS485_B by two cables and then configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode It needs to run slave device and then run master device and the terminal displays result gt Phenomenon Indicates Hello NXP Semiconductors RS485 demo in Master mode A Sending A Receive ACK B Sending B Receive A Sending A Receive ACK 3 29 6 Uart_Rs485Slave gt Function description This example demonstrates communication between boards by RS485 It needs another MYD LPC185x 435x development board which runs program in chapter 3 27 6 More details refer to project abstract txt gt Procedures Connect RS485_A and RS485_B by
47. drive as well as intercom etc gt Consumer Appliances Audio MP3 decoder alarm systems monitors printers scanners small household appliances as well as fitness equipment gt Car e Parts Car alarm GPS fleet Monitor 4 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual 1 4 Product Configuration 1 MYD LPC435x 185x Development Board 1 2 1 5 Meters Crossover Cable 3 1 5 Meters Mini USB 2 0 Cable 4 9Pin to 9Pin Serial Include Schematic PDF 5 Product DVD User Manual Source Code etc Default configuration 4 3 6 4 3 7 0 Inch LCD Touch Screen inch or select 7 0 inch or no configuration Table 1 1 5 MYIR TECH LIMITED www myirtech com MYiR Make Your Idea Real MYD LPC435x 185x User Manual Chapter 2 Hardware Resource 2 1 Hardware Resources Introduction Introduction MYD LPC435x 185x hardware resources are shown in figure 2 1 Size Development board size 115mm x 90mm MYD LPC435x LPC4350FET256 LPC4357FET256 Cortex M4 Core with CPU Context MO coprocessor up to 204MHz MYD LPC185x LPC1850FET256 1857FET256 Up to 180MHz On chip MYD LPC435x 264KB SRAM 64KB ROM 128 bit OTP Memory MYD LPC185x 200KB SRAM 64KB ROM 128 bit OTP MYD LPC1857 4357 1 MB dual bank flash memory External 32MB SDRAM 2MB NOR FLASH 4MB SPI FLASH Debug 20 Pin 2 54mm JTAG debug interface Type Quantity Description Suppo
48. e UART UART circuit is shown in figure 2 12 3V3 3V3 wuesen DTR C gt RxD3 a gt EMC_A12 3 8 A E TXD3 3 2 6 32 3 S lt EMC_A13 3 8 Figure 2 12 17 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual 2 3 2 CAN and RS485 Interface CAN chooses TJA1040 Its characteristics are as follow gt gt gt gt Fully compatible with the ISO 11898 standard High speed up to 1 MBaud Very low ElectroMagnetic Emission EME Differential receiver with high common mode range for ElectroMagnetic Immunity EMI gt gt gt gt Input levels compatible with 3 3 V and 5 V devices At least 110 nodes can be connected Transmit Data TXD dominant time out function Thermally protected CAN circuit is shown in figure 2 13 CAN_RDO CAN_TDO lt A STB SPLIT GND VCC Figure 2 13 RS485 chooses SP3485 lts characteristics are as follows Vv Vv V VW WW YV WV RS 485 and RS 422 Transceivers Operates from a single 3 3V supply Interoperable with 5 0V logic Driver Receiver Enable Low Power Shutdown Mode 7V to 12V Common Mode Input Voltage Range Allows up to 32 transceivers on the serial bus Compatibility with the industry standard 75176 pinout 18 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual gt Driver Output Short Circuit Protection RS485 circuit is shown in
49. eceives the report and change the state of D13 it will report MO by interrupt and wait for the next signal of MO Then D12 and D13 flash 3 12 2 Mbx_Demo gt Function description This example demonstrates inter processor communication between the Cortex M4 and Cortex MO kernel M4 kernel sends command to the MO kernel via MailBox such as display string and calculation formula When MO receives MailBox it will display results in terminal More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration According to chapter 3 10 1 and then observe terminal information gt Phenomenon Indicates MO Started kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk LPC4300 Cortex M4 Cortex MO kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk gt MO Sending Ipc4300 has two cores inside M4 LPC4300 HAS TWO CORES INSIDE gt MO Sending request for pow 0 3 M4 0 3 0 gt MO Sending heureka M4 akerueh gt MO Sending Ipc4300 has two cores inside M4 LPC4300 HAS TWO CORES INSIDE gt MO Sending request for pow 1 3 57 MYIR TECH LIMITED www myirtech com M Y iR Make Your Idea Real MYD LPC435x 185x User Manual 3 12 3 Queue_Demo gt Function description This example demonsirates inter processor communication between the Cortex M4 and Cortex MO kernel More details refer to project abstract txt gt Procedures Configure board and serial port b
50. ech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual E Device Manager File Action view Help Hea Gm Y wei IDE ATA ATAPI controllers 4 DYD CD ROM drives amp Disk drives TE O OM RIP Y LPC1Sxx USE Von Port COMB i LPTI 9 Printer Port LPT2 3 System devices Monitors Figure 3 26 lt needs to install virtual serial driver at the first time The name of driver lpc18xx vcom inf When finding the new device choose to install it manually After installing the driver open the hardware serial which connect to UARTO after setting JP1 and Jp2 UARTOoutput from J10 and USB virtual serial COM6 on PC Setting serial port as follows Baud Rate 9600 bps Data bit 8 Stop bit 1 Parity bit 0 Hardware flow control No When inputting any character in one terminal it will display in the other serial gt Phenomenon Indicates Opening two serial and inputting any character in one terminal there will be character which is displayed in the other terminal 3 30 2 Usb MassStorage gt Function description This example demonstrates USB Mass Storage application on LPC43xx More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode Connecting PC
51. figure 2 14 RXD1 DTR1 TXD1 Figure 2 14 2 3 3 SDCARD Interface SD circuit is shown in figure 2 15 Micro SD Card man a ama Figure 2 15 2 3 4 USB OTG HOST Interface USB OTG circuit is shown in figure 2 16 USB OTG 2 USBO_VBUS 2 USBO_DM 2 USBO_DP 2 USBO_ID 19 MYIR TECH LIMITED www myirtech com MYiR Make Your Idea Real MYD LPC435x 1 Figure 2 16 USB HOST circuit is shown in figure 2 17 3V3 L4 85x User Manual u11 _AIC1526 1GS 2200hm at 100MHz MEUS 8 2 1 TP4 ENA OUTA e Ly te 7 Can FLGA IN Gem el ER 10uF T 1 L5 USB1_FAULT lt lt __ OR ESES Fees GNG en 2200hm at 100MHz K 4 E T 2 1 USB1_PPWR gt gt OR A B i ENB OUTB OT USB1_VBUS lt 7 R58 op ppATK 2 R59 Se J11 SE USB AF 4 USB1_DM lt gt gt T i 2 A Up D lt gt a c92 el c93 pl 1000F W I R60 lt eR61 D4 Tvs Tvs 15K S15K Figure 2 17 2 3 5 JTAG Interface JTAG circuit is shown in figure 2 18 JTAG JTAG_nTRST JTAG_TDI JTAG_TMS JTAG_TCK N NNNNM JTAG_TDO Figure 2 18 2 3 6 LCD and Touch Screen Interface 20 MYIR TECH LIMITED www myirtech com MYD LPC435x 185x User Manual MYiR Make Your Idea Real D trim K Ho i ANEN 0000000000000000000000000 0000000000000000000000000 LCOVDIT 4 mS Lcovo1s 4 gt LD 5 gt ooz 5 LCD Figure 2 19
52. hannel conversion inputs in burst mode as well as show injecting a new ADC conversion channel on running channel More details refer to project abstract txt gt Procedures Configure development and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 After downloading program pressing RESET to reset board Adjust potential values of potentiometer VR1 to observe terminal information gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello MYIR ADC burst demo MCU Ipc43xx Core ARM CORTEX M4 Communicate via UART3 115200 bps Use ADC with 10 bit resolution rate of 200KHz running burst mode single or multiple input Display ADC value via UART3 Turn the potentiometer to see how ADC value changes ADC value on channel 1 0000000940 ADC value on channel 3 0000000616 ADC value on channel 1 0000000877 ADC value on channel 3 0000000616 ADC value on channel 1 0000000855 46 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual 3 5 2 Adc_Dma gt Function description This example demonsirates ADC transfer data by DMA ADC generates interrupt after conversion done and makes a request to DMA for transferring data DMA resets up when previous transfer has been done More details refer to project abstract txt Procedures Configure board and serial port by default
53. igure 3 13 38 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual AA ha LI yu Vivir SE beleet Ze E AM bi po vue Ww MS M Mt Edit View Project Flash Debug Peripherals Tools SVCS Window He Sua alocjes e RBA E atea E SPIFI64MB Debug D AS E D Gegen H st 1p_LPCA3 s da 3 SPIFI 64MB Deb Download code to flash memory No flow control 1 Startup 72 Ze Running mode We E system_LPC43 04 74 Internal SRAM mo 13 CMSIS CM3 op aan Figure 3 13 After download program set start mode to run Due to executable file of different project type downloaded to a different address so its startup settings are also different The following table illustrates boot settings of different project type Note if it writes IFlash board reset will run directly in IFlash program and is unrelated with boot settings Use IFlash please refer to chapter 3 4 2 SPIFI 128MB L L L H NorFlash L L H H Table 3 6 3 4 3 ISP Download Note ISP download only applies to MYD LPC1857 4357 board When using ISP software to download program firstly install FLASH magic download latest version from http www flashmagictool com then connect JP3 JP1 PIN1 JP2 PIN2 to enable UARTO lastly set dial switch to LOW position and restart development board Steps 1 Open FLASH magic and click Options then choose Advanced Options Refer to figure 3 14
54. information Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors ADC demo MCU Ipc43xx Core ARM CORTEX M4 Communicate via UART3 115200bps DMA testing ADC peripheral to memory Use ADC with 10 bit resolution rate of 200KHz Value ADC channel is displayed by UART this value is taken from destination memory value of DMA function Turn the potentiometer to see how ADC value changes kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk ADC value on channel 1 0000000091 ADC value on channel 1 0000000091 ADC value on channel 1 0000000097 ADC value on channel 1 0000000112 ADC value on channel 1 0000000125 3 5 4 Adc_Polling gt Function description This example demonstrates ADC conversion in polling mode After start ADC check whether DONE bit is set and display ADC converted data via serial then re start ADC for next conversion More details refer to project abstract txt Procedures Configure board and PC serial port by default configuration Download program by chapter 3 4 2 and set corresponding start mode by table 3 6 After downloading program pressing RESET to reset board Adjust potential values of potentiometer VR1 and observe terminal information Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk 48 MYIR TECH LIMITED www myirtech co
55. is example used to enter system in Deep PowerDown mode and wake up it by using RTC Interrupt Configuring system plz wait Press 1 to start demo Enter Deep PowerDown mode Wait 5s RTC will wake up system Hello NXP Semiconductors Power control demo MCU lpc43xx Core ARM CORTEX M4 Communicate via UART3 115200 bps This example used to enter system in Deep PowerDown mode and wake up it by using RTC Interrupt Configuring system plz wait Press 1 to start demo Enter Deep PowerDown mode Wait 5s RTC will wake up system 3 22 2 Pwr_DeepSleep gt Function description This example demonstrates system in deep sleep mode and wake up by WIC Interrupt More details refer to project abstract txt gt Procedures 70 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press RESET twice If the system is in power saving or hibernation mode Pressing K1 to wake up system and the terminal displays result gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors Power control demo MCU Ipc43xx Core ARM CORTEX M4 Communicate via UART3 115200 bps This example used to enter system in deep sleep mode and
56. kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Press 1 to transmit 2 bytes to UDA1380 s 0x00_register Press 2 to read UDA1380 s 0x00_register Verify successfully 3 18 125 3 18 1 I2s_ Audio gt Function description This example demonstrates 12S transfer audio data to play a short music in a loop More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Insert headphone to audio output port J5 and check whether the audio output loop music 66 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual gt Phenomenon Indicates Loop music can be heard in the headphone 3 19 LCD 3 19 1 Lcd_ Demo gt Function description This example demonstrates LCD use More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program gt Phenomenon Indicates The screen will display color stripes hand cursor and click on the LCD screen can manipulate hand cursor 3 20 NVIC 3 20 1 Nvic_Priorities gt Function description This example demonstrates configure NVIC priority DAC interrupt controls D14 and WIC interrup
57. kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk 49 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual Waked Up by Alarm Timer Waked Up by Alarm Timer Waked Up by Alarm Timer Waked Up by Alarm Timer Waked Up by Alarm Timer 3 7 BOOTFAST 3 7 1 Fast_Gpio_LedBlinky gt Function description This example demonstrates how to use GPIO and make CPU running at 204MHz as well as start from other Flash and SPIFI For details please refer to project abstract txt file gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set corresponding start mode by table 3 6 After downloading program pressing RESET to reset board D13 on board will begin to flash gt Phenomenon Indicates LED D13 flashes on board 3 8 CCAN 3 8 1 CCan_SimpleTxRx gt Function description This routine demonstrates CCAN to send and receive data It needs to connect CANO and CAN1 to the same bus When CANO send data CAN1 receive data and verify message The results will be displayed in terminal More details refer to project abstract txt gt Procedures Connect pint and pin2 in J5 and J6 to enable Cani and configure other jumper 50 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual according to default configuration Connect pin2 in J8 CANO_H to pin5 CANT Hi pint CANO
58. m M Y iR Make Your Idea Real MYD LPC435x 185x User Manual Hello NXP Semiconductors ADC demo MCU LPC4300 Core ARM CORTEX M4 Communicate via UART3 115200 bps Use ADC with 10 bit resolution rate of 200KHZ read in polling mode To get ADC value and display via UART3 Turn the potentiometer to see how ADC value changes kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk ADC value on channel 1 0000000119 ADC value on channel 1 0000000128 ADC value on channel 1 0000000138 ADC value on channel 1 0000000153 ADC value on channel 1 0000000167 3 6 ATIMER 3 6 1 Atimer_Wic gt Function description This example demonstrates Alarm Timer generates interrupt and Wake Up System After initialize Alarm Timer system will enter sleep mode and weak up after 1 s in this cycle More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set corresponding start mode by table 3 6 After downloading program press RESET to reset board This routine may need to press RESET twice The terminal displays result gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors Timer delay demo MCU Ipc43xx Core ARM Cortex M4 Communicate via UART3 115200 bps Using Alarm Timer to generate Interrupt and wake up system kkkkkkkkkkkkkk
59. nd then test USB DFU gt Phenomenon Indicates Run DFU download tools to test on PC 3 31 3 Usb_Hid gt Function description This example demonstrates USB HID application by USB ROM driver More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode Connecting PC and Mini USB J12 interface on the development by USB and then test USB DFU gt Phenomenon Indicates Double click HIDClient exe The file location C Keil ARM Utilities HID_Client Release HIDClient exe After opening drop down menu choose the device LPC18xx Demo then click check box and the device can receive the return PC status There will be a check box next to Inputs which is chosen Refer to figure 3 30 89 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual HID Client Human Interface Device Device We 8xx Demo T Pr PUS MERETET A5 EER Outputs LEDs Figure 3 30 3 31 4 Usb_MassStorage gt Function description This example demonstrates a USB MassStorage application by USB ROM driver More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3
60. nterrupt occurred Match interrupt occurred Match interrupt occurred 3 28 4 Timer_MatchPolling gt Function description 80 MYIR TECH LIMITED www myirtech com M Y R Make Your Idea Real MYD LPC435x 185x User Manual This example demonstrates Timer Match generates specific time in polling mode More details refer to project abstract txt gt Procedures Connect Pin16 in J16 to Pin4 in J17 and then configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode The terminal displays result gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors Timer delay demo MCU Ipc43xx Core ARM Cortex M4 Communicate via UART3 115200 bps Using Timer 0 in polling mode Generate Interrupt at frequency 10Hz kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Match interrupt occur Match interrupt occur Match interrupt occur Match interrupt occur Match interrupt occur 3 29 UART 3 29 1 Uart_Autobaud gt Function description This example demonstrates auto baud rate mode More details refer to project abstract txt gt Procedures Configure the development and PC serial port by default configuration Download program
61. o use board resources so as to shorten development cycle All sample codes can be found in product CD ROM CD ROM directory 1W5 MDK_SourcelExamplesl Software resources are shown in following table MYD LPC435x Cortex M3 MYD LPC185x Adc_Burst ADC test conversion tin Burst Mode Adc_Dma Use DMA to transfer ADC data conversion ADC Adc_Interrup ADC data conversion in interrupt mode Adc_Polling ADC data conversion in polling mode ATIMER Atimer_Wic Use Alarm Timer to wake up system Set System frequency up to 204MHz BOOTFAST Fast_Gpio_LedBlinky LPC435x or 180MHz LPC185x then drive LED blinks CAN communication Test dock CANO and CCAN CCan_SimpleTxRx CAN1 CortexM4_Bitband Test bit segment of Context M4 Context M3 Cortex M4 CortexM3_Bitband CortexM4_Mpu CortexM3_Mpu Use MPU to Protect area test CortexM4_Privilege CortexM3_Privilege Switch in privileged and non privileged mode DAC Dac_Dma Demonstrates how to use DMA to transfer data to DAC MYIR TECH LIMITED www myirtech com Make Your Idea Real MYD LPC435x 185x User Manual DUALCORE MYD LPC435x Int Demo Demonstration of communication between M4 and MO Mbx_Demo Demonstration of communication between M4 and MO Queue_Demo Demonstration of communication between M4 and MO Demonstrate how to implement a simple web
62. ollows It is effective that only when the startup mode select bit of chip OTP is not programmed Meanwhile if LPC1857 4357 has downloaded program it will start from internal Flash program and have nothing to do with boot settings Boot from device connected to USARTO 0 0 0 0 USARTO using pins P2_0 and P2_1 Boot from Quad SPI flash SPIFI 0 0 0 4 connected to the SPIFI interface on P3_3to P3 8 Boot from external static memory such as NORflash using CSO and an 8 bit data bus EMC 8 bit 0 0 1 0 Boot from external static memory such as NOR flash using CSO and a 16 bit data bus EMC 16 bit 0 0 1 1 Boot from external static memory such as NORflash using CSO and a 32 bit data bus EMC 32 bit 0 1 0 0 USBO 0 0 4 Boot from USBO Boot from SPI flash connected to the SSPO interface on P3_3 SPI SSP 0 1 1 1 function SSPO_SCK P3_6 function SSPO_MISO P3_7 function SSPO_MOSI and 23 MYIR TECH LIMITED www myirtech com C M Y R Make Your Idea Real MYD LPC435x 185x User Manual P3_8 function SSPO_SSEL Boot from device connected to USART3 1 0 0 0 USART3 using pins P2_3 and P2_4 Table 2 3 24 MYIR TECH LIMITED www myirtech com MYiR Make Your Idea Real MYD LPC435x 185x User Manual Chapter 3 MDK Routine 3 1 MDK Software Resources Introduction MYD LPC435x 185x kit provides rich examples and users can learn how t
63. pter Serial No v0000145 y i Move met TDO 0x4BA00477 ARM CoreSight JTAG DP Up an 0x0BA01477 ARM CoreSight JTAG DP 3 own Device Family Cortex M Firmware Version V1 42 o Automatic Detection ID CODE M SWJ Port TAG D Manual Configuration Device Name Max Clock 1MHz E Add Delete Jpdate IR len Cache Options Download Options Verity Code Download 7 Download to Flash Figure 3 8 4 Click Ctrl F5 or shortcut icon or select Debug gt Start Stop Debug Session to start debugging Refer to figure 3 9 File Edit View Project Flash Peripherals Tools SVCS Window Help Dag H Se R B A F E a e man Jara o o eea EE eche cea GER DER Registers a El Disassembly SystemInit RO 0x10001 cGU_Init Ri Ox10080 97 Initialize debug via UART1 R2 Ox00000C 98 2115200bps R3 Ox 100020 99 28 data bit R4 0x10002H a D ES Ox10002E Ei 0x00000C RT Ox00000C ES Ox00000C RI Ox00000C gt SystemInit RIO Ox00000 96 CGU_Imit HI ox00000C 975 Initialize debug via UART1 me apeo 98 2115200bps o 99 28 data bit ou 100 2No parity Ox61000C 101 21 stop bit E 102 2No flow control gt System 103 A Eoternal 104 debug frmwrk _init Mode Thread par Sg 105 Privilege Privileg r Stack MSP 106 print welcome screen States 720
64. rt RS485 shared RS485 1 with UART1 Peripheral Ethernet 1 100Mbps DP83848 CAN 2 Support CAN USB 2 Support USB MYIR TECH LIMITED www myirtech com MYiR Make Your Idea Real MYD LPC435x 185x User Manual HOST Device 2 0 USB OTG 2 0 Audio 2 Audio in out UDA1380 SD interface 1 SD MMC interface Extension interface 3 3 x 20 pin Standard 20 pin JTAG JTAG 1 interface Support 4 3 7 0 inch LCD interface 1 touch screen EEPROM 1 External 64K EEPROM With range 55 127 C Temperature Sensor 1 Precision 0 125 UART2 without UART 3 MAX3232 UARTO and UART3 DEBUG User button 4 K1 K2 K3 K4 Button Reset 1 SW1 Power 5V 2A Power Supply Table 2 1 2 2 Main Module Introduction 2 2 1 Main Processor LPC435x 185x MYD LPC435x boards are latest launched by MYIR which based on Cortex M4 kernel are full featured evaluation kit LPC435x the world s first asymmetrical dual core digital signal controller architecture featuring ARM Cortex M4 and Cortex MO processors brings the advantage of developing DSP and MCU applications within a single architecture and development environment The Cortex M4 processor combines the benefits of a microcontroller with high performance digital signal processing features 7 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual such as single cycle MAC Single Instruction Multiple D
65. t Procedures Configure board and PC serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Follow the instructions and observe the results in terminal gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors Privileged demo MCU Ipc43xx Core ARM CORTEX M3 Communicate via UARTO 115200 bps This example used to test Privileged feature of Cortex M3 processor Thread mode is privileged Press 1 to change to unprivilege mode 54 MYIR TECH LIMITED www myirtech com M Y iR Make Your Idea Real MYD LPC435x 185x User Manual 3 11 DAC 3 11 1 Dac_Dma gt Function description This example demonsirates DMA transfer data to DAC peripheral gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program The terminal displays result gt Phenomenon Indicates 3 12 DUALCORE 3 12 1 Int_Demo 55 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual gt Function description This example demonstrates inter processor communication between the Cortex M4 and Cortex MO kernel More details refer to project abstract txt gt Procedures Configure board
66. t by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program The terminal displays result gt Phenomenon Indicates 3 15 2 Gpdma_LinkList 62 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual gt Function description This example demonstrates GPDMA Link list function More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program The terminal displays result gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors GPDMA demo MCU Ipc43xx Core ARM CORTEX M4 Communicate via UART3 115200 bps This example used to test GPDMA link list function kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Start transfer Buffer Check success 3 15 3 Gpdma_Ram2Ram gt Function description This example demonstrates GPDMA transfers data from RAM to RAM by interrupt mode More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to star
67. t generated by pressing key K1 controls D12 The priority of WIC interrupt is higher than DAC interrupt More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration and then modify the definition of SAME_GROUP in Nvic_Priorities c project If DAC and WIC are configured for two different vector group then comment out the following line of code otherwise test the two interrupt source by configuring the same vector group define SAME_GROUP 67 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual Recompile the project after editing it Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Phenomenon Indicates When two interrupt sources configured for different interrupt vector group support interrupt nesting D14 stop blinking when pressing key K1 after D12 blinks 5 times D14 will resume blink When two interrupt sources configured for an interrupt vector group can t support interrupt nesting After press K1 WIC interrupt can t respond immediately until exit DAC interrupt service 3 20 2 Nvic_VectorTableRelocation gt Function description This example demonstrates the reposition of vector table Vector Table will be remapped at the new address 0x20000000 after running the program Each mode s initial address in the interrupt vector is 1 In Internal S
68. t program The terminal displays result gt Phenomenon indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors GPDMA demo MCU Ipc43xx Core ARM Cortex M4 Communicate via UART3 115200bps 63 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual This example will transfer 2 blocks of data from memory boundary to the other memory boundary on RAM using GPDMA module with interrupt kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Initialize Buffer Start transfer Buffer Check success 3 16 GPIO 3 16 1 Gpio_LedBlinky gt Function description This example demonstrates GPIO controls LEDs More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Then D9 D14 D12 D13 flash gt Phenomenon Indicates LED flashes on board at flowing light effect 3 17 12C 3 17 1 l2c_EEProm gt Function description This example configures 12C as master and demonstrates operation of I2C and EEProm More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button
69. t to enter power down mode and interrupt Pwr_PowerDown wake up through EVRT Test in sleep mode and interrupt wake up Pwr_Sleep through the WIC Use RIT as a timer to generate an RIT Rit_Interrupt interrupt driven LED Test produced a one minute timer interrupt and Rtc_Alarm RTC a 30s Alarm interrupt Rtc_Calibration Real time clock calibration SDIO sdio_readwrite SDCard test Use SPIFI library To read and write external SPIFI SPIFI_Test SPIFI Flash Ssp_Master SSP transfer data as host SSP Ssp_Slave SSP transfer data as a slave Timer_Capture Capture timer function test Timer_FreqMeasure Measure signal frequency By timer TIMER Timer_MatchInterrupt Timer matches interrupt test Timer_MatchPolling Timer matches polling test UART Uart_Autobaud test UART baud rate function Automatic MYIR TECH LIMITED www myirtech com MYiR Make Your Idea Real MYD LPC435x 185x User Manual Uart_Dma UART DMA test Uart_Interrupt UART interrupt test Uart_Polling UART polling test Uart_Rs485Master RS485 host test Uart_Rs485Slave RS485 slave test USB simulates COM port Usb_Cdc USBDEV The test writes a simple USB mass storage Usb_MassStorage applications in LPC435x 185x Testing USB ROM in LPC435x 185x drive to Usb_Composite write a USB composite device MassStroage HID DFU application Driver is still lacking on PC and improve next Usb_Dfu USBDEV_ROM version Test on LPC435x 185x use USB ROM dri
70. tart program Press twice if system was in sleep or power save mode Connect 78 MYIR TECH LIMITED www myirtech com M Y iR Make Your Idea Real MYD LPC435x 185x User Manual Pin6 in J16 and contact VCC or ground to generate capture time the terminal displays result gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors Timer Match interrupt demo MCU Ipc43xx Core ARM Cortex M4 Communicate via UART3 115200 bps Using Timer 1 to take a snapshot of the timer value when an input signal on CAP1 1 J16 6 transitions Time capture 0x00000003 Time capture 0x00000003 Time capture 0x00000006 Time capture 0x00000006 3 28 2 Timer_FreqMeasure gt Function description This example demonstrates timer measure a signal s frequency More details refer to project abstract txt gt Procedures Connect Pin16 in J16 to Pin4 in J17 and then configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode The terminal displays result gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors Timer measure frequency demo MCU Ipc43xx Core ARM Cortex M4 Communicate via UART3 115200 bps Use timer 0
71. te Executable SPIFI 128MB example Je Debug Information I Create Batch File esate DE IV Browse Information Create Library SPIFI 128MB example LiB Figure 3 4 4 C C configuration user can add or delete compile files path Refer to figure 3 5 H Options for Target SPIFI 128MB x Device Target Output Listing User C C Asm Linker Debug Utilities m Language Code Generation TT Strict ANSI C Optimization Level D LO J Enum Container always int I Optimize for Time 7 Plain Char is Signed J7 Split Load and Store Multiple Read Only Position Independent One ELF Section per Function J Read Write Position Independent lt unspecified gt D Thumb Mode Common Core CMSIS Include Common Core Device NXP LPC43a Include C Cortex M4 D__MICROLIB A a 00 a AAA ACommon CorevCMSISUnclude ACommonCore Device NXP LPC430 Include 1 Common Drivers include 1 D Figure 3 5 5 Choose project gt Rebuild all target files project or click shortcut icon to compile The steps are shown in figure 3 6 32 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual Vi D work_myir MYD LPC4300 ProductionCD 05 MDK_Source 01_ADC Adc_Burst project Adc_Burst uvproj pVision4 mn File Edit View Project Flash Debug Peripherals Tools SVCS Window Help Jeu al New pVision Project
72. ter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode The terminal displays result gt Phenomenon Indicates kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk Hello NXP Semiconductors RTC demo MCU Ipc43xx Core ARM CORTEX M4 Communicate via UART3 115200 bps Asimple RTC example To generate interrupt in minute Counter Increment Interrupt 1 min and generate Alarm interrupt at 30s Configuring system plz wait Done oneone AL ARM 30s matched na natant sa NATL D 001 73 MYIR TECH LIMITED www myirtech com 7 M Y R Make Your Idea Real MYD LPC435x 185x User Manual 3 24 2 Rtc_Calibration gt Function description This example demonstrates calibrate real time clock More details refer to project abstract txt gt Procedures Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or power save mode The terminal displays result gt Phenomenon Indicates 3 25 SDIO 3 25 1 sdio_readwrite gt Function description This example demonstrates operation speed of SD Card More details refer to project abstract txt 74 MYIR TECH LIMITED www myirtech com M Y iR Make Your Idea Real MYD LPC43
73. u requirement like invoice value trade term custom statements and H S code etc Please contact us with these shipment requirements if your country has strict custom affairs Support and maintains MYIR provides 12 months warranty for hardware products if the defects or failures were not caused by wrong use Return steps for defective products 1 Please email or call us get a Return Merchandise Authorization RMA by providing purchase details and reasons for return defective incorrect etc 2 MYIR will make a shipping invoice list value total item description etc for you return request China have strict limit on return products so please use MYIR s shipping invoice to return items to avoid custom delay Contact Tel 86 0755 25622735 Fax 86 0755 2553 2724 Mail to sales myirtech com support myirtech com Website www myirtech com 93 MYIR TECH LIMITED www myirtech com
74. using two cables and then configure board and serial port by default configuration Note Baud rate should be set to 115200 Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Press twice if system was in sleep or 84 MYIR TECH LIMITED www myirtech com M Y R Make Your Idea Real MYD LPC435x 185x User Manual power save mode It needs to run slave device and then run master device and the terminal displays result gt Phenomenon Indicates Hello NXP Semiconductors RS485 demo in Slave mode Slave s Receiver is not always enabled Auto Address Detection is enabled Slave Addr detected Msg A Hello NXP Slave Addr detected Msg A Hello NXP Slave Addr detected Msg A Hello NXP Slave Addr detected Msg A Hello NXP 3 30 USBDEV 3 30 1 Usb_Cdc gt Function description This example demonstrates achieve virtual COM port by USBDEV More details refer to project abstract txt gt Procedures Connect JP1 s Pin1 with JP2 s pin2 to select UARTO other jumpers stay in default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program press twice if system was in sleep or power save mode Connect PC and J12 via mini USB cable and then a virtual device will be detected in Windows s device management Please refer to figure 3 26 85 MYIR TECH LIMITED www myirt
75. ut interface ADC front end features Vv WW YV V WV DAC features UDA1380HN circuit is shown in figure2 5 12 MYIR TECH LIMITED www myirtech com 0 M Y R Make Your Idea Real MYD LPC435x 185x User Manual C56 47uF 6 3V EES Em OR 2 oR 060 47uF 6 3V 47 E 062 UF 0 3V 065 47uF 6 3V C66 47uF 6 3V DCH SCL emm PE 12C0_5DA p 125_TX_SDA O RANK 2S_TX_WS e Eer Le ooo 12STWCSDA ep RX WS C gt BS S NH 37 VSSAHP 7 AO st 1247 Si AO Figure 2 5 2 2 7 Touch Control Module TOUCH control module chooses TSC2046 lts characteristics are as follow 2 2V to 5 25V operation 1 5V to 5 25V digital UO gt gt gt Internal 2 5V reference gt On chip temperature measurement gt Touch pressure measurement gt Auto power down TSC2046 circuit is shown in figure 2 6 13 MYIR TECH LIMITED www myirtech com 0 M Y R Make Your Idea Real MYD LPC435x 185x User Manual SSP1_SCK DCLK SSP1_SSEL LI 3 HL cs SSP1_MOSI DIN BUSY SSP1_MISO TS_INT OVDD VBAT VREF AUX GND_POWER Touch Figure 2 6 2 2 6 User Button and Reset Circuit User button circuit and reset circuit is shown in figure 2 7 2 8 KEY gt WAKEUPO 2 NMI 3 KEY1 5 KEY2 5 Figure 2 7 14 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual Figure 2 8 2 2 9 LED LED circuit is shown in figure 2 9 3V3 D9 Red R88 470R 5 LEDI gt D10 Red R89 470R
76. ve to Usb_Hid write a USB HID application Use LPC435x 185x write a simple USB mass Usb_MassStorage storage applications Test USB keyboard connected to the USB1 USBHOST HID_Kbd as a terminal input and output through UART3 HyperTerminal WDT Wadt_Interrupt Test WTD interrupt generated at a specific time Table 3 1 3 2 Default Configuration 3 2 1 Serial Configuration gt Baud Rate 115200 gt Data Bits 8 28 MYIR TECH LIMITED www myirtech com 0 M Y R Make Your Idea Real MYD LPC435x 185x User Manual gt Parity Bit None gt Stop Bit 1 gt No hardware control flow 3 2 2 Jumper Settings ower Ja fete mee JP1 Connect UART J10 to UART3 UART3 output DEBUG JP2 information JP3 disconnect jumper to prohibit ISP Mode JP5 connect Nor Flash with A18 A19 to enable Nandflash JP6 CAN1 is not available at this time Connect this jumper to open DEBUG function and JP7 debug online Table 3 2 3 3 MDK Configuration and Compilation Compile MDK routine please keep subdirectory structure of 05 MDK Source LPC185x 435x in disc Take Adc Burst project for an example to illustrate how to configure MDK Firstly find 05 MDK Source LPC1 85x 435x Examples 01_ADC Adc_Burst Keil folder and double click project Adc_Burst uvproj then configure project Noted default project setting can made download successfully please recheck if program compile or download failed 1 Sele
77. wer management industrial automation robotics medical automotive accessories and embedded audio In software it provides LPC435x 185x full function MDK source including all peripherals use routines which greatly reduces the workload of secondary 1 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual development and shorten development cycle 1 2 Product Preview 5V Power Audio In Audio Out Ethernet UART Power Switch a d 264 E IK HESS USB OTG CANO V Sat CAN 3 E ba raph Bee SICH E R gt w MIS Si apt USB Host RS485 0 d H POWER LPC435X 185X s BE ast EIS ho LCD Micro SD E SESE IYD LPCA35X 185x ZE Touch Varistor User Key Battery EXT Interface Reset Figure 1 1 1 3 Product Features Electrical parameters gt Operating Temperature 40 C 85 C gt Electrical Specifications 5V power supply gt Mechanical Dimensions 115 mm x 90 mm Processor LPC435x gt LPC435xFET256 Cortext M4 MO dual core structure frequency at up to 204MHz e 32 bits ARM Cortex M4 e 32 bits ARM Cortex MO asymmetric coprocessor gt Hardware floating point unit 2 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual gt Upto 1 MB total dual bank flash memory with flash accelerator gt 264KB chip SRAM gt 64KB chip ROM containing boot code and on chip software drivers gt 128 bit universal OTP Processor LPC185x
78. xA000 NorFlash 0x1C000000 0x400000 0x10080000 OxA000 IFlash 0x1A000000 0x80000 0x10000000 0x8000 30 MYIR TECH LIMITED www myirtech com 0 M Y iR Make Your Idea Real MYD LPC435x 185x User Manual Table 3 3 2 Select corresponding chip models in Device table Options for Target SPIEL 128MB sl Device Target Output Listing User C C Aen Linker Debug Utilities Database Generic CPU Data Base Y Cortex M4 Processor running at frequencies of up to 204 MHz Manor Pateda Unit MPU Nested Vectored tem pt Controller NVIC Hardware floating point unit Non maskable Interrupt NMI inpu JTAG and Serial Wire Debug SWD se al trace ETM and ETB support System tick timer Four reduced power modes Sleep Deep sleep Power down Deep powe Cortex MO Processor core capable of offJoading the main ARM Cortex M4 running at frequencies of up to 204 MHz gt lt ao D 7 JTAG Serial Wire Debug and buitin NVIC Ei Samanna 4 m Cancel Defaults Help Figure 3 3 3 It is noted to select object file generated include intermediate file and execute name in Output table Refer to figure 3 4 31 MYIR TECH LIMITED www myirtech com 0 M Y R Make Your Idea Real MYD LPC435x 185x User Manual GG Options for Target SPIFI 128MB d Device Target Output Listing User l C C l Asm Linker Debug Utilities Name of Executable Example Crea
79. y default configuration download the program by chapter 3 10 1 and then observe terminal information gt Phenomenon Indicates 58 MYIR TECH LIMITED www myirtech com e M Y R Make Your Idea Real MYD LPC435x 185x User Manual gt MO Sending heureka M4 akerueh 3 13 EMAC 3 13 1 Emac_EasyWeb gt Function description This example demonstrates implement a simple web application The web page shows two analog inputs page refresh by each 5 seconds More details refer to project abstract txt gt Procedures Connect PC and board by crosswire Set board IP 192 168 0 100 PC IP 192 168 0 102 Configure board and serial port by default configuration Download program by chapter 3 4 2 and set start mode by table 3 6 press RESET button after downloading to start program Input the string http 192 168 0 100 to open page with ADC real time sampling value gt Phenomenon Indicates ADC real time sampling value displayed on webpage and changed follow potentiometer VR1 s rolling Refer to figure 3 25 59 MYIR TECH LIMITED www myirtech com M Y R Make Your Idea Real MYD LPC435x 185x User Manual E easy WEB dynamic AAA Windows Internet Explorer IES EI 192 168 0 100 File Edit View Favorites Tools Help Favorites 3 E Powered by Discuz E Perl e easyWEB dynamic Webside Hello World This is a dynamic website hosted by the embedded Webserver easyWEB Hardware e 1pc43xx N
Download Pdf Manuals
Related Search
Related Contents
"取扱説明書" User Manual - Textfiles.com MIIAVISION - Miia Style Copyright © All rights reserved.
Failed to retrieve file