Questions tagged [lpc1768]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
1answer
33 views

Help with an Mbed LCP1768 assignment

Could someone help me out and see if my code is correct please and thank you. ...
0
votes
0answers
15 views

lpc1768 keil USB host component missing?

I'm trying to run an lpc1768 as a USB host and connect to a device through a VirtualCOM but there doesn't seem to be a USB host component available in my project: Why is there no USB host component ...
1
vote
0answers
38 views

BigTreeTech SKR 1.3 (LPC1768), mbed examples not working

I have a Chinese LPC1768-based board I used to control with Marlin firmware, and recently I started to want to program it my own way instead. So, I was successful with PlatformIO and Marlin's custom ...
1
vote
1answer
45 views

Which is the acquisition time of the SAR ADC of a LPC1768?

i'm trying to design a RC filter to drive the ADC of the micro-controller LPC1768 and i need to know the acquisition time of it (which is not in the datasheet). I'm using this article as a design ...
0
votes
2answers
80 views

Multiple devices on a singe SPI on LPC1768

I am in the middle of a custom PCB design using LPC1768. In fact that, this is an upgrade project from Atmega2560. I am using ...
0
votes
0answers
12 views

Using LPC1768 QEI in Ticker

Can the QEI on the LPC1768 be used inside a Timer (the mbed's Ticker)? I didn't have problems reading the Position register outside the Ticker.
0
votes
0answers
102 views

Integrating an ethernet switch IC to custom pcb with mcu using RMII

I have a custom board with LPC1768. It has also PHY (LAN8720) in order to connect to LAN via RJ45. So far so good. Now, I have ...
1
vote
1answer
107 views

Modbus RTU over RS232 link

I am designing a convertor board that will interface three device with Modbus RTU RS232 port to a Modbus RTU RS485 network. Slaves supports Modbus RTU, but their ports is different from master port. ...
1
vote
1answer
209 views

EEPROM Read Operation Always Returns 0xFF

I'm working with a AT24C04 EEPROM which communicates with a LPC1768 MCU on a I2C bus. I try to write a 8 bit data (0xF0) on the 0x00 Address of the memory but when I want to read the content of this ...
0
votes
1answer
83 views

Problems with mbed LPC1768 double precision

I have a motion profile generator which calculates a position 1000/sec. During the decelerating portion of the move, the following calculation is used: ...
1
vote
2answers
219 views

mbed SPI in Ticker function

I've been trying to use spi.write() in a Ticker function, but the following error is thrown out onto the serial line: ...
-1
votes
3answers
172 views

External Pull Up resistors connection to microcontroller output pins [closed]

Please let me know, can we connect External pull up resistor to output pin of a microcontroller
0
votes
1answer
29 views

12V Pump not working

I have interfaced a 12 V pump and a 12 V fan to LPC2138, there are 3 5 V sensors interfaced, according to which the fan and pump function. The whole setup is in PCB. There is a ESP8266 module ...
0
votes
1answer
102 views

LPC1768 - Green LED when LDR sees light, Red LED when LDR is covered

I have been trying to achieve a task I am working on and I believe I am almost there. It successfully changes colors whenever I cover it but when it does, the red LED keeps blinking instead of it ...
0
votes
1answer
35 views

Flashing LPCXpresso1769 with FlashMagic

I'd like to use Flash Magic to load programs onto my LPCXpresso1769 development board (https://www.embeddedartists.com/wp-content/uploads/2018/06/LPCXpresso1769_CD_revD.pdf), via ISP. I purchased a ...
0
votes
0answers
76 views

Double buffering on LPC1768?

I am trying to build an MP3 Player on a generic lpc1768 development board. I am trying to play 8bit 44.1Khz wav file using internal DAC. I am using elm chan FATfs and double buffering concept. I have ...
0
votes
1answer
214 views

Using SysTick_Handler in mbed LPC1768 project

I'm trying to use SysTick_Handler in a project which uses the mbed libraries and RTOS, however on compilation, the following error is returned: ...
0
votes
2answers
182 views

Does SysTick_Handler() have to be in main file?

Does the CMSIS SysTick_Handler() have to be placed in the main file (i.e. same file where it is configured)? If not, how would I go about placing it elsewhere? Is it just a matter of defining the ...
1
vote
1answer
53 views

Does Interrupt interrupt a blocked read call

If you were to read() incoming socket data in an infinite while loop, would an interrupt with top priority still run its ISR if the read() call is blocked (i.e. no data in the buffer)?
0
votes
0answers
108 views

LPC1768 internal RTC time register is not incrementing

Value is read right,but time is not incrementing. ...
0
votes
4answers
97 views

LPC1768 vs Timer0, etc

I realise that the LPC1768's Systick is a standard accross ARM boards, while Timer0 and co, are NXP additions. Is there any particular reason to use one over the other? Say you want to generate a ...
3
votes
4answers
1k views

What are these exposed copper rectangles for on the mbed NXP LPC1768?

Today I noticed some exposed copper rectangles on the bottom of an mbed NXP LPC1768 dev board. They don't look like they're meant for components. I think they may just be test points, but I'm curious ...
0
votes
2answers
175 views

Inverting REFCLOCK of Ethernet PHY

A few years ago I had to design a board that uses the NXP LPC1769 MCU and had Ethernet connectivity. I was in need of a PHY chip and the LAN8720 was choosen. During design however, I noticed that NXP ...
1
vote
1answer
143 views

UART pins interfacing with Barcode without handshaking signals

I am concerned about bar code interface with LPC1768/LPC1769 controller.. If I use only UART-TX, UART-RX, GND pin of controller only to interface with barcode scanner module which has UART or RS232 ...
0
votes
0answers
111 views

Flashing LPC1768 with OpenOCD

I'm venturing into JTAG flashing, and thought OpenOCD would be a good place to start. I had a quick look through the documentation and found it hideously complicated. Likewise, the very few "tutorials"...
0
votes
0answers
117 views

Loading program on LPC1768 dev board

I recently purchased a rather inexpensive LPC1768 development board from dx.com. The board can supposedly be programmed via USB (in a similar fashion to the mbed). To open the device as a disk, you ...
-1
votes
1answer
111 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
0answers
69 views

Varying performance of mbed, depending on Power Supply

I've written a very basic program (without the mbed library) to turn on all LEDs on an mbed board (https://os.mbed.com/platforms/mbed-LPC1768/): ...
2
votes
2answers
376 views

How fast is mbed Digital Out

I need to output 8-bit integers via parallel (i.e. using 8 pins on the same port) at 1024hz. From what I can see, I have two options: 1) Write to each pin individually using DigitalOut. 2) Avoid the ...
1
vote
2answers
443 views

LPC1768 Baud rate

I've been trying to configure UART module of LPC1768. Board comes with a crystal oscillator of 12Mhz. It does nothing more than receiving a character and transmitting it at the same time. I am using ...
0
votes
2answers
197 views

Configuring Registers in ARM Cortex M3

I've been learning to program LPC2148(ARM7) microcontroller, and today I got hold of an LPC1768(Cortex M3) board. By referring it's manual, I tried to make a LED blink program and did it as follows, ...
-1
votes
2answers
258 views

LPC1769 and ATMega88 UART interface

I am referring below schematics for implementation. LPC1769 -- > 3.3V Powered AtMega88 -- > 5V Powered LPC1769 UART pins are 5V tolerant. And due to some reason, can't operate AtMega88 on 3.3V ...
0
votes
1answer
67 views

What is the relation between DAC peripheral bus and conversion/settling time

Going through the datasheet and the LPC17xx user manual, what is quite evident is how to select the various clocking options for the peripheral clock divider, i.e: ...
1
vote
1answer
225 views

Data corruption while using RTOS queue services

I am trying to create a gatekeeper task to display the sensor data over the screen via UART. The attributes are defined in the structure as follows, ...
0
votes
2answers
247 views

LPC1768 doesn't generate RTC clock while other LPC1768 does

I have this board with LPC1768 and 32.768KHz crystal but the RTC does not work. By directing RTC clock to the CLKOUT pin I realized that there is no RTC clock so it makes sense that it's not working. ...
1
vote
1answer
290 views

mbed LPC1768 with optocoupler for 5 V output

I am generating a PWM at 20kHz to drive a motor. The signal goes into a motor controller which range is from 0 to 5 volts. Since the PWM output is 3.2 volts I need to amplify it. For that I am using ...
4
votes
5answers
548 views

Is it possible to identify what magnet has crossed over a hall effect sensor?

We are currently doing a project with DCC locomotives, involving a micro controller LPC1768. Now the scenario is that we have a railway and under the railway we have hall effect sensors which the ...
0
votes
1answer
210 views

LPC17xx internal pull-ups on JTAG etc

The the NXP LPC17xx Cortex-M3 family has internal pull-up resistors on some important pins such as the JTAG, NMI, Bootloader-select pin etc. While reading the data-sheet I learned that the pull-up is ...
1
vote
1answer
986 views

PIR sensor not working

I am new to electronics and microcontrollers. I am using an LPC1768 and a hc sr501 PIR sensor to create a simple motion detector. I have connected the pins of the PIR sensor to the breadboard and the ...
0
votes
1answer
96 views

How i can store 64 byte data into flash faster as 1 ms?

I have one problem with store data into flash on my uC LPC1759. I need to save 64 byte data into flash, but when i use IAP-Interface, it takes more than 1 second. Is there a way to make it faster than ...
1
vote
2answers
396 views

calculate uptime of LPC1768

i want to calculate the uptime of LPC 1768 from when it begins running. for example a function like millis(); in arduino.
1
vote
1answer
232 views

Cortex M3 debugging: Intermittent partial load of binary with pyOCD, then timeout

I'm debugging an embedded system and get intermittent binary loading errors when flashing the binary through gdb (well, arm-none-eabi-gdb, the toolchain gdb client). Here are the details of my setup: ...
1
vote
2answers
1k 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 ...