Questions tagged [lpc1768]

The tag has no usage guidance.

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

Help with an Mbed LCP1768 assignment

Could someone help me out and see if my code is correct please and thank you. ...
1 vote
0 answers
125 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 ...
  • 111
1 vote
1 answer
127 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
2 answers
145 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 ...
  • 231
0 votes
0 answers
235 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 ...
  • 231
1 vote
1 answer
227 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. ...
  • 446
1 vote
1 answer
742 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 ...
  • 166
0 votes
1 answer
126 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: ...
  • 601
1 vote
2 answers
355 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: ...
  • 601
-1 votes
3 answers
496 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
1 answer
40 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 ...
  • 11
0 votes
1 answer
160 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
1 answer
60 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 ...
  • 601
0 votes
0 answers
115 views

Double buffering on LPC1768?

I am trying to build an MP3 Player on a generic lpc1768 development board. I am trying to play an 8 bit 44.1 kHz .wav file using internal DAC. I am using elm chan FATfs and double buffering concept. I ...
  • 9
0 votes
1 answer
400 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: ...
  • 601
0 votes
2 answers
426 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 ...
  • 601
1 vote
1 answer
61 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)?
  • 601
0 votes
0 answers
172 views

LPC1768 internal RTC time register is not incrementing

Value is read right,but time is not incrementing. ...
0 votes
4 answers
132 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 ...
  • 601
3 votes
4 answers
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 ...
  • 1,188
0 votes
2 answers
296 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
1 answer
174 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
0 answers
125 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"...
  • 601
0 votes
0 answers
143 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 ...
  • 601
-1 votes
1 answer
113 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 ...
  • 601
0 votes
0 answers
70 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/): ...
  • 601
2 votes
2 answers
461 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 ...
  • 601
1 vote
2 answers
590 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 ...
  • 221
0 votes
2 answers
246 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, ...
  • 221
-1 votes
2 answers
286 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
1 answer
82 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
1 answer
288 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
2 answers
300 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
1 answer
317 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 ...
  • 29
4 votes
5 answers
656 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
1 answer
250 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
1 answer
1k 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
1 answer
100 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
1 vote
2 answers
457 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
1 answer
270 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: ...
  • 121
1 vote
2 answers
2k 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 ...