LPC1111 programming question

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1111 programming question

894 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by zuzu on Thu May 27 12:12:42 MST 2010
Hello friends,

I'm not too familiar with M0 parts so please excuse few newbie questions.

1. They have factory programmed bootloader so I can use FlashMagic tool to serial programming the parts?

2. They must have 12MHz xtal (eg. not internal RC) to be able to be ICSP programmed?

3. LPCXpresso have some other limmitations except debug size?

4. Can you reccomend a resonable JTAG programmer/debugger for future development?

5. Trying to port some finished product to M0, we actually use 10MIPS on 8 bit core MCU. Since we are interested in power consumprion (that's why we found and select M0) we are not clear if this core at 10MHz has approx. the same 10 MIPS or even better. Ideea will be to use is as low as possible but acheiving equivalent 10MIPS at originally 8 bit core.


Thanks in advance,

Original Attachment has been moved to: 1100421_output_v3.4.0.txt.zip

0 Kudos
Reply
3 Replies

831 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by zuzu on Fri May 28 23:01:39 MST 2010
TheFallGuy: older 8 bit part (PIC18) it's a radio protocol controller, taking packets from RF chipset, process, send back packets over radio and route to/from UART if necessarily. the main problem it consumes ~25mA/10MIPS @3V3 which will be huge for near future portable device. We are very excited about LPC11xx but several changes needs to be made, especially on INT handling. We are sure will be some code reduction and efficiency due to 32bit - actual code (including some precomputed CRC rom tables) has ~16KB. Thanks very much.

nerd62: thanks very much for info, I'll be back after our test boards will be complete, now we expect LPC's from Farnell.

One more question: LPC1111 (QFN33) has 2 pins of Vdd. Both are Vdd or one is VddIO (which one) and can be used at different potential for shifting levels? From data sheet is not clear but several schematics of boards treat them separatelly (Vdd and VddIO).

Little bit confusing

I found a old datasheet (preliminary rev 00.12 from 3 december 2009) which indeed has VDDIO terminology but in current datasheet not. Moreover, there is a foot note that says "Tie together VDD(3V3) and VDD(IO) externally. If separate supplies are used for VDD(3V3) and VDD(IO), ensure that the voltage difference between both supplies is smaller than or equal to 0.5 V"

So we cannot run core at 1V8 and IO at 3V3 ?
0 Kudos
Reply

831 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nerd62 on Fri May 28 00:13:56 MST 2010
Hello zuzu!

I can answer the first two questions:

1. Yes, *every* LPC device can be programmed by FlashMagic. Have a look at the thread http://knowledgebase.nxp.com/showthread.php?t=407 "How to use the ISP bootloader mode", you will find more informations there. The LPC1343 additionally includes a built-in USB bootloader, but I never tried it out till now.

2. An external XTAL is not necessary for the serial ISP bootloader, the LPC11xx devices are using the internal RC oscillator during flash boot process. My actual user-created hardware has definitely no XTAL and it works well.

Kind regards, nerd62 ;-)
0 Kudos
Reply

831 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu May 27 23:59:19 MST 2010
Q1. Yes
Q3. Not that I have seen. What sort of limitations are you expecting?
Q5. What is your 8-bit code doing? That would help us make more educated comments.
For example, if using 32bit multiplies, cortex-m0 can do that in a single cycle, whereas that can take many 10's (even 100's) of cycles on an 8-bit mcu.
0 Kudos
Reply