example code for interfacing AD7327 using microcontroller LPC 2138 using SPI

Started by "SAM...@yahoo.co.in [lpc2000]" in LPC20003 years ago 1 reply

example code for interfacing AD7327 using microcontroller LPC 2138 using SPI

example code for interfacing AD7327 using microcontroller LPC 2138 using SPI


LPC2148 Capture Time 0 incorrect value is captured

Started by "rav...@yahoo.in [lpc2000]" in LPC20003 years ago 2 replies

Hi everyone i am new to embedded world and i have problem regarding capture timer value : uC: LPC2148 CClk: 60 MHz. Pclk : 60 MHz. Compiler :...

Hi everyone i am new to embedded world and i have problem regarding capture timer value : uC: LPC2148 CClk: 60 MHz. Pclk : 60 MHz. Compiler : Keil uvision 4 I have connected Pin 0.03 (Match 0.0 (Timer 0)) to Pin P0.10 (Capture 1.0 (Timer 1)). From program code given below : timer 0 toggling Pin 0.03 on MR0 and same is captured at P0.10 . But the value of capture is not correct. Captur...


Fwd: FISH: A free Reference Model Flash resident FORTH for the NXP LPC1114 and LPC812:

Started by "Leo...@btinternet.com [lpc2000]" in LPC20003 years ago

-------- Original Message -------- Subject: FISH: A free Reference Model Flash resident FORTH for the NXP LPC1114 and LPC812: Date: Sat, 24...

-------- Original Message -------- Subject: FISH: A free Reference Model Flash resident FORTH for the NXP LPC1114 and LPC812: Date: Sat, 24 May 2014 10:16:51 +0000 (UTC) From: Microcontroller Central To: Leon Heller http://www.mediafire.com/download/f00by91pikiw0w6/FISH_FORTH_NXP_M0_PubRel_v1.4.zip --- > From the Glossary: FISH is a 32-BIT


LPC2129 - Setting CAN Baud rate & Getting Errors

Started by "sie...@gmail.com [lpc2000]" in LPC20003 years ago 4 replies

Hi, I'm trying to use CAN with some less-common baud rates but I'm not sure if my calculations are right. Crystal is 12MHz, using a 5x...

Hi, I'm trying to use CAN with some less-common baud rates but I'm not sure if my calculations are right. Crystal is 12MHz, using a 5x multiplier for a frequency of 60MHz. VPB divider is 1, so peripherals run at 60MHz. I've tested 500kbps and 250kbps, but would like to add 33kbps, 95kbps and 125kbps. I tried setting these rates but it keeps throwing errors onto the network. Good: 250 kb...


LPC11C24 CAN_H/CAN_L pins

Started by "Jea...@gmail.com [lpc2000]" in LPC20004 years ago 4 replies

Hi: I have a question with regards to the CAN_H and CAN_L pins of the LCP11C24. My understanding is that this microcontroller integrates a CAN...

Hi: I have a question with regards to the CAN_H and CAN_L pins of the LCP11C24. My understanding is that this microcontroller integrates a CAN transceiver, and these pins can be directly connected to the hardware layer of CAN bus. Looking at reference designs, one of them for the MCB1000-vers26 (which I believe is the latest available) shows on sheet 2 that the CAN_H/CAN_L are connected ...


LPC2129 PWM Modified rate not working properly

Started by "ana...@yahoo.com [lpc2000]" in LPC20004 years ago 6 replies

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...

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 ...


setting time in RTC, LPC2148

Started by subh...@gmail.com in LPC20004 years ago 1 reply

Hi, 1. Do we have to manually set daay of month, day of week, day of year etc. in the on chip RTC of LPC2148? 2. Will the RTC take care of the...

Hi, 1. Do we have to manually set daay of month, day of week, day of year etc. in the on chip RTC of LPC2148? 2. Will the RTC take care of the last date of each month(28,29,30,31) or do we have a logic in our code to handle it? thanks, Subhash


task creation issue in LPC2148 freeRTOS

Started by subh...@gmail.com in LPC20004 years ago 4 replies

Hi, I have a sensor sampling task which runs periodically with delay implemented using xTaskDelayUntil function. I have another UART read task....

Hi, I have a sensor sampling task which runs periodically with delay implemented using xTaskDelayUntil function. I have another UART read task. A delay value is send through UART and the currently running sensor sampling task is deleted and a new task with new delay is created. [using xTaskDelete and xTaskCreate]. However the task is not seemed to start again. I am passing the delay value as pa...


SPI interface with LPC2138

Started by namratha harikanth in LPC20004 years ago 4 replies

I need code for SPI interface with LPC2138 as soon as possible

I need code for SPI interface with LPC2138 as soon as possible


LPCXpresso Build Automate

Started by Shashank Maheshwari in LPC20004 years ago 11 replies

Hi Guys I have been working on LPC1114 using LPCXpresso on a Mavericks. I needed to create a same firmware thousand times with different...

Hi Guys I have been working on LPC1114 using LPCXpresso on a Mavericks. I needed to create a same firmware thousand times with different embedded serial numbers and get the respective hex. Can someone help out with automating this process. I guess writing a shell script or something with change in the serial number through vi editor and building the project with saving the hex every time...


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