EmbeddedRelated.com

LPC2119 CAN Rx interrupt handler problem -- never got invoked

Started by Marek Peca in LPC200019 years ago 1 reply

Dear colleagues, playing half a day with LPC2119 CAN controller, I really halted at problem, that interrupt service routine for CAN...

Dear colleagues, playing half a day with LPC2119 CAN controller, I really halted at problem, that interrupt service routine for CAN message reception does not work. I have a board with LPC2119 (TPN0431AY), crystal, CPU and peripheral frequency equal to 10MHz. It communicates well via CAN with laptop CAN analyser software (both reception and tr


measuring frequency on lpc2119

Started by faisal_b2o in LPC200015 years ago 3 replies

Im using a humidity sensor which is connected to the lpc2119. This sensor is a capacity. In order to mesure this capacity Im using a...

Im using a humidity sensor which is connected to the lpc2119. This sensor is a capacity. In order to mesure this capacity Im using a ne555. The frequency output depend of 2 resistor and the capacity. I would like to mesure frequency on a pin of the lpc2119. I dont know how to Any help please ------------------------------------


Problem with SPI1 on LPC2119

Started by irafalovsky in LPC200018 years ago 42 replies

I wonder if anyone can help me with the problem we are having with interfacing a peripheral to LPC2119... The issue is that a peripheral...

I wonder if anyone can help me with the problem we are having with interfacing a peripheral to LPC2119... The issue is that a peripheral (MicroMag 3 from PNI Corp) expects 8 bit command and after measurement transmits 16 bit of data back to master. We have set up LPC2119 in SPI1 master mode, transmit 8 bit command to Micromag 3 and read S1SPDR twice after peripheral signals the end o...


How to use PWM on LPC2119?

Started by swee...@hotmail.com in LPC200017 years ago 9 replies

I want to know how to use PWM. I use Keil and LPC2119. Please give me some example code. and told me how to set Frequency, duty ratio and...

I want to know how to use PWM. I use Keil and LPC2119. Please give me some example code. and told me how to set Frequency, duty ratio and anything that important to know when use PWM. I'd read in datasheet and try by myself for a month but it's still don't work. Please help me. Thank for advance.


Startup files for LPC2119

Started by nik in LPC200018 years ago 3 replies

Hi all ! I am using GCC-4.1.1.1 in Debian environment for LPC2119 processor. Can anybody please tell me what startup files do i need apart...

Hi all ! I am using GCC-4.1.1.1 in Debian environment for LPC2119 processor. Can anybody please tell me what startup files do i need apart from crt0.S ? Do I need RAM.ld and ROM.ld ??? Thanks


LPC2119 Recieve CAN message

Started by niwa284 in LPC200014 years ago 10 replies

hi there, this is my first post here so please be patient with me. i am working with a LPC2119 and i am trying to get the CAN...

hi there, this is my first post here so please be patient with me. i am working with a LPC2119 and i am trying to get the CAN interface working. currently my code is based on the CANFull_V110 example code. Transmitting messages is working like a charm but recieving does not work at all. not one single message gets recieved. not even the ISRs for recieving are called. i tried both CAN1 and ...


LPC2119 ET-ARM stamp - Timer Interrupt problem

Started by rabbit1575 in LPC200017 years ago 6 replies

Hi, I bought ET-ARM LPC2119 Stamp from Futurelec with the development board earlier. Really nice actually. I have been doing/following all...

Hi, I bought ET-ARM LPC2119 Stamp from Futurelec with the development board earlier. Really nice actually. I have been doing/following all the examples provided by Keil with no problem except things that has interrupt associated with it. I tried to demonstrate the usage of Timer0 but i failed to get the interrupt fires. Looks like something wrong somewhere. I ran out of idea alrea...


LPC2119/29 low cost eval board

Started by microbit in LPC200021 years ago 8 replies

Hi all, Anyone that can recommend a good, low cost eval board for LPC2119/LPC2129, (or a similar 64 pin part). I don't want...

Hi all, Anyone that can recommend a good, low cost eval board for LPC2119/LPC2129, (or a similar 64 pin part). I don't want to design my own HW just yet, as it requires a fair bit of RF layout integration :-) Ideally this board will be able to take the parts with memory


lpc2119 I2C Problem with SRF02

Started by faiz...@hotmail.com in LPC200015 years ago 4 replies

Hi all im trying to communicate with my sensor which is the SRF02. Ive got a LPC2119 with the eval board. Can someone help me ?? #define...

Hi all im trying to communicate with my sensor which is the SRF02. Ive got a LPC2119 with the eval board. Can someone help me ?? #define STA 0x20 //100000 #define SIC 0x08 //1000 #define SI 0x08 //1000 #define STO 0x10 //10000 #define STAC 0x20 //100000 #define AA 0x04 //100 unsigned char DataL; // Low data byte storage unsigned char DataH; // High data byte storage ...


Flash Memory read/write LPC2119

Started by Kemal Onyurt in LPC200015 years ago 5 replies

Hi All, which is the easiest and fastest way store datas on chip flash and want to use in different times ? Hope there must be more people...

Hi All, which is the easiest and fastest way store datas on chip flash and want to use in different times ? Hope there must be more people working on sunday. take care Kemal


Can't understand interrupts

Started by Cristi Neagu in LPC200013 years ago 25 replies

Hello. I'm a newb on these forums and on ARM programming, so any help would be appreciated. I've been trying to get my head around interrupts,...

Hello. I'm a newb on these forums and on ARM programming, so any help would be appreciated. I've been trying to get my head around interrupts, and i'm not making any progress. I've been looking over the LPC2119 manual, as well as over "The Insider's Guide for Philips" book, and I can't figure out what i'm doing wrong. What I'm trying to do is to generate a fast interrupt via EXTINT1 that wil...


IAP successfully used in LPC2119/2129/2194/2292/2294?

Started by Anonymous in LPC200020 years ago 7 replies

Has anyone used built-in In-Application Programming functions successfully in any of those LPC's?? I'm having problems erasing...

Has anyone used built-in In-Application Programming functions successfully in any of those LPC's?? I'm having problems erasing sectors and wonder if someone would help me figure out what am i missing. Thanx in advance, Gonzalo


JTAG vs ISP/IAP

Started by zerealbigboss in LPC200016 years ago 3 replies

Can anyone tell me why I would use JTAG programming if I can do the same, except debugging, with ISP/IAP? I wrote a very small application...

Can anyone tell me why I would use JTAG programming if I can do the same, except debugging, with ISP/IAP? I wrote a very small application (DOS/Windows98, Linux) for automated production programming that works on 68HCs, PICs and the LPC2119 I am testing. ------------------------------------


problems using math.h

Started by oemtyo in LPC200019 years ago 2 replies

Hi everyone, I'm programming an application for lpc2119 and need to do complex mathematical calculations with values got from the ...

Hi everyone, I'm programming an application for lpc2119 and need to do complex mathematical calculations with values got from the A/D-Converter. Therefore i need to include the math.h to be able to call functions such as pow() or sqrt() ... The linker-flag "-lm" to include the math-library is set. (GNU ld version 2.14 20030612)


Strange Problem with Interrupts on LPC2119

Started by buckeyes1997 in LPC200015 years ago 22 replies

Hello I am fairly new to this family of processors having mostly worked with AVR in the past. Anyway I have a temperature control application...

Hello I am fairly new to this family of processors having mostly worked with AVR in the past. Anyway I have a temperature control application which is mostly running HOWEVER. I have two interrupts UART0 and Timer0. Timer happens about 2Hz and the UART0 is on received characters. I am setting the setpoint via serial commands as well as my PC software polls results via the serial. The sy...


Device IDs update for all LPC2000 devices

Started by philips_apps in LPC200019 years ago 1 reply

Device ID LPC2106 0xFFF0FF32 LPC2105 0xFFF0FF22 LPC2104 0xFFF0FF12 LPC2114 0x0101FF12 LPC2119 0x0201FF12 LPC2124 0x0101FF13 ...

Device ID LPC2106 0xFFF0FF32 LPC2105 0xFFF0FF22 LPC2104 0xFFF0FF12 LPC2114 0x0101FF12 LPC2119 0x0201FF12 LPC2124 0x0101FF13 LPC2129 0x0201FF13 LPC2194 0x0301FF13 LPC22x0 0x0301FF12 LPC2212 0x0401FF12 LPC2214 0x0601FF13 LPC2292 0x0401FF13 LPC2294 0x0501FF13 LPC2131 0x0002FF01 LPC2132 0x0002FF11 LPC2


LPC2119 Replacing Flash Boot Loader

Started by alipowsky in LPC200020 years ago 1 reply

I'm trying to setup a failproof flash update method, so an interrupted and incomplete flash update would not force to open the unit...

I'm trying to setup a failproof flash update method, so an interrupted and incomplete flash update would not force to open the unit and insert a jumper etc. We did thuch things with other controllers, by using one sector as a fixed service monitor, which was always called by r


Loading data serially on a GPIO pin.

Started by Dhinesh in LPC200014 years ago 12 replies

Hello; I am new to ARM. i am using LPC2119 development board. i need to send a array of hexadecimal value serially to a GPIO. in simpler way is...

Hello; I am new to ARM. i am using LPC2119 development board. i need to send a array of hexadecimal value serially to a GPIO. in simpler way is i need to interface 74hc595 shift register to ARM. i dont want to interface with SPI, i need to do it manually using GPIO. I did some programming but it shows error. I use Keil uvision, realview compiler. Here the program. #include #de


lpc2119--REPLACING THE CODE IN FLASH USING IAP

Started by santforjob in LPC200015 years ago 5 replies

I'M RUNNING THE IAPs FROM RAM ITSELF AND REPLACING THE CODE ALREADY PRESENT AT 00 LOCATION IN FLASH BY THE CODE RESIDING IN RAM. PROBLEM IS...

I'M RUNNING THE IAPs FROM RAM ITSELF AND REPLACING THE CODE ALREADY PRESENT AT 00 LOCATION IN FLASH BY THE CODE RESIDING IN RAM. PROBLEM IS THAT THE CODE GOT REPLACED BUT NEW CODE IS NOT GETTING ACTIVATE, INFACT AFTER MANUAL RESETING IT IS NOT WORKING. WHAT WOULD BE THE PROBLEM AND SOLUTION....... ------------------------------------


Re: Remote Firmware Update

Started by Richard Duits in LPC200017 years ago

From the LPC2119/2129/2194/2292/2294 user manual chapter "FLASH MEMORY SYSTEM AND PROGRAMMING": Criterion for valid user code: The reserved...

From the LPC2119/2129/2194/2292/2294 user manual chapter "FLASH MEMORY SYSTEM AND PROGRAMMING": Criterion for valid user code: The reserved ARM interrupt vector location (0x0000 0014) should contain the 2?s complement of the check-sum of the remaining interrupt vectors. This causes the checksum of all of the vectors together to be 0. The boot loader code disables the overlaying of the ...