LPC is a series of 32-bit ARM microcontrollers manufactured by NXP Semiconductors.

learn more… | top users | synonyms

0
votes
1answer
20 views

Sampling error in Lpc1769's Adc

I am trying to sample sin wave using Lpc1769's Adc. I am sampling signal using adc and send this data to pc using serial port (115200 baud rate). My sampling frequency is 1.5 kHz. When I sample 100 Hz ...
0
votes
1answer
38 views

LPC1769 PC Communication

I am using LPC1769 micro controller and planning to use one of its serial (UART) port for PC communication. It has 4 UART ports (UART0,1,2 and 3) For PC communication purpose, can I use all ports or ...
0
votes
1answer
52 views

Lpc1769 Adc Reading Problem

I am trying to use LPC1769's ADC. The ADC is operating at 12 MHz. In the LPC1769, for one conversion, 65 clock cycles are required. It means that for one conversion, 5.41 us are required. I toggle one ...
0
votes
1answer
49 views

LPC4088 - pin no. 1

I am dealing with LPC4088 microcontroller and I have a problem because I am not sure where is the pin no. 1. In the documentation it says there is a dot to index the pin: But in reallity it looks ...
1
vote
2answers
54 views

Generating pulses via timer match output or timer ISR?

I'm using LPC1778 uC for a project and want to know what is the difference between generating pulses via timer match output and via toggling a pin in a timer ISR. What are the pros and cons of both ...
0
votes
1answer
59 views

Variations in pulses generated and read by a uC

I have a 2 uC's(LPC1778 and a PIC), that perform 2 separate functions. The PIC generates pulses that are coded,where each bit of the code has a pulse duration of 1ms and a complete code is 8 bits long(...
1
vote
1answer
53 views

Priority among prioritised interrupts

I am using 2 interrupts on LPC1778. One for CAN and one for timer. The CAN interrupts whenever a new message is received. The timer interrupts every 200uS. The priority for timer interrupt is the ...
-9
votes
1answer
74 views

How to interface water sensor to LPC2148 ARM 7 kit? [closed]

I am making a prototype of automatic car wiper system using lpc2148 kit as a part of my course project, but I am unable to find the code (.c format) to configure the water sensor. There are some code ...
0
votes
1answer
87 views

CAN Loopback test using SN65HVD233-HT

Im using the SN65HVD233-HT CAN transceiver where it states that loopback is possible without data going out to the bus. Im using LPC1778 uC and want to know,if i enable the loopback pin in the ...
0
votes
1answer
79 views

LPc11u68 Recognized as an USB mass storage device even when programmed in HID class

When I connected a newbie LPC11u68 to USB port,it recognized in windows as an USB mass storage device.When I programmed LPCOPEN HID example by Flash magic to it,after resetting the board,my PC can't ...
0
votes
0answers
21 views

LPC2148 PLL RTC ISSUE

RTC peipheral in lpc2148 hangs while initiating if RTC interrupt is enabled or RTC does not work if RTC interrupt is disabled.I experienced this problem when PLL is configured for 60MHz peripheral ...
0
votes
0answers
30 views

Using both USB ports in LPC2468 simultaneously

I am working on LPC2468 micro-controller.In its manual it is mentioned that it contains a USB full speed device/host/OTG controller,in short there is a dedicated USB port and one OTG port which I can ...
0
votes
0answers
56 views

Error in LPC datasheet?

I was comparing the datasheets for LPC11XX and LPC176x datasheet, specifically referring to the Count Control Register. The LPC11XX datasheet mentions (third paragraph of article 20.7.11 on page 371):...
2
votes
1answer
59 views

Can the output of a TCXO drive a LPC1114 uC?

Is it possible to drive the on-chip oscillator of LPC1114FN28 using the clock output of a FOX924B TCXO? The Datasheet of the uC indicates that a 100 pF cap needs to be put between the oscillator and ...
0
votes
0answers
22 views

Is it possible to use an external PCLK to measure the interval between two capture events in LPC2148?

I am trying to come up with a circuit to measure the duration between two pulses accurately. After toying around with the LPC1114FN28 uC (Will using a CMOS OCXO as extrnal oscillator for the XTAL ...
3
votes
1answer
61 views

Will using a CMOS OCXO as extrnal oscillator for the XTAL input for LPC1114FN28 work?

I am trying to make a circuit which would measure the time interval between two pulses accurately. For this I have decided to use an OCXO with CMOS output and the LPC1114FN28 microprocessor. I plan ...
0
votes
1answer
83 views

Flash Magic for code dumping (LPC1778)

I was reading a book called "Insiders guide to the Phillips ARM7 based microcontrollers". There it says "The easiest way to program the Flash is by the built in bootloader which allows the code to be ...
2
votes
1answer
151 views

Rx data rate on CAN bus faster than polling rate

I'm working on a safety-critical SIL 4 system and so interrupts have to be kept to a bare minimum (hence using only timer interrupts). CAN is used in polling mode. Suppose data arrives at a CAN node ...
0
votes
2answers
69 views

UART is acting weird

I programmed UART3 peripheral on LPC4088 to send a single unsigned character posiljka over Tx line. This is done by continuously copying this character into the ...
0
votes
1answer
50 views

Why does my LPC812 require PIO0_1 to be tied to ground?

I am using an LPC812 (specifically the 20 pin SOIC version LPC812M101JD20). This is currently soldered to an adapter and being tested in a breadboard. To program this PIO0_5 (RESET) and PIO0_12 (ISP ...
1
vote
1answer
72 views

Necessary things in LPC1343 basic development board

I have finished my LPC1343 basic development board,just based on specs from datasheet and some referred from microbuilders.eu. I'm unsure if the board design is good or not so I've attached my ...
1
vote
1answer
129 views

LPC1788 external interrupt with CMSIS

There was a wide GPIO functions in the CMSIS initial versions which made easy setting and initialization of interrupts,like: ...
1
vote
0answers
74 views

Fill unused sector in flash with random value

I asked this question on the KEIL forum http://www.keil.com/forum/60463/ but got no response so trying my luck here. I have a LPC2292 system and i use a linker file to flash the FLASH / ROM on the ...
2
votes
1answer
665 views

Storing a secure key in an embedded device's memory

I am working on an embedded device which send/receive data and stored them in ciphertext mode (encrypted mode ). Now what's best approach for storing Keys (I used ARM CORTEX M series MCU) ? 1-...
0
votes
1answer
59 views

USB enumeration problem, cannot reply on request

I program with LPC2368 on ARM7 architecture and will configurate usb coonection with my pc. After initialization periphery and clock, i try to start usb. I am using the following scheme fro pull-up ...
0
votes
1answer
94 views

Cannot transmit message (receiving is working, but without ack) on CAN bus (LPC2368)

I work with microcontroller LPC2368. After initialisation of the CAN interface to normal mode (not listen-only mode), I can receive all messages, but the microcontroller cannot send an acknowledge ...
0
votes
1answer
45 views

Is softconnect is necessary in lpc1343

I am doing my own development board using LPC1343.I gone through the application note AN10986.I noticed the topic "Automating USB ISP".In that they described about USB softconnect. Now I am designing ...
0
votes
1answer
65 views

IDE to upload code to LPC1343 over USB

LPC1343 when connected to PC acts like a mass storage device.How can I upload code to the microcontroller.Is there any IDE which converts the C program to .bin for uploading the code?If so,please tell ...
1
vote
1answer
181 views

LPC2129 CAN bus interface to OBD-II

I want to connect an LPC to the CAN bus in my car, and I found that LPC2129 have the CAN protocol implemented on the chip. Searching the Internet, I saw that most of microcontrollers are connected to ...
0
votes
1answer
125 views

LPC1769 CAN communication

I am learning CAN bus with LPC1769 and the LPCXpresso base board. I am in badly need of some demo code on CAN communication on the LPC1769 to know how it can be configured and works, but I can not ...
0
votes
0answers
29 views

LPC4337 I2S Synchronized Word Select Signals

I am trying to setup the I2S peripheral on an LPC4337 device so that it will send and receive audio data in master mode. The problem I am having is that I would like to ensure that both the transmit ...
1
vote
0answers
54 views

Using a radio board with Contiki-OS on lpc1347 mcu

I am trying to build a port for Contiki on my lpc1347 board. So far I have been able to run a basic LED blinking/Hello_World Contiki process/program on my board. My next goal is to use a cc2530 radio ...
0
votes
1answer
47 views

Problem with IAP

I'm using LPC1788 IAP to write to Flash and I'm a little confused on what's going on. I'm trying to write 8 bytes of data to Flash memory with 2 tehniques: 1) With one which is logical to me and it ...
1
vote
2answers
458 views

Output clock of the LPC1768?

I am using NXP's LPC1768 development board and I came across the User Manual for this part and page 67/849 section 4.10 descusses the External Clock Output. I couldn't figure out which pin out of the ...
0
votes
2answers
460 views

UART interrupt problem on LPC1788

I wrote a code ...
0
votes
3answers
91 views

Will XORing the FIO0PIN register on an LPC175x6x give unexpected results?

Is this code guaranteed to only effect pin 22? int* FIO0PIN = (int*)0x2009C014; *FIO0PIN ^= (1<<22); At first it seems like a dumb question but I remember ...
1
vote
2answers
442 views

How many device classes can a single USB composite device implement?

I'm looking to use an LPC1345 microcontroller to run a USB hub. Thanks to this question, I know that a single USB device can be used to act as multiple classes but how many? The USB hub would have ...
0
votes
1answer
441 views

ise complaining index out of range, but it seems to be in range?

I'm righting a vhdl module that calculates the LPCs from incoming DT samples. My ise editor is complaining that my index is out of range. Is there any reason anyone can see that it should be ...
2
votes
2answers
357 views

How to automatically allocate a page of flash for in-application storage of settings

I've been using the LPC8xx range of Cortex-M0+ MCUs quite successfully. One difficiency: these don't have inbuilt EEPROM (to preserve settings across power cycles etc). However there is a work-around: ...
3
votes
0answers
1k views

How can I log information from code in IAR Embedded Workbench to a log file?

I'm trying to develop an application for the NXP LPC1788 microcontroller and I would like to be able to log formatted strings at arbitrary points within the source code to a log file in a way that has ...
0
votes
3answers
3k views

Which ARM MCU family is better for beginners? [closed]

Which ARM MCU family is better for beginners? I mean which family: Is straightforward and easier to learn Has more/better learning and development resources available Has bigger and better ...
0
votes
1answer
102 views

Will a HCMOS output TCXO work with LPC1114?

I am planning to use the output from a FOX924B 10 MHz TCXO with HCMOS output as an input to the 32 bit counter of LPC 1114 (not the XTAL input, but to CT32B0_CAP0 pin). I have the following questions: ...
-1
votes
2answers
191 views

Checking Full condition of RBR FIFO of LPC2148 UART

1)How do you check whether the RBR FIFO is full in case of LPC2148 UART? I know that the empty condition can be checked using Receiver Data Ready(RDR) of Line Status Register(LSR). But there is no way ...
0
votes
1answer
110 views

Same address for different registers in LPC2418 UART

I have a very basic question regarding LPC2418 UART. The UART has got different registers with the same addresses. So while loading the data from the test bench, will it not load into all the ...
1
vote
1answer
89 views

Will the ADC work with resistive inputs in LPC1796

I'm working with LPC1796 and I have to do data acquisition for my project somebody told me that LPC1796 microcontroller won't work with resistive inputs. What is a resistive input? Is there any way ...
3
votes
1answer
1k views

RMII MAC side routing and signal integrity

I have some signal integrity and EMC questions. In my board LPC1768 RMII interface is connected to LAN8720. Because of pin locations some RMII signals must go through bottom layer. This is a four ...
1
vote
0answers
184 views

LPC2148 + Eclipse + yagarto + openOCD. Issue with the interrupts

I'm using 'Eclipse-Indigo' + yagarto + 'openocd-0.7.0' setup for a project on LPC2148. I've set up the environment properly. I'm able to compile, link and debug the project. I've configurred Timer0 &...
0
votes
3answers
347 views

LPC1768 Power Supply Design (an unknown symbol)

I have a question about power supply design for a board which use an LPC1768. Below image is taken from http://www.nxp.com/documents/other/IAR_LPC1768_Eval_Board_Schematic.pdf document. There is a ...
0
votes
1answer
292 views

With LPC1343 (ARM Cortex M3), how to control the the initial state of the MAT output from the timer?

I know that when the timer match the M1, I can let the mat pin to be up, down or toggle. But how to control the initial state of the MAT pin? I'm using LPC1343CodeBase on a port1343 experiment board. ...
0
votes
1answer
318 views

Using LPCXpresso 1114, I am unable to call a function in a C++ file from a C file

I am having a similar problem to the one described in this post: Why isn't my SysTick_Handler() being called in my LPCxpresso C++ Project? I have a couple of .cpp files, but the rest are .c ...