EmbeddedRelated.com

New user on Olimex LPC-E2129, LED not blinking. Please help

Started by Abdullah R in LPC200018 years ago 4 replies

I am v new to embedded coming from GUI/C++ background. I have connected Keil's ARM-MDK to Olimex LPC-E2129 board through ULINK2...

I am v new to embedded coming from GUI/C++ background. I have connected Keil's ARM-MDK to Olimex LPC-E2129 board through ULINK2 JTAG adapter. I created project in uVision3, selecting LPC2129 as device type, it automatically created Startup.s file for me. Then i wrote very simple toggle LED program (main.c) as shown below. It builds .axf file and it gets downloaded to board (at least thats...


SPI Code hangs

Started by brightside_design in LPC200020 years ago 13 replies

I have a problem with a simple SPI example program. Part: LPC2129 PCK: 14.7 MHz Mode: Master, CPOL=0, CPHA=0, LSIF=0. I initialise the SPI...

I have a problem with a simple SPI example program. Part: LPC2129 PCK: 14.7 MHz Mode: Master, CPOL=0, CPHA=0, LSIF=0. I initialise the SPI like this:- void SPI_Init(void) { S0SPCCR = 0x26; // Divides PCK to give about 400kHz S0SPCR = 0x20; // Select Master mode } And then use the SPI like this:- void SPI_Transfer( char *buf, int count) { int r = 0, i = 0; for( ; i < count; i&


FreeRTOS- LPC2138 I2C Driver

Started by jagdishlpc2138 in LPC200019 years ago 1 reply

i have used wiznet i2c driver as well as lpc2129 i2c driver but not working on FreeRTOS. without FreeRTOS my simple i2c code is working can...

i have used wiznet i2c driver as well as lpc2129 i2c driver but not working on FreeRTOS. without FreeRTOS my simple i2c code is working can any one help me for that


VICVectCntl and VICIntEnable register setting Help

Started by swaroop jr in LPC200016 years ago

Hello, ? I am trying to enable Timer0 and Timer1 interrupt in LPC2129. But I am not sure of VICVectCntl and VICIntEnable register setting.?One...

Hello, ? I am trying to enable Timer0 and Timer1 interrupt in LPC2129. But I am not sure of VICVectCntl and VICIntEnable register setting.?One of the forums says that below settings can be used for Timer0. ? ??? VICVectCntl0 = 0x00000024;???//Set channel ??? VICIntEnable |= 0x00000010; ??//Enable the interrupt ? When I used below settings it works. But I want to know, VICVectCntl and VICI...


Interfacing HDPM01(Digital Compass) with LPC2129 by I2C....Pls Findout what is the wrong in my code....

Started by kris...@gmail.com in LPC200016 years ago 1 reply

First cycle: START followed by a calling to slave address [0110xx0] to WRITE (8th SCL, SDA keep low). [xx] is determined by factory programming,...

First cycle: START followed by a calling to slave address [0110xx0] to WRITE (8th SCL, SDA keep low). [xx] is determined by factory programming, total 4 different addresses are available. Second cycle: After a acknowledge signal is received by master device (HOPERF device pulls SDA line low during 9th SCL pulse), master device sends ?[00000000]? as the target address to be written into. HOPER


problem with .ICF FILE of IAR EWARM 5.4

Started by zied130187 in LPC200016 years ago 1 reply

I begin to develop a program for LPC2129 with IAR EWARM 5.4 I found that there is a file. ICF when I must to configure for that the linker to the...

I begin to develop a program for LPC2129 with IAR EWARM 5.4 I found that there is a file. ICF when I must to configure for that the linker to the IAR generates. hex specific to my application. i have problem to understand how i can configure its parameters. i found an example of file .ICF in an example of project with IAR. program_in_flash.icf file in leds example provided with iar contain...


IAR for ARM pluguin ORTI don't found .ort file

Started by zied130187 in LPC200016 years ago 2 replies

my project is the development of CAN driver for LPC2129 with IAR and OSEK I have a problem to debug for this project I joined ORTI pluguin...

my project is the development of CAN driver for LPC2129 with IAR and OSEK I have a problem to debug for this project I joined ORTI pluguin (pluguin of which is the OSEK on IAR), but the problem is when I run the debugger opens a window that asks me to integrate a .ort file This file is the configuration file ORTI. but I do not know where I can download it -------------------------...


Driver CAN problem olimex LPC2129

Started by zied130187 in LPC200016 years ago 10 replies

after, i have connected : PIN2 CAN1(DB9) to PIN2 CAN2(DB9) and PIN7 CAN1(DB9) to PIN7 CAN2(DB9) i have tested this driver CAN to send data...

after, i have connected : PIN2 CAN1(DB9) to PIN2 CAN2(DB9) and PIN7 CAN1(DB9) to PIN7 CAN2(DB9) i have tested this driver CAN to send data from CAN2 to CAN1 but i don't receive the CAN frame and the program don't enter on the interrupt RXCAN. thank you to help me , to found the problem. in my kit the quartz is 14,7456 MHz i have used 14,7456*(3/4) = 11,0592 MHz to have the error ...


Urgent IAR EWARM with uCOS-II :-( ?

Started by eng_amrahmed2011 in LPC200020 years ago 5 replies

Salam, Urgent, I need help :-( I can't get uCOS-II work with IAR (for ARM) Can you please send any ready project that works with these boards...

Salam, Urgent, I need help :-( I can't get uCOS-II work with IAR (for ARM) Can you please send any ready project that works with these boards (or any LPC2000) MCB2100 MCB2130 Olimex LPC2129 I use IAR EWARM 4.31A Project at http://groups.yahoo.com/group/lpc200 0/files/uCOS-II/ Or Can you take look to my project and tell