EmbeddedRelated.com
Memfault Beyond the Launch

LPC2378 IRQ issue

Started by "Mau...@yahoo.com.br [lpc2000]" in LPC20007 years ago 5 replies

Hello guys, Im working on a new project and am having som problems using interrupts. It is a custom board and I'm using the UART1 RDA interrupt...

Hello guys, Im working on a new project and am having som problems using interrupts. It is a custom board and I'm using the UART1 RDA interrupt as FIQ, timer1 and EINT3 as vectored IRQ.The sources for EINT3 are the pins P2.5, P2.6 and P2.8, sensing the falling edge. The system starts fine and work great for a while, then, after some pin state change on one of the EINT3 pins he reaches the "__def...


Timer external match design silliness

Started by "Bal...@foo.is [lpc2000]" in LPC20008 years ago 1 reply

I have a project that uses LPC2387 and makes extensive use of the timer match outputs. A problem I have is that the timer match control is stored...

I have a project that uses LPC2387 and makes extensive use of the timer match outputs. A problem I have is that the timer match control is stored in the same register as the status of the bits. This is the TxEMR register. Bits 3 through 0 contain the states of the output pins, readable and writable. Bits 11 through 4 contain the control bits that tell the comparators what to do on a match. Pr...


Embedded Web Server using TTL UART to Ethernet TCP/IP converter

Started by "che...@yahoo.co.in [lpc2000]" in LPC20009 years ago 4 replies

Hi, I am trying to implement Embedded Web Server wherein i have ported MicroC/OS-II RTOS on NXP LPC2148 MCU with a few sensors interfaced to...

Hi, I am trying to implement Embedded Web Server wherein i have ported MicroC/OS-II RTOS on NXP LPC2148 MCU with a few sensors interfaced to monitor temperature, moisture level and humidity. I am planning to use TCP-232-T from USR which is TTL UART to Ethernet TCPIP convert module so that the sensor parameters can be monitored remotely on a client PC using a web browser. Since i have no ...


Conexant CX93510 JPEG encoder

Started by "ser...@terra.com.br [lpc2000]" in LPC20009 years ago 2 replies

Hi Someone used the Conexant CX93510 jpeg encoder already? Could you share your experience with me? Thanks Sergio

Hi Someone used the Conexant CX93510 jpeg encoder already? Could you share your experience with me? Thanks Sergio


Building a MP3 Player using LPC2148

Started by "Nat...@yahoo.com [lpc2000]" in LPC20009 years ago 7 replies

I have been trying to build a Mp3 Player for my project using LPC2148.I need to interface SD card which will be containing the songs and the...

I have been trying to build a Mp3 Player for my project using LPC2148.I need to interface SD card which will be containing the songs and the output of the SD card will be given to the inbuilt DAC to produce the analog sound signal.I am finding it quite difficult to implement.Can someone please help me.Also I wanted to know that if it possible to play MP3 files using LPC2148?How can I interface my ...


LPC2387 GPIO interrupt latency

Started by "ger...@yahoo.gr [lpc2000]" in LPC20009 years ago 8 replies

Hi everyone I have found that a GPIO interrupt sharing EXTINT3 with the highest priority has about 60usec. latency instead of EXTINT3 pin. Can...

Hi everyone I have found that a GPIO interrupt sharing EXTINT3 with the highest priority has about 60usec. latency instead of EXTINT3 pin. Can this feature be fixed?Is there any method? I am trying to interface a barcode reader and I am loosing always the 1st clock. I am using gcc gnu arm with eclipse IDE. Thanks In Advance Chris


LPC2368 SPI Driver

Started by "Var...@mstglobal.com [lpc2000]" in LPC20009 years ago 5 replies

Hi All, In my setup I have my LPC connected to Ubicom IP3023. The Ubicom is master and LPC is slave. Currently we are using Bit banging as a...

Hi All, In my setup I have my LPC connected to Ubicom IP3023. The Ubicom is master and LPC is slave. Currently we are using Bit banging as a means to communicate between these devices. This is rather slow and we plan to use the hardware. I am very new to this so can anyone suggest a sample code to look at for SPI in slave mode on LPC? Also if there are any samples for master mode will also b...


PWM Conflicts with ADC on LPC2148

Started by "Ben...@yahoo.com [lpc2000]" in LPC20009 years ago 1 reply

I am using the LPC2148 with a 12MHz crystal using a 5 multiplier to have 60MHz CCLK. PCLK running at same frequency as CCLK. I had some working...

I am using the LPC2148 with a 12MHz crystal using a 5 multiplier to have 60MHz CCLK. PCLK running at same frequency as CCLK. I had some working software triggered ADC code. When I added a PWM output with a match interrupt, the ADC always returns 0 (the PWM output is working correctly) I can't figure out why this is happening. Any help would be appreciated Here is a link to the PastBin for the co...


lpc2387 wake up from power down problem

Started by "ger...@yahoo.gr [lpc2000]" in LPC20009 years ago 3 replies

Hi all, I am facing a problem during wake up from power down via RTC interrupt. Let me explain; my LPC uses a battery as power back up when...

Hi all, I am facing a problem during wake up from power down via RTC interrupt. Let me explain; my LPC uses a battery as power back up when external power supply is down. When it switches in PD mode I wake up the MCU via RTC interrupt to check the battery level via A/D and then go to PD again. I have no idea when but some times when it wakes up from RTC INT I see to the multimeter that the devi...


ADC returns 0 when used with PWM on LPC2148

Started by "ben...@yahoo.com [lpc2000]" in LPC20009 years ago 4 replies

I am writing some code for the LPC2148. I have some working ADC code using AD0.3 on P0.30. After adding PWM using PWM5 on P0.21 with match...

I am writing some code for the LPC2148. I have some working ADC code using AD0.3 on P0.30. After adding PWM using PWM5 on P0.21 with match interrupts, the ADC always returns 0. I have been unable to determine why. Any help would be appreciated. Here is the code for each: ADC Code: // Select P0.30 as AD0.3 PINSEL1 |= (1 < < 28); int GetADCResult(void) { int result = 0; // Perform


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright


Memfault Beyond the Launch