Forums Search for: LPC2129
LPC2119/29 low cost eval board
inHi 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
IAP command problems
inCould anyone help me to run the IAP commands on KEIL MCB2100 (LPC2129)? I am working with the ARM RVDS tools (& RV ICE) and...
Could anyone help me to run the IAP commands on KEIL MCB2100 (LPC2129)? I am working with the ARM RVDS tools (& RV ICE) and tried to run a small sample calling the IAP commands (program runs from iRAM). Most time I get a "memory access violation" several
RapidiTTy Lite
inI represent a new company called TTE Systems. In keeping with the spirit of the season, we have just launched a *free* software tool called...
I represent a new company called TTE Systems. In keeping with the spirit of the season, we have just launched a *free* software tool called "RapidiTTy Lite". RapidiTTy Lite is based around GCC ARM and Eclipse and targets LPC2xxx microcontrollers. The examples included with the tool target the LPC2129 microcontroller (and the Olimex LPC-P2129 board in particular). They can be adapte...
How to make efficient RX ISR usage on FreeRTOS
inHi, Can anyone tell me how to write an UART RX ISR in order to receive several kinds of packets with different length? The kernel is FreeRTOS. I...
Hi, Can anyone tell me how to write an UART RX ISR in order to receive several kinds of packets with different length? The kernel is FreeRTOS. I have excerpted one piece of sample code snippet from one of the FreeRTOS demo port for LPC2129, as bellow. [code] __arm void vSerialISR(void){ signed char cChar; portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE; switch(U0IIR & serIN
LPC2129 PWM Modified rate not working properly
inHi all I am working on single edge PWM generation on LPC 2129 .The summary o my work is as below 1)I am able to see PWM output on Pin 33(PWM...
Hi all I am working on single edge PWM generation on LPC 2129 .The summary o my work is as below 1)I am able to see PWM output on Pin 33(PWM 4).it is as per my clock settings.No problem still here. 2)In the PWM ISR,I am setting 2 flags and in the main loop of the code ,and based on these flag values I am dynamically changing PWM4 rate by changing PWMMR0 ;PWMMR4 PWMLER registers. 3)These above ...
LPC23xx MCB2300 starup issues with GCC FreeRTOS statup files
inI am attempting to use the freertos lpc2106_GCC loader files and boot.s file for the lpc2378 keil evaluation board to bring up a simple blinking...
I am attempting to use the freertos lpc2106_GCC loader files and boot.s file for the lpc2378 keil evaluation board to bring up a simple blinking led first. then the entire freertos demo. I only modified the loader file to what you see below. I left the boot.s file untouched. > From my other ports from lpc2106 -> lpc2129 and lpc2148. this is all I had to do. For some reason this is not
LPC2129 CAN Bus Values for Keil uVision
inI'm new to ARM development. I'm using the Keil uVision3 IDE and the Keil MCP2100 Dev Board with LPC 2129. I need to know the values to set...
I'm new to ARM development. I'm using the Keil uVision3 IDE and the Keil MCP2100 Dev Board with LPC 2129. I need to know the values to set in order to make the CAN bus work at 500k. Below are the values for 125k and 250k as provided in the Keil demo example. I'm not sure for what tSEG and SJW these values were calculated. // Keil Demo Common CAN bit rates #define CANBitrate125k_12MHz...
Plug-an-arm (LPC2129) CAN bus problems
inHi, I'm trying to add CAN support to some existing firmware that runs on a plug-an-arm (from newmicros.com). I'm having trouble...
Hi, I'm trying to add CAN support to some existing firmware that runs on a plug-an-arm (from newmicros.com). I'm having trouble getting anything CAN related to work. I have reduced my test code to some extremely minimal test code (adapted from this book: ): #include #define REG32 (volatile uint32_t*) #define GPIO
problem in CAN
inhello group, Im using lpc2129 in MCB2100 board.im facing problem in CAN(Controller Area Network) communication in hardware.Actually...
hello group, Im using lpc2129 in MCB2100 board.im facing problem in CAN(Controller Area Network) communication in hardware.Actually i connected two MCB2100 board,im just sending char in hypertermial through UART1(but communication between two board is through CAN only).i connected CANL to CANL & CANH to CANH. Transmission is done through push message function in which ...
Crossworks Section Definition for C code
inHow do you define a .text and .rodata for a c module in Crossworks? How do you add these sections to the flash_placement.xml file? I am...
How do you define a .text and .rodata for a c module in Crossworks? How do you add these sections to the flash_placement.xml file? I am trying to make a IAP boot loader code section that I can locate at the top of the LPC2129 flash range. I used : #pragma section text=".code_section" #pragma section data=".my_data" #pragma section bss=".uninit_data" I know how use to include ...
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
Problems with olimex (wiggler) jtag and olimex lpc2129 proto board
inNewb - I can't seem to get my wiggler compatible to talk to my olimex proto board. I've tried it on 2 laptops, 800 mhz and 2.8 ghz machines,...
Newb - I can't seem to get my wiggler compatible to talk to my olimex proto board. I've tried it on 2 laptops, 800 mhz and 2.8 ghz machines, various parallel port speed settings. I'm using OCD Commander and always get an Internal Error 43 message, then "Error Response from INITIALIZE: 0x03 initialize_target : cable disconnected (10 : 03)" I'm using
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
problem UART - LPC2129 - kit olimex
inhello, when i send data in U0THR U0THR = 0x41; printf ("U0THR = %X\n",U0THR); IAR display U0THR = FF why U0THR have FF value...
hello, when i send data in U0THR U0THR = 0x41; printf ("U0THR = %X\n",U0THR); IAR display U0THR = FF why U0THR have FF value and don't have 41 value ? this is function of initialization of UART0 void UART0Init(U16 baud) { U16 divisor = getperipheralClockFreq() / (16 * baud); U0LCR_bit.DLAB=1; //Enable DLAB U0LCR_bit.WLS=3; //8 bits U0LCR_bit.SBS=1; //...
SD(HC) support on LPC21XX? Using pre-written driver, SC works but HC fails CRC16
inHi, I'm trying to log data to an SD card on the LPC2129. I have a good SPI driver written, and I can read/write regular SDSC and MMC cards...
Hi, I'm trying to log data to an SD card on the LPC2129. I have a good SPI driver written, and I can read/write regular SDSC and MMC cards using the driver here: https://github.com/vsergeev/embedded-drivers/blob/master/sd.c This seems to follow SD spec (with the possible exception of querying voltage using CMD58 early), and works great for standard capacity cards. However, anything high c...
CAN Bus Real Time Conditions
inDear Ladies and Gentlemen, I have to develop a very safe CAN Bus application that have to resume its work after a short circuit on the CAN...
Dear Ladies and Gentlemen, I have to develop a very safe CAN Bus application that have to resume its work after a short circuit on the CAN Bus in real time. I have developed a CAN Bus Application with up to 40 CAN Bus Members on a Line, and it works very very well. All Controllers are Philips LPC2129. A few days ago, I simulated a short circuit on the CAN Bus lines with a duration of a
LPC2129 CAN bitrate calculation problem
ini have found this example of CAN bitrate calculation : CAN clock setting for 100 usec CLK = 14745600 (VPBDIV=0) -> PCLK = CLK/4 ...
i have found this example of CAN bitrate calculation : CAN clock setting for 100 usec CLK = 14745600 (VPBDIV=0) -> PCLK = CLK/4 Example BRP = 0x16 =22 SJW = 0 TSEG1 = 0xC=12 TSEG2 = 1 (BRP+1) * ( (SJW+1)+(TSEG1+1)+(TSEG2+1) ) BIT = ------------------------------------------- PCLK 23 * ( 1+13+2 ) 23*16
Keil RTX Real Time Kernel
inHi All, I am now in the need for a real time kernel and interested in porting FreeRTOS to LPC2888, but until now still has not succeeded, but...
Hi All, I am now in the need for a real time kernel and interested in porting FreeRTOS to LPC2888, but until now still has not succeeded, but in the mean time I found out that a real time kernel (ARM-RTX) was included in my Keil MDK license, As the kernel bundled with the MDK does not come with the source code and all the examples are built for LPC2129, LPC2103 and LPC2138, is it possib...
contiiki for LPC
inHi All, I am planning to start to port Contiki (http://www.sics.se/~adam/contiki/) for use on this LPC2129 based board...
Hi All, I am planning to start to port Contiki (http://www.sics.se/~adam/contiki/) for use on this LPC2129 based board http://www.vscp.org/wiki/doku.php?id=roma_-_ethenet_based_2_x_can_interface_for_vscp that is part of the VSCP project (http://www.vscp.org) and also for the Olimex E2129 board. The question is if someone know if this has been done for the LPC, partially or comple...
Acceptance filter CAZN problem LPC2129
inhello, i want to send MSgCAN with ID 0x1 from CAN1 to CAN2 and send MSgCAN with ID 0x2 from CAN2 to CAN1 CAN_TXframe temp2...
hello, i want to send MSgCAN with ID 0x1 from CAN1 to CAN2 and send MSgCAN with ID 0x2 from CAN2 to CAN1 CAN_TXframe temp2 ={0x00080000,0x00000002,0xA2A2A2A2,0xB2B2B2B2}; CAN_TXframe temp1 ={0x00080000,0x00000001,0xA1A1A1A1,0xB1B1B1B1}; i must in my driver to use CAN filter acceptance well i have a problem : i have developped this function but i don't understand why i must...