Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [lpc]

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

0
votes
0answers
17 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
23 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
211 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
43 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
25 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
84 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
233 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
55 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 ...
0
votes
0answers
31 views

LPCXpresso setting up PWM cycle length

I have LPCXpresso 1347 development board, but I found that my question concerns the majority of LPCXpresso board. I'd like to write simple PWM program with 20ms period and 2ms pulse width. The only ...
3
votes
1answer
76 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
110 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
120 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
33 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
209 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
42 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
223 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
54 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
280 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
89 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
138 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
179 views

Purpose of this coding style

I came across this piece of code for an LPCxxxx microcontroller, in the reset routine. ...
3
votes
1answer
265 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
422 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
69 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
224 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
264 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
81 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
286 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
70 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
129 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
478 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
395 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
142 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 ...
3
votes
1answer
158 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
520 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
785 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
117 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
179 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
144 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
494 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: ...
9
votes
1answer
6k 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
120 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
595 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
92 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
226 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
521 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
395 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 ...
2
votes
1answer
91 views

Using a radio board with Contiki-OS on lpc1347 mcu [closed]

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