EmbeddedRelated.com
The 2024 Embedded Online Conference

Non-standard LPC1768 QEI peripherial use

Started by Yuri Ostry in LPC200011 years ago 3 replies

Hello, I'm planning to use LPC1768 for a project that involves processing of some not very common input signals and would like to ask people...

Hello, I'm planning to use LPC1768 for a project that involves processing of some not very common input signals and would like to ask people who are familiar with LPC1768 and its Quadrature Encoder Interface peripherial before making prototype board. I have to support a custom controller (pedal) with current loop interface that gives constant 20 ma once pedal is connected, wiring is corr...


LPC17xx Mbps baud rate limitations?

Started by nave...@yahoo.com in LPC200011 years ago 1 reply

Hi, I am working on a project using the LPC1754 that requires UART interface to a peripheral at 3.6864Mpbs. I have earlier done a dozen or so...

Hi, I am working on a project using the LPC1754 that requires UART interface to a peripheral at 3.6864Mpbs. I have earlier done a dozen or so projects using the LPC17xx family and I knew I could generate pretty much any baud rate using the fractional baud rate generator, but just wanted to do a quick check on the max. limits. I found this on the datasheet "Maximum UART data bit rate of 6.25 Mbit/...


lpc2129 CAN problem

Started by Rahul Bhatt in LPC200011 years ago 2 replies

hi following is my CAN transmitter code of lpc2129 void Can_Init_tx(void) { PINSEL1 |= (DWORD) 0x00014000; C2MOD = 1; C2GSR = 0; C2BTR...

hi following is my CAN transmitter code of lpc2129 void Can_Init_tx(void) { PINSEL1 |= (DWORD) 0x00014000; C2MOD = 1; C2GSR = 0; C2BTR = 0x00CBC01E; //baud rate 0f 125k C2TFI1 |= 0x80000000; C2MOD = 0; } void SendMessage(unsigned int x) { unsigned int status; while((C2SR & 0x00000004)==0); C2TFI1 = 0x00080000; //set DLC to 8 bytes; C2TID1 = 0x00000022; //sets 29 bit i...


ARM typedefs using Keil

Started by Sutton Mehaffey in LPC200011 years ago 10 replies

Anybody have any input on this issue? Keil has 'char', 'short', 'int', and 'long long' defined in their typedef.h file for ARM. I also see...

Anybody have any input on this issue? Keil has 'char', 'short', 'int', and 'long long' defined in their typedef.h file for ARM. I also see quite a few definitions in their header files of single 'long'. I assume that a single 'long' is the same as an 'int' in this case. At least that's what the Keil debugger displays when monitoring data. But, I wanted to be sure, because I don't ...


LPC2148 - DAbt_Handler

Started by Sutton Mehaffey in LPC200011 years ago 2 replies

We have a new system inhouse that uses a LPC2148 and every few days (it's really random), the system locks up and requires a hard reset. I...

We have a new system inhouse that uses a LPC2148 and every few days (it's really random), the system locks up and requires a hard reset. I have a serial RX tied to UART0 getting packets of info. I got it to fail on my debugger with much effort and noticed that the code aborts to location 0x00000040. Is this the DAbt_Handler? I don't have any code mapped to any of these handlers? Any...


ULINK2 Problem under Windows 8

Started by Bonzadog in LPC200011 years ago 9 replies
USB

Hello, My Ulink2 worked under Win XP + Win 7 but I am having some problems with Win 8. When I connect the device to the USB port - Win 8...

Hello, My Ulink2 worked under Win XP + Win 7 but I am having some problems with Win 8. When I connect the device to the USB port - Win 8 recognised that a device is connected but the is no Device Name ie. ULINK2 displayed and so making finding a driver on my CD impossible. Has anyone one else come across this problem? Any Ideas most welcome BD. ------------------------------------


LPC2148-s H-JTAG, Keil complication

Started by embeddedpianoman in LPC200011 years ago

I have with me the Blueboard-LPC2148-S(http://shop.ngxtechnologies.com/product_info.php?products_id=91) Schematic:...

I have with me the Blueboard-LPC2148-S(http://shop.ngxtechnologies.com/product_info.php?products_id=91) Schematic: http://www.shop.ngxtechnologies.com/download/stamps/LPC2148_Breakout.pdf As you can see, this board is just an expansion board, no circuitry is mounted other than LPC2148, 12MHz, 32.768KHz and the associated crystal capacitors. I've been breaking my head trying to make a JTAG...


LPC2368 UART IRQ wrong data

Started by gaRek in LPC200011 years ago 4 replies

Hello ? I have a painfull problem with UART running @ LPC2368. Global scope is that I'm doing echo_test and receiving different data than send....

Hello ? I have a painfull problem with UART running @ LPC2368. Global scope is that I'm doing echo_test and receiving different data than send. First thing that should be checked are clocks, thats ok - checked. But I've observed weird behaviour recently: ? 1) Making uart implementation in the same file which contains main function, PLL initialization - works fine! 2) Making uart in ../libuart...


LPC2468 GPIO as a Input query

Started by koolhallmark in LPC200011 years ago 13 replies

Hi, In my application LPC2468 is interfaced with SD card. SD Card is shared by another data logging device. I have set all my GPIO as Input...

Hi, In my application LPC2468 is interfaced with SD card. SD Card is shared by another data logging device. I have set all my GPIO as Input and disabled all Pull-up and Pull-down resistor. Now when My MCU is in programming mode. Data logging device is accessing SD card in proper way. But while MCU is running but it is doing nothing it is just in while loop with all GPIO as input and in th...


3 phase sine wave PWM generation from LPC2148

Started by blue...@gmail.com in LPC200011 years ago 1 reply

i am using lpc2148,MCB2140 board from keil.com to generate 3 phase sine pwm to drive a Smart power module... but i am not been able to provide...

i am using lpc2148,MCB2140 board from keil.com to generate 3 phase sine pwm to drive a Smart power module... but i am not been able to provide the exact type of sine wave pwm with phase shift of 120 deg,and 240 deg respectively with the help of software programming,can anybody help me with this thing,i am actually totally new to this field but i tried to write a program myself to do it.. also he...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright


The 2024 Embedded Online Conference