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

learn more… | top users | synonyms

0
votes
1answer
42 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 ...
1
vote
1answer
47 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
59 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 ...
0
votes
0answers
63 views

controller pins issue during hot swapping

I am using CortexM3 controllers(LPC1769,1778) in my embedded applications. I terminated UART pins to the connectors with TTL level. If I am connecting or disconnecting the UART cable during power on ...
0
votes
1answer
57 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
45 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
1answer
22 views

best USBD mode for transceiving low rate data in LPC11u68 based on LPCOPEN

I'm trying to use lpc11u68 for transceiving data between PC as host & MCU as a slave,Data rate is about some KBPS,plug & play ability (no driver need)is desired but not necessary,Simple ...
0
votes
0answers
14 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
26 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
54 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 ...
0
votes
0answers
8 views

How many number of PCLK cycles elapse between a MR event and togling of the MAT pin in LPC1114FN28?

In the 32 bit timer/counter option, the example timer diagram does not talk about the number of PCLK cycles between a MR event (i.e. TC matching with an MR register) and toggling of the corresponding ...
2
votes
1answer
51 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
19 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
51 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
62 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
122 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
67 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
40 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
63 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
92 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
50 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
367 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) ? ...
0
votes
1answer
54 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
74 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
43 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
52 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
168 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
99 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
24 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
52 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
41 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
394 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
370 views

UART interrupt problem on LPC1788

I wrote a code ...
0
votes
3answers
85 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
371 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
358 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
301 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: ...
2
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
2k 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
93 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
179 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
106 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
82 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
990 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
173 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
308 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
268 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
299 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 ...
1
vote
1answer
414 views

Optimal configuration for PLL on LPC17xx

I'm trying to write an algorithm that would pick the best available PLL0 configuration for the user based on F_in and F_cclk. The manual says that I should pick higher F_ref if possible for a more ...
0
votes
2answers
170 views

LPC1343 evaluation board USB bootloader not working?

My LPC1343 no longer shows up as a USB mass storage device. I am using the following evaluation board for NXP's LPC1343: ...