EmbeddedRelated.com

3 port Ethernet Splitter on LPC213X

Started by radim100 in LPC200018 years ago 3 replies

I have question, regarding ETHERNET splitter, passive hub. I am designing hardware with LPC213X and ENC28J60 Ethernet chip . PC is going to...

I have question, regarding ETHERNET splitter, passive hub. I am designing hardware with LPC213X and ENC28J60 Ethernet chip . PC is going to talk from NIC to this controller TCP/IP (UDP) . Beside this LPC213X is going to communicate with modem which has Ethernet port . Also PC will be able directly talk to modem ( configuration etc. ) So basically 3 Ethernet devices communicating ( LPC2...


PWM output

Started by Herbert Demmel in LPC200019 years ago 4 replies

Hi, I seem to miss something with setting up PWM5 output - the routine below sometimes works, sometimes not (depending non additional code -...

Hi, I seem to miss something with setting up PWM5 output - the routine below sometimes works, sometimes not (depending non additional code - this versions below currentlly does NOT work). Any idea what I miss to setup? Thanks for your input. Regards Herbert #include /* LPC213x definitions */ #define TICKS_PER_US 15 void io_alarm_out(u


lpc213x bootloader / FW upgrade sample code?

Started by jaybrinkmeyer in LPC200018 years ago 6 replies

Can someone point me at sample /open source code for lpc213x bootloader that branches to FW update or normal C main at startup? I found lots of...

Can someone point me at sample /open source code for lpc213x bootloader that branches to FW update or normal C main at startup? I found lots of discussion in the archives, but no example code. Thanks, Jay


Synchronous Serial Port of LPC213x - is it useful for PS/2 keyboard/mouse interface

Started by Yuri Ostry in LPC200019 years ago 1 reply

Hello, Just a stupid question from someone who still not digged up through all those huge pile of datasheets and other documentation......

Hello, Just a stupid question from someone who still not digged up through all those huge pile of datasheets and other documentation... 8-) Is it possible to use SSP peripherial of LPC213x for PS/2 keyboard/mouse interface? I now trying to figure this out, reading LPC user manual and all information that I found about PS/2 protocol, but maybe


LPC213x - new RTC wake from power down?

Started by dave_albert in LPC200020 years ago 5 replies

Will the new real-time-clock in the LPC213x be able to wake the CPU from power down mode? I hope this is the case since it has...

Will the new real-time-clock in the LPC213x be able to wake the CPU from power down mode? I hope this is the case since it has external power and an external crystal...otherwise, the 2130 will continue to be a poor candidate for power-down operation as it will require an expen


LPC2138 Using IAR Compiler

Started by venu_95 in LPC200016 years ago 2 replies

Hi Friends, I just stated on a new development using IAR 5.11 compiler and LPC2138 micro controller. And used the code provided by...

Hi Friends, I just stated on a new development using IAR 5.11 compiler and LPC2138 micro controller. And used the code provided by IAR ARM/examples/NXP/LPC213x code to get started.=20 Could anyone please advise me on the following issues, 1. I was wondering whether can I the use the same files provided under "ARM/examples/NXP/LPC213x/config" directory Flash.icf, Flash.mac, RAM.ifc &...


Sample Code LPC213x using IAR's Embedded Workbench for ARM 5.x

Started by venugopal tharmalingam in LPC200016 years ago 2 replies

Hi, I am new to ARM, Could some one help me to find the Sample Code Bundle for LPC213x Peripherals using IAR's Embedded Workbench for ARM...

Hi, I am new to ARM, Could some one help me to find the Sample Code Bundle for LPC213x Peripherals using IAR's Embedded Workbench for ARM 5.x. I found the sample code bundle the lpc2000Group for LPC2138. But it is written for IAR odler version 4.x Thanks Venu ------------------------------------


LPC214x vs LPC213x

Started by mgra...@ess-us.com in LPC200018 years ago 2 replies

I'm working on a design with an LPC2148. However, the LPC2148 has a long lead-time in the US. So I'm going to use a LPC2138 until the LPC2148...

I'm working on a design with an LPC2148. However, the LPC2148 has a long lead-time in the US. So I'm going to use a LPC2138 until the LPC2148 is ready. The obvious difference is the loss of the USB interface. The rest of the device appears to be electrically and software wise the same. (The LPC2138 does have two 10-bit DACs instead of one on the LPC2148). Any other problems or issues ...


device ID for 213x and 214x

Started by arm7dude in LPC200019 years ago 3 replies

I checked and the Device ID for the lpc213x and lpc214x are the same. lpc2148: 196389 lpc2138: 196389 How can I tell the parts from each...

I checked and the Device ID for the lpc213x and lpc214x are the same. lpc2148: 196389 lpc2138: 196389 How can I tell the parts from each other by using the isp commands. Better yet, how does Philips tell the parts from their LPC2000 flash utility as it can tell a 2138 from a 2148, even though the IDs are the same. The datasheet I have for the 2101-2103 only has the device ID for the 210


RTC w/ external clock

Started by begatchev in LPC200018 years ago 5 replies

Has anybody tried inputting an external 32.768kHz clock to the RTCX1 and RTCX2 oscillator pins of the lpc213X? Is it possible at all, since...

Has anybody tried inputting an external 32.768kHz clock to the RTCX1 and RTCX2 oscillator pins of the lpc213X? Is it possible at all, since nothing seems to be mentioned in the documentation on this subject. BR Bisser ------------------------ Yahoo! Groups Sponsor --------------------~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/y


Re: LPC2131 SPI problem

Started by Michael Johnson in LPC200019 years ago

Hi Dave, It seems that S0SPCR has sprouted extra bits on the LPC213x and LPC214x. The CrossWorks LPC21xx header file was generated from...

Hi Dave, It seems that S0SPCR has sprouted extra bits on the LPC213x and LPC214x. The CrossWorks LPC21xx header file was generated from the register description of an LPC2124 which doesn't have these extra bits. The next release of CrossWorks has header files for each LPC device to avoid these problems. For the time being can you modify your copy of LP


LPC2138 ISP

Started by Jan Szymanski in LPC200020 years ago 12 replies

I have 2 samples of LPC2138 and built a proto board. I was suprised to find out that Philips ISP programming software doesn't...

I have 2 samples of LPC2138 and built a proto board. I was suprised to find out that Philips ISP programming software doesn't support it. When I read the ID (partID: 196389) I had an error message: device not supported. (Why Flash utility is in LPC213X folder if it doesn't


LPC Timer ISR stop after breakpoint

Started by sanylcs in LPC200016 years ago 7 replies

I had been working on LPC2214 and LPC213x/4x for some time. I use timer as internal counting quite often. I faced a weird problem which I...

I had been working on LPC2214 and LPC213x/4x for some time. I use timer as internal counting quite often. I faced a weird problem which I don't know why it happened. I have 2 methods. Method1 and Method2. Both Timer1 declaration as follow. a. Method 1 #define ONE_MS_CTR 27647 void Timer1_Init(void) { cpu_time = 0; g_tmr1_ctr = 0; T1TC = 0x00; //Clear Timer Counter T1...


VDD vs VDDA vs VREF on LPC213x

Started by hschew00 in LPC200013 years ago 1 reply

On Datasheet, all these voltage has nominal at 3.3V Will I loose ADC's or DAC's accuracy if 1) VDDA is a little higher than VDD due to separate...

On Datasheet, all these voltage has nominal at 3.3V Will I loose ADC's or DAC's accuracy if 1) VDDA is a little higher than VDD due to separate regulators? 2) VREF is a little higher than VDDA if for whatever reason VREF != VDDA? Hian ------------------------------------


Disabled JTAG = Disabled EINT0

Started by timothymarknorton in LPC200018 years ago 4 replies

I am having a problem when trying to disable the JTAG interface on an LPC213X. I have a pulldown resistor attached to P0.31. On my JTAG...

I am having a problem when trying to disable the JTAG interface on an LPC213X. I have a pulldown resistor attached to P0.31. On my JTAG interface, I apply 3.3V to P0.31 and everything works fine. What I have noticed, is that when my JTAG interface is not connected (p0.31 pulled low) I no longer recieve EINT0 interrupt on P0.16. Can anyone tell me if they have seen this behaviour? Or...


IAR compiler and the time.h lib

Started by "hen...@ymail.com" in LPC200015 years ago 1 reply

Can someone explain to me how I connect the RTC registers in a LPC213x to the time structures in ansi C. I have the RTC up and running but I...

Can someone explain to me how I connect the RTC registers in a LPC213x to the time structures in ansi C. I have the RTC up and running but I would like to do some time calculations that require the time lib. I guess there are stubs that I have to program myself to connect the RTC with the C library time functions. /BR, Henrik ------------------------------------


LPC213x/01 watchdog issue

Started by Mike Harrison in LPC200017 years ago 10 replies

I'm seeing some odd WDT behaviour - need a reality check please.... According to the UM : "Once 0xAA is written to the WDFEED register the...

I'm seeing some odd WDT behaviour - need a reality check please.... According to the UM : "Once 0xAA is written to the WDFEED register the next operation in the Watchdog register space should be a WRITE (0x55) to the WDFFED register otherwise the watchdog is triggered." My reading of this is that as long as the 55 is the next thing written into the WDT register space, the delay between w...


BPSK Demodulation with LPC214X

Started by radim100 in LPC200017 years ago 13 replies

Hi, Did anybody have some experience with demodulating BPSK signal with LPC213X or LPC214X MCU. Our telemetry is receiving BPSK coded data...

Hi, Did anybody have some experience with demodulating BPSK signal with LPC213X or LPC214X MCU. Our telemetry is receiving BPSK coded data from sensor with approx 2400 baud ( bit/sec ) rates . There is 100ms burst of data and 2.9 sec gap etc. Sensor is DC powered ( 12-20VDc ) with BPSK sinewaves signal ( 0.5V ) modulated on DC . Thanks Radim.


Problem with entering ISR

Started by federr65 in LPC200018 years ago 7 replies

I'm just starting with LPC ( I have a LPC-H2138 board from Olicom) and at the beginning I'm unable to solve the following problem: I have an...

I'm just starting with LPC ( I have a LPC-H2138 board from Olicom) and at the beginning I'm unable to solve the following problem: I have an Timer0 set to generate interrupts. Timer works just fine, but I can't force the ISR to execute. Below is my code: #include #define LED 0xF0000000; static int timer0Count, timer1Count; int marker=3D1; static void PLL_Init(voi


Flash Utility V2.2.3 @115200bps with XTAL=10MHz ?

Started by Marcio Zaquela in LPC200018 years ago 5 replies

Hi guys, Does anyone know if it is possible to achieve 115200 bps using the 'LPC2000 Flash Utility' with LPC2138 and XTAL=10MHz ? The...

Hi guys, Does anyone know if it is possible to achieve 115200 bps using the 'LPC2000 Flash Utility' with LPC2138 and XTAL=10MHz ? The maximum baudrate I'm able to use is 38400. Even 57600 bps is not working. I made a routine to test UART0 @ 115200bps and I can only use this baudrate properly when I adjust the fractional divider register (U0FDR - LPC213x/01 devices only) to get the minimum...