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

learn more… | top users | synonyms

0
votes
0answers
10 views

LPC1769 CAN1 peripheral resets itself after message send

I have a custom board with an LPC1769 uC on it. I want to use CAN1, and send a message first of all to check it. After CAN initialization function I want to send a test message, but it don't happen ...
0
votes
0answers
38 views

Controlling a servo motor on an LPC2103 microcontroller

I'm still a beginner on deep embedded systems development. I would like to know how to control a servo motor without using PWM, since I didn't actually learn anything about it on my classes and I'm ...
1
vote
0answers
40 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
30 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
103 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
127 views

UART interrupt problem on LPC1788

I wrote a code ...
0
votes
0answers
19 views

Using SGPIO14/15 to trigger 2 DMA transfers?

Is it possible to have SGPIO14 or 15 on LPC4337 (the ones connected to GPDMA) to trigger 2 DMA transfers at the same time? Though the trigger it's for both operations the second one might be ...
0
votes
3answers
58 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
107 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
110 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
122 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
460 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 ...
1
vote
3answers
608 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
68 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
94 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
87 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 ...
0
votes
0answers
148 views

NXP LPC2138 does not start up. Electronic problem?

I have a problem with LPC board and I cant figure out what is wrong. It manifests like this: I can connect board via jtag and Keil sw recognise the processor. I can program it (at least I guess that ...
1
vote
1answer
73 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 ...
2
votes
1answer
496 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 ...
0
votes
0answers
42 views

ROM functions through CMSIS on LPC15xx

I'm playing with LPC1549 uC. I'm using CMSIS library, and I'd like to ask how could I use the ROM functions through CMSIS? Maybe it is a silly question but I'm not sure about it.
1
vote
0answers
112 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
172 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
169 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
221 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
268 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
1answer
108 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: ...
0
votes
1answer
155 views

Startup sequence for lpc1343

I'm exploring my first arm device the lpc1343, I'm using VIM and ARM GCC, I have managed to light an LED but to blink it, I will need to startup the clock and pll, right now I can't find the right ...
0
votes
0answers
171 views

LPC17*, SSP, Half Duplex problem

I have a device connected to LPC1788 by SPI. The device responds to the given commands, that if I transmit some data to it it transmits back the response. The size of the commands is not fixed, can ...
1
vote
1answer
402 views

lpc1343 upload firmware via UART bluetooth module from linux

I am a novice to BT so I am looking for some advice. My LPC1314 has a bluetooth module soldered to its UART. I believe the BT module is a HC-06. I want to use BT to flash the firmware.bin to the ...
0
votes
0answers
193 views

LPC1769 Xpresso board not responding to ISP

I've been happily programming my LPC1769 Xpresso board using an FT232 breakout board for weeks now. Recently, I moved the project into an enclosure, and it no longer responds to programming. I've ...
0
votes
2answers
268 views

Getting started with an LPC1313 Microcontroller [closed]

I recently purchased this microcontroller along with an FTDI TTL-232R-3V3 cable. I want to program a blinking lights hello world application onto the microcontroller. I was told that I might be able ...
3
votes
3answers
2k views

Why isn't my SysTick_Handler() being called in my LPCxpresso C++ Project?

I have created a C++ project for an LPC1227 using LPCExpresso 6.1.0. The project, up until now, builds and runs fine. I have not made any changes to ...
3
votes
2answers
1k views

ARM microcontroller, where to begin [closed]

I had previously worked on Arduino but I think it was very simplified for the users. Now, I want to learn properly. I decided to begin learning ARM microcontroller. So, I bought LPC1114 DIP because I ...
2
votes
3answers
332 views

Continuing execution after ISP in LPC81x series

I am uploading software via serial ISP in to an LPC81x series microcontroller. This is a Cortex-M0+ chip. After software upload, I would like to start the execution of the uploaded software without ...
0
votes
1answer
622 views

How to connect WiFi module and Miсrocontroller via MII interface

WiFi module: WIZ610WI Microcontroller: LPC1788 Purpose: Connect it via MII on PCB I have the following scheme: Do I need a signal delay on TX_CLK? On what line and what the value of ...
1
vote
1answer
180 views

Help to fix custom CDC Send function

I am using a custom code of CDC example from 177x_8x_PDL_110602 package (I am not using LPCOpen). I am having a trouble with CDC_Send function. That is the scenary: An python script send messages to ...
1
vote
1answer
653 views

NXP LPC1114 UART doesn't work after reset

I'm building a simple circuit with LPC1114 to make a "hello world" application using UART. Trying to write all the code from scratch, to have a better understanding on what's happening. My problem is ...
1
vote
1answer
611 views

USB Stack for LPC1343

I was trying to implement a USB keyboard on LPC1343 using the ROM based HID driver when I came across some information on the internet which stated that the ROM based HID driver is very limited in ...
1
vote
1answer
889 views

openOCD flash 'erase_sector' command NOT erasing lpc1768?

I am trying to debug LPC1768 using a JTAG debugger and openOCD(version 0.7.0). My os is Win7 . I'm connetced to the openOCD via telnet(port 4444) commands like halt, flash info, resume etc do work ...
3
votes
2answers
812 views

NXP LPC 4330 Microcontroller starts up very hot and sometimes doesn't start up

EDIT 3 The correct solution is shown below, in TurboJ's answer in fact, this exact issue was mentioned in the LPC4300 errata ES_LPC43x0: EDIT: Nope, sorry false alarm. The new board started doing ...
6
votes
2answers
446 views

LPC1788 reading via SPI from ENC28J60

I have a problem with SPI communication with ENC28J60 chip. Basically I can't use SSP in SPI mode as it is, because ENC28J60 expects CS to be low for multiple bytes while SSP shifts it high after each ...
0
votes
3answers
151 views

uC -> wire -> LED in metal enclosure. ESD/EMI protection

I need to blink a LED with a LPC micro-controller. Enclosure is solid aluminum. LEDs will be on a separate PCB 20cm away from uC PCB and protruding from the metal enclosure. What would be the simplest ...
0
votes
1answer
477 views

USB CDC connection (plug / unplug cable)

I am having a issue with USB CDC (running in a LPC1788). If I power up a mother board with the USB cable (NXP device) already connected, the O.S. (Linux) does not identify the device, but if I unplug ...
-1
votes
1answer
146 views

Books/tutorials on programming a microcontroller [closed]

I'm relatively new to programming with Microcontrollers. I bought an LPC1313 MCU and an FTDI RS232 cable from newark. I later found out that I would need to construct a PCB with 6 pin headers inorder ...
0
votes
1answer
88 views

Creating a PCB for my MCU

So I have an NXP-LPC1313DFB48 MCU and I want to create a PCB from scratch so that I could connect my FTDI RS232 cable to it and program the MCU. What parts would I need to do this and what steps would ...
1
vote
1answer
146 views

How do I configure a external RTC that uses 3-wire SPI for the LPC 2387?

Here is the link to the datasheet of the RTC PT7C4302. I can do it with MISO, MOSI, but SISO I have no idea how to do. Some similar code examples would be great.
0
votes
3answers
514 views

Synchronizing SPI ports for higher data rate

I am designing a new board which uses the NXP LPC4330 (Cortex M4 microcontroller) with a XESS Xula2 FPGA development board. In this design, the Xula 2 has limited I/O pins since it is designed to fit ...
2
votes
1answer
438 views

JTAG Programming with LPC4330

Because the Example Virtual Serial Device project from NXPUSBLib contains a space in it's directory structure (specifically Example_VirtualSerialDevice/LPC43xx M4/...) I can not successfully download ...
4
votes
1answer
565 views

USB 2.0 PCB trace design restrictions

Thanks to the help from this community I am much closer to finishing my new design. Right now I am most worried about my USB 2.0 traces, and I want to make sure that I am doing everything right with ...
0
votes
0answers
149 views

bmp085 output is little off

I have got this Bosch barometric sensor BMP085 and im trying to make library for ARM LPC2000 microcontroller. Basically i have everything running but my reading values are wrong. I have tested ...