Forums Search for: LPC21xx
CAN communication between 2 LPC2129 microcontrollers
inDear all, I'm working on a project with 2 LPC2129 microcontrollers. I want them to communicate with eachother using CAN. The hardware setup...
Dear all, I'm working on a project with 2 LPC2129 microcontrollers. I want them to communicate with eachother using CAN. The hardware setup of both controllers is 'adapted' from the MCB2100 Evaluation board (so with the same CAN driver IC's etc). The microcontrollers run on a 16Mhz crystal, with PLL multiplier set to 4 and VPBDIV also to 4. Now I want to transmit data from CAN1 on uC...
LPC2129 watchdog reset
inHello, im designing a project with the lpc2129 and need to reset the controller by software after i have received a command over uart. To...
Hello, im designing a project with the lpc2129 and need to reset the controller by software after i have received a command over uart. To realice this i set and start the watchdog and wait till the wd period is over. But after the reset occoured the uC doesn't come back to live. When i'm debugging this problem i see that the boot vector at adress 0x00 is overwritten with 0xFF. But that ...
Problem with LPC2129, simple delay function
inHere is the program code: -------------------------------------------------------------- //Header datoteke #include //Prototipi...
Here is the program code: -------------------------------------------------------------- //Header datoteke #include //Prototipi funkcija void delay(int msec); int main() { IODIR1 = 0xFF0000; // LEDice izlazne IOCLR1 = 0xFF0000; // Ugasi ih T1IR=0x0F; while(1) { IOSET1=0xFF0000; delay(2001); IOCLR1=0xFF0000; delay(2000); } return 0; } void d
swi and gcc
inHy guys, I'm developing a can repeater with lpc2129.I'm testing interrupts and primitives before starting with high level. Has someone an...
Hy guys, I'm developing a can repeater with lpc2129.I'm testing interrupts and primitives before starting with high level. Has someone an exemple of swi using under gcc compiler? I just tried with post search but I see only the first page. thanks in advance Alberto ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new
VPBDIV Setting Changes
inHi I am trying to verify that my LPC2129 is running at 60MHz. I am simply using the IOPIN command to toggle a GPIO pin.However the pin...
Hi I am trying to verify that my LPC2129 is running at 60MHz. I am simply using the IOPIN command to toggle a GPIO pin.However the pin stays high for 100ns not the expected 16.666ns. I have set the VPDIV setting to 0x01; therefore PCLK is running at the same frequency as the CCLK, and the mul and div settings are correct to multiply up to 60M from an Oscillator of 20M I have noti...
Where can I find LPC2129.h?
inI am looking for a version of LPC2129.h done by Phillips. I would like to include the file with some source for the GNU ARM tools and...
I am looking for a version of LPC2129.h done by Phillips. I would like to include the file with some source for the GNU ARM tools and figure it's not a good idea to use a header file with IAR or Keil copyrights. Right now I am using LPC214x.h from Phillips. Anyone know where I can get this file with the basic #defines for the I/O registers of the 2129? David ------------------------------...
TCP/IP over serial port on Keil MCB2100 (lpc2129)
inI guess a tcp/ip stack hasn\'t ever been ported on the keil mcb2100, particularly running on the philips lpc2129 processor. Badly need...
I guess a tcp/ip stack hasn\'t ever been ported on the keil mcb2100, particularly running on the philips lpc2129 processor. Badly need documentation and/or source for porting a tcp/ip stack, running on any OS... FreeRTOS, eCOS, whatever.... but over the serial port of the keil motherboard. Any help appreciated. http://dudafunk.myvnc.com ------------------------ Yahoo! Groups Sponsor -------...
difference in execution time(Keil, LPC2129)
inHi all I measured the execution time of the code shown below using break point= s in the keil simulator and it was approximately 500...
Hi all I measured the execution time of the code shown below using break point= s in the keil simulator and it was approximately 500 micro seconds.=20 But when I measured the execution time of the same code from the Philips = ARM board LPC2129 it was about 3000 micro seconds. Do you have any idea about the cause of this difference? =20=20=20 Note that I used the following adju...
LPC2129 power up problem
inI'm hoping someone can shed some light on the following intermittent LPC2129 power-up problem: Power is applied; V18, V3, V18A and V3A...
I'm hoping someone can shed some light on the following intermittent LPC2129 power-up problem: Power is applied; V18, V3, V18A and V3A become stable within 600us, the clock stabilises 1ms later. After a further 250ms nRESET is taken high, but the code doesn't appear to run. Once in this state I can stop execution using a JTAG debugger and examine the PC & other register contents. Somet...
UART current limits
inDoes anybody know if the UART TX line on the LPC2129 is capable of supplying 2.2mA, as I need it to drive an optocoupler for...
Does anybody know if the UART TX line on the LPC2129 is capable of supplying 2.2mA, as I need it to drive an optocoupler for isolation Cheers Andy
LPC2129 Interrupt Problem
inHi, I am using an LPC2129. My VPBDIV is set to '1'. I have been using EINT2 without a problem. I am able to set EXTPOLAR and EXTMODE...
Hi, I am using an LPC2129. My VPBDIV is set to '1'. I have been using EINT2 without a problem. I am able to set EXTPOLAR and EXTMODE without a problem. I am aware of the known errata about VPBDIV and EXTPOLAR so I set EXTPOLAR like this: SCB_VPBDIV = 0 // first you set VPBDIV to 0 SCB_EXTPOLAR = 0x4; // then set your EXTPOLAR bit SCB_VPBDIV = 1; // now, set VPBDIV back to what it ...
LPC2129 timer0 Startup problem
inHello, i have the Olimex LPC-P2129 Development-Board, and I use the Keil=20 =B5Vision3 IDE (Demo Version).=20 My problem ist the Timer0...
Hello, i have the Olimex LPC-P2129 Development-Board, and I use the Keil=20 =B5Vision3 IDE (Demo Version).=20 My problem ist the Timer0 interrupt. Everytime I want to built my=20 program, I get the message - assembling Startup.s=85 - Startup.s (368): error: A1516E: Bad symbol `TimerInterrupt0', not=20 defined or external what is the Problem? I have in my main.c a part named "void TimerInt...
LPC2129/LPC2194
inDear LPC2000 group, I'm new to ARM chip and i'm starting to develope with LPC2129/LPC2194. Some simple but fundamental questions: 1-...
Dear LPC2000 group, I'm new to ARM chip and i'm starting to develope with LPC2129/LPC2194. Some simple but fundamental questions: 1- which is the best toolchain to work with? 2- there are someone working with GCC/Keil/ULINK set? 3- there are someone working with winIdea? thanks in advance alberto ubertelli
measuring frequency on lpc2119
inIm 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 ------------------------------------
initializing I2C problem
inHello, I use an olimex evaboard (LPC2129) and crossStudio. I would like to use the I2C interface but it won't work. ARM should be...
Hello, I use an olimex evaboard (LPC2129) and crossStudio. I would like to use the I2C interface but it won't work. ARM should be the master. First I tried to code it on my own with the datasheet. Then I found some example code on the group. The methode InitI2C() is working fine. Only the methode SendSlaveAdress(unsigned char Addr_S)
pclk speed
inhey guys, how would i find out/set the speed of the pclk on a philips lpc2129 with keil tools? thanks Jason ...
hey guys, how would i find out/set the speed of the pclk on a philips lpc2129 with keil tools? thanks Jason
LPC2129 ARM7 Disable/Enable Interrupt..
inHello, I need to disable the interrupt completely for a short while. I have found that the ARM7 can disable interrupts with the DI and EI...
Hello, I need to disable the interrupt completely for a short while. I have found that the ARM7 can disable interrupts with the DI and EI asm. Theese does only work for me in the startup.s file (I made a test) and not as inline asm where I really need them. I have found some code that may work inline, but can someone tell me about their experienc
VIC on LPC2129
inHello, where can I find more information about the Vectored Interrupt Controller, especially about the SPURIOUS INTERRUPTS? In...
Hello, where can I find more information about the Vectored Interrupt Controller, especially about the SPURIOUS INTERRUPTS? In my system are many interrupts enabled and my system resets from time to time. My idea is the occurrence of this SPURIOUS INTERRUPTS. Is there a symptom, that I can confirm this? OT: Is the
Using CAN acceptance filter on LPC2129
inI'm having problems with using acceptance filter, I used examples BlinkyCAN and FullCAN but I have problems anyways. 1. Does anyone have...
I'm having problems with using acceptance filter, I used examples BlinkyCAN and FullCAN but I have problems anyways. 1. Does anyone have any material on the matter except poor lpc2129 datasheet? 2. I tried to send CAN message with identifier 0x00000063 in Extended Frame Format, I used no filtering AFMR = 2, and I inspected received message and
Re: Cannot jump into ADC's VIC (LPC2129,2138 on MCB2100 board)
Hello J?rgen I think you need to use VICIntEnable = 0x00040000 instead of VICIntEnable = 0x00004000 Or even more readable if...
Hello J?rgen I think you need to use VICIntEnable = 0x00040000 instead of VICIntEnable = 0x00004000 Or even more readable if you try to set bit 18: VICIntEnable = (1<<18); If you don't want to rely on the default value of VICIntSelect then it is better to clear bit 18 in this register (to be sure the ADC interrupt wel