FIQ - How to setup it on LPC210x?

Started by Telmo Friesen in LPC200011 years ago

Hi all, I am trying to make a fast interrupt work on the LPC2101.. It sens that all interruptions are disabled in the startup code, but I...

Hi all, I am trying to make a fast interrupt work on the LPC2101.. It sens that all interruptions are disabled in the startup code, but I could not find a way to enable it in my C code. And I could not find how to tell the GCC where my handler is too (the handler has to be on 0x1c but how do I tell this to GCC?). I tryed some ways but no one worked.. Can someone help me please? Is there a...


LPC2101 115200 Baudrate Issues at 12MHZ Oscillator Frequency(Fosc)

Started by prab...@yahoo.co.in in LPC200011 years ago 10 replies

Hi all, I am using UART0 for serial communication in LPC2101. When i am testing various baurdrate,9600 is working for me. But 115200 is...

Hi all, I am using UART0 for serial communication in LPC2101. When i am testing various baurdrate,9600 is working for me. But 115200 is not working.This baudrate in needed for my proect. I am using 12MHZ oscillator frequency.(Fosc).Pll is Enabled and vpbdiv is 0.If anybody faced or familiar this issue please share your knowledge. I am changing various Peripheral frequency values....


LPC2101 8k FLASH limit

Started by radim100 in LPC200010 years ago 1 reply

Hi, I have been using LPC2101 in my design for more then 2 years . I am using Rowley Crossworks 1.5 build 2. At the time I have started this...

Hi, I have been using LPC2101 in my design for more then 2 years . I am using Rowley Crossworks 1.5 build 2. At the time I have started this design with LPC2101 Crossworks 1.5 did not have LPC2101 target listed so I used LPC2134 as a target MCU and it seem to work . Only recently I have realized that my code is 21kB long and even that LPC2101 is only 8kB of flash it runs and load OK ( under ta...


Re: LPC2101 8k FLASH limit

Started by Pete Vidler in LPC200010 years ago

radim100 wrote: > Thanks for eply. I am quite sure from Rowley listing that code is > acctually 21k ( Symbol browser shows memory map ). But...

radim100 wrote: > Thanks for eply. I am quite sure from Rowley listing that code is > acctually 21k ( Symbol browser shows memory map ). But how 2101 eatss > that 21k is puzzling ? The map should also tell you where it is all going... you only have to compare it to the memory map from the user manual to see for yourself. If you aren't certain, you could always share it with us. Pet


Re: LPC2101 8k FLASH limit

Started by k5nwa in LPC200010 years ago

At 10:45 AM 10/29/2009, you wrote: > Thanks for eply. I am quite sure from Rowley listing that code is > acctually 21k ( Symbol browser shows...

At 10:45 AM 10/29/2009, you wrote: > Thanks for eply. I am quite sure from Rowley listing that code is > acctually 21k ( Symbol browser shows memory map ). But how 2101 > eatss that 21k is puzzling ? > Radim. If you ever watched the Dr Who series you would know the answer. His time machine/spaceship (tardis) looked like a British phone booth, but inside there were mountain ranges, plai


LPC2101/02 Part Identification Numbers?

Started by cfbsoftware1 in LPC200010 years ago 4 replies

In the process of writing a simple demo program for a new IAP module for Armaide we've found that the Part ID codes for the LPC2101/02 parts are...

In the process of writing a simple demo program for a new IAP module for Armaide we've found that the Part ID codes for the LPC2101/02 parts are missing from the documentation. (UM10161, Rev 4. 13 May 2009. Section 9.11, Table 228: LPC2101/02/03 part identification numbers) A value for LPC2103 is listed. Are the other two the same? If not, what should they be? TIA, Chris Burrows CFB Softwa...


LPC1102, World's smallest 32-bit ARM MCU in a 5mm2 pckg

Started by Bob T in LPC200010 years ago

Just popped up in another forum, check it out. Wow, didn't we all think the LPC2101 was very small for a 32-bit micro? Than a couple...

Just popped up in another forum, check it out. Wow, didn't we all think the LPC2101 was very small for a 32-bit micro? Than a couple years later came the 1111, "what 65 cent can buy you" and now, NXP announced the LPC1102 for miniaturized applications. Stunning memory size 32KB flash and 8K SRAM! 4-channel 10-bit ADC, UART + SPI and 4! timers. Every now and then you might run out of pins but...


ISP, UART0, UART1... comm to another cpu

Started by flashzr in LPC20009 years ago 13 replies

Hi, I'm new here and new to LPC2101. I'm reading the PDFs and creating the PCB at the same time, and I need some pointers. I know...

Hi, I'm new here and new to LPC2101. I'm reading the PDFs and creating the PCB at the same time, and I need some pointers. I know that: The chip is programmed through UART0. UART0 has RX/TX only, while UART1 has full modem control lines. My problem is that the LPC will also have to use the UART to communicate with another CPU. The simplest thing would be to use UART1 for that purpo...


Re: Arrays and Memory Usage

Started by FreeRTOS Info in LPC20009 years ago 2 replies

On 11/01/2011 19:22, xxavatarxx wrote: > =20=20 > =20 > I'm a little stuck on one thing. > =20 > Say I'm using an LPC2101 with 2k of...

On 11/01/2011 19:22, xxavatarxx wrote: > =20=20 > =20 > I'm a little stuck on one thing. > =20 > Say I'm using an LPC2101 with 2k of memory. So it has 2K bytes total? [I have not looked at the data sheet] > =20 > What happens if I declare an array of integers that has 2K elements. > Like -> int myArray[2048]; Each int being 4 bytes, so the array will require 8192 bytes. > Essential


Arrays and Memory Usage

Started by xxavatarxx in LPC20009 years ago 4 replies

I'm a little stuck on one thing. Say I'm using an LPC2101 with 2k of memory. What happens if I declare an array of integers that has 2K...

I'm a little stuck on one thing. Say I'm using an LPC2101 with 2k of memory. What happens if I declare an array of integers that has 2K elements. Like -> int myArray[2048]; Essentially it's the size of the amount of memory the Microcontroller has. Does that go into the program space that resides in flash, or does there need to be at least 2k of free memory to handle that data type? I


Sample I2C slave code for LPC2101?

Started by Brian Schmalz in LPC20009 years ago 1 reply

I've been tasked with adding I2C slave functionality to a tiny little LPC2101 based board. I'm new to ARM, although I'm quite familiar with other...

I've been tasked with adding I2C slave functionality to a tiny little LPC2101 based board. I'm new to ARM, although I'm quite familiar with other 32 bit processors (PIC32, Blackfin, etc.) I'm using Yagarto. Anybody know of any simple little examples to help me get started? I'd rather not have to reinvent the wheel. I see that NXP provides some super simple assembly example code in an app note -...


I2C bootloader

Started by Brian Schmalz in LPC20009 years ago 8 replies

Does anyone know of any I2C bootloaders? I'm targeting an LPC2101. Free or $$$ is OK. Thanks- *Brian Brian Schmalz // sr. embedded systems...

Does anyone know of any I2C bootloaders? I'm targeting an LPC2101. Free or $$$ is OK. Thanks- *Brian Brian Schmalz // sr. embedded systems engineer LOGIC // engineering design services 411 Washington Ave. N. Suite 400 Minneapolis, MN 55401 T // 612.436.5134 F // 612.672.9489 b...@logicpd.com www.logicpd.com / / / / / / / / / /


LPC210X P0.17 and P0.18 Operation.

Started by martymcflap in LPC200014 years ago 2 replies

I'm using the 48 pin LPC2102 and I'm having difficulty configuring P0.17 and P0.18. I want to use these pins as a general purpose output to...

I'm using the 48 pin LPC2102 and I'm having difficulty configuring P0.17 and P0.18. I want to use these pins as a general purpose output to provide a high and low voltage without any pull ups, the problem is that on the board I'm using these pins appear only to be able to give me an open drain output. From the Pin Configuration section (Chapter 6) of the User Manual both P0.17 and P0.


Philips flash utility program question

Started by bobtransformer in LPC200014 years ago

I am using the Philips flash utility for LPC2102 and it works but about every other time (alternately) it gives me an error that it cannot...

I am using the Philips flash utility for LPC2102 and it works but about every other time (alternately) it gives me an error that it cannot communicate with the target. Usually I can just retry and it will work but of course I have to wait a couple seconds for the timeout and sometimes have to redo the reset and P0.14 thing. I just wondered if anybody else had seen this anomoly. Baud ra...


IAR and J-link

Started by Eric Mattle in LPC200013 years ago 12 replies

I am running the IAR embedded workbench and interfacing to a board of ours with an LPC2102 on it. We use J-link to debug with and everything...

I am running the IAR embedded workbench and interfacing to a board of ours with an LPC2102 on it. We use J-link to debug with and everything works just fine. However, when I remove the J-link and press reset, nothing seems to work. I was under the impression that once we didn't need the J-link anymore, by removing it and pressing reset, it would run the program that was downloaded by the J-link...


LPC2102, with i2c and watchdog

Started by chiu...@yahoo.com.hk in LPC200013 years ago 1 reply

hello, i\'m a newbie (and also an outsider of electronics) so my question sounds a bit stupid... now i\'m using LPC2102, and the watchdog...

hello, i\'m a newbie (and also an outsider of electronics) so my question sounds a bit stupid... now i\'m using LPC2102, and the watchdog works perfectly (device reboots when watchdog not fed within the preset time) when i2c is not in use. however, when i2c is in use the device will keep rebooting again and again. it seems that the watchdog crashes with the i2c interrupt. please kindly ad...


Timer / Counters - the facts

Started by johncrad in LPC200013 years ago 2 replies

The NXP site lists in the parametrics the LPC2102, 2119 and 2138 all as having 4 32 bit timers. However, the data-sheets (that list multiple...

The NXP site lists in the parametrics the LPC2102, 2119 and 2138 all as having 4 32 bit timers. However, the data-sheets (that list multiple parts in a series) don't seem to confirm this fact. Is there an LPC part that has 4 timers in its peripheral list? TIA John C


Re: lpc2102 max PCLK frequency

Started by rtstofer in LPC200012 years ago 6 replies

--- In l...@yahoogroups.com, "keithgw_strider" wrote: > > Has anyone seen a spec for the maximum allowed PCLK? > Why wouldn't it be...

--- In l...@yahoogroups.com, "keithgw_strider" wrote: > > Has anyone seen a spec for the maximum allowed PCLK? > Why wouldn't it be as described 3.11 "APB divider" of the User Manual. In short, it can be 1/4x, 1/2x or 1x of CCLK and CCLK can range up to 60 MHz. Richard


Re: using enc2680 with LPC2103 for sending UDP packets only

Started by scx31114 in LPC200012 years ago

It=B4s possible, i have some lpc2102 running tcp/ip from ram, where the image is compressed into flash. For developement, lpc2103 was...

It=B4s possible, i have some lpc2102 running tcp/ip from ram, where the image is compressed into flash. For developement, lpc2103 was used without compression. The compression was added for commercial reasons. The node runs apr/DHCP client, icmp and tcp/ip with virtual com drivers for windows using uIP.=20 --- In l...@yahoogroups.com, "Sagaert Johan" wrote: > > Hi > =20 >


MAM issue? pipeline issue?

Started by Steven Luo in LPC200012 years ago 2 replies

Hello everybody, This 2 weeks I am suffering a trouble a lot and want to get your help. 1. The project background info is below: 1) a...

Hello everybody, This 2 weeks I am suffering a trouble a lot and want to get your help. 1. The project background info is below: 1) a Wireless project based on LPC2102(ver A) and 2.4GHz RF transceiver nRF24L01 2) The code is like below: main(){ // while(1){ ADPCM_Decoder(); } } __irq __arm void timer3_isr(void){ T3IR_bit.MR0INT = 1; ...