Questions tagged [lpc]

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

0
votes
1answer
43 views

How can I make my ILI9486 Display not show my frame until I'm done? (Flickering!)

I have a ILI9486 TFT display and I am using an LPC1768 with it. The issue I am having is in the following: ...
0
votes
0answers
42 views

LPC2148 EEPROM Emulation

I want to store some calibration and configuration data in lpc2148 flash memory. Also this data must be loaded into ram at startup. When data is changed i will write it into the flash(using IAP). ...
0
votes
0answers
13 views

Can anyone Explain me why nVICFIQIN is taken as input and ORed with FIQSTATUS and the output is negated to produce nVICFIQ

I am trying to learn VIC in Lpc2148. As you can clearly see the arrow in the picture. The nVICFIQIN is given as input to a OR gate and is ORed with FIQSTATUS register the result is then negated and ...
0
votes
0answers
21 views

Can FOTA be performed by changing the execution point of the code i.e, changing the program counter in lpc1759

For FOTA can we divide the memory into two blocks, eg : block A and block B. And whenever there is a new version of firmware detected, we shall change the execution point of the code. Is this ...
1
vote
2answers
32 views

How to enter into ISP mode through 'reinvoke ISP' in LPC1759

In LPC1759, I entered ISP through "reinvoke ISP" with the following steps Disable PLL Reset timer 1 Re-map interrupt vectors Set watch dog timeout Reinvoke ISP After entering into ISP, What exactly ...
3
votes
3answers
216 views

Choosing the right microcontroller [closed]

How do you choose a micro-controller for your project? My hardware requirements are : I2c SPI ADC channels SMD package 3.3V operating voltage A few GPIOs. There are so many microcontrollers ...
0
votes
1answer
51 views

Deep power down mode in LPC17xx

I am currently working on a home project. I want to put my LPC1769 in deep power down mode. this is the code I have so far: ...
1
vote
1answer
36 views

LPC2148 baud rate equation

I'm little confused about the baud rate calculating equation of LPC2148 In data sheet equation is But in every tutorial I could find equation is Second equation sets the baud rate as required. ...
0
votes
1answer
92 views

TLV5606 interfacing

Has anyone had any experience interfacing the TLV5606 DAC with a microcontroller (via SPI)? I'm having trouble getting any output from the DAC, which I suspect is down to my code. Does anyone have ...
0
votes
2answers
473 views

Keil : LPC1768 UART : Error: L6200E: Symbol a multiply defined (by main.o and uart.o)

I am learning ARM programming. I've configured uart of lpc2148 before. But there I included entire code in single file. Today I separated them in .c and .h file. But When tried to build, I got ...
1
vote
2answers
62 views

Changing pin direction without glitching on LPC800

I'm looking at an LPC812 Cortex M0+ microcontroller and its GPIO functions. On a PIC microcontroller, one would always set the LATch prior to changing the direction of a given pin. This avoids the ...
3
votes
1answer
83 views

ADC Burst mode in LPC2119 not working

I have been trying to work with ADC using ARM 7 LPC 2119 in burst mode however this functionality is not working. My code is as follows: ...
4
votes
1answer
154 views

LPC1343 double pin functions

I was looking to create a LPC1343 development board, but I noticed something odd. If you look at the pinout for this MCU you can see double functions for some pins. This is common, so you can program ...
1
vote
1answer
142 views

smart card clocking using NXP

In my current project, I'm trying to implement a smart card reader using LPC1788 which has a built-in smart card interface. Smart cards use the ISO7816-3 standard to communicate with the outside world....
0
votes
1answer
35 views

LPC1347 group level interrupt clearing

I'm using LPC1347 board which has two group interrupts. I'd like to write simple program which uses only one pin group interrupt (for testing only). Edge interrupts works well but when I change ...
2
votes
2answers
255 views

FatFs f_write not working in LPC1788 Timer ISR

I’m using LPC1788 MCU with KeilV5 compiler. I Have a Timer ISR in which I read a value form specific ADC channel and write it into a SD-Card using FATFS library. Here is my Timer ISR code: ...
1
vote
2answers
45 views

Microcontroller (lpc1347) RMW operation

I am a newbie and I am trying to understand how particular register (in lpc1347) works. Maybe it's common problem, maybe it's specific to lpc boards. I'd like to learn how GPIO and PININT register ...
1
vote
0answers
253 views

Sometimes LCD display is initialized half white

Rarely right after the startup my LCD display shows half the screen completely white, the other half shows the software without problems. The main problem here is that to see this problem I have to ...
0
votes
1answer
1k views

VDDA / VSSA - how do LC filters isolate the input pins to minimize error and noise

I am trying to design a PCB with LPC4088 microcontroller which needs digital power supply VDD/VSS and analog power supply VDDA/VSSA. I had no problem with understanding how to connect digital power ...
0
votes
0answers
60 views

Jlink Commander doesn't find LPC4088 microcontroller on my homemade PCB

I just finished a homemade PCB with a LPC4088 microcontroller and some other components. When I connected my board to the J-link EDU probe over JTAG connector and start Jlink Commander, Cortex-M4 ...
0
votes
1answer
338 views

Microcontrollers interrupts what is “pending”?

I just started learning timers with my lpc 1347 board. Here is simple code from lpcopen ...
0
votes
0answers
106 views

LPC4088 - JTAG dilemma

I have been trying to make a LPC4088 (user manual, datasheet) PCB for some time now and I have a dilemma concerning a JTAG. For connecting a 20-pin JTAG connector I followed the pinning table found on ...
1
vote
2answers
153 views

ALU,RAM and ROM test for LPC 1778

Im working on a non safety project and as part of the Initialization tests I wanted to check the internal memory of LPC1778 for proper functionality before beginning the application. I dont intend to ...
2
votes
1answer
180 views

Purpose of this coding style

I came across this piece of code for an LPCxxxx microcontroller, in the reset routine. ...
3
votes
1answer
291 views

How to get I2C to shut up while waiting for data in master transmit mode on LPC1114

I have an LPC1114(FN28) that I am writing some code for. Currently I am trying to provide an asynchronous view of the I2C interface to my code (the chip has a built-in I2C controller). The controller ...
1
vote
1answer
450 views

GPIO speed in LPC812 Cortex-M0 MCU from NXP

Based on datasheet page 17: GPIO registers are located on the ARM Cortex M0+ IO bus for fastest possible single-cycle I/O timing, allowing GPIO toggling with rates of up to 15 MHz. And I used a ...
0
votes
1answer
73 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
251 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
280 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
83 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
325 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
72 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
132 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 ...
0
votes
1answer
533 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
411 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 ...
2
votes
1answer
152 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 ...
2
votes
1answer
166 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
556 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
884 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
122 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
192 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
151 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 ...
2
votes
1answer
539 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: ...
10
votes
1answer
7k 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-Storing ...
0
votes
1answer
124 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
672 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 ...
1
vote
1answer
95 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
247 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
531 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
413 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 ...