LINbus implementation with soft uart on LPC

Started by Martijn Broens in LPC200010 years ago 3 replies

Hi all, did anyone ever do a LINbus implementation on LPC with a soft uart? I'd like to learn more on this topic and i'm thinking of...

Hi all, did anyone ever do a LINbus implementation on LPC with a soft uart? I'd like to learn more on this topic and i'm thinking of keeping this as a fallback scenario for external communication. and the reason for a soft uart would be that this will nearly alway work even when there are no more HW uarts left. would someone be willing to share this thanks in advance, Martijn ---...


UART Baudrate Tool uploaded

Started by Joel Winarske in LPC200014 years ago 4 replies

I just posted a simple Win32 cmd line tool to calculate the optimum register settings for a LPC214x UART peripheral. I am not aware if all...

I just posted a simple Win32 cmd line tool to calculate the optimum register settings for a LPC214x UART peripheral. I am not aware if all the LPC2k UART peripherals are the same or not. If so great. I was working against the LPC2148 user manual. It seems the equation in the user manual to calculate the baud rate is incorrect. It should be:


UART current limits

Started by Andrew Berney in LPC200013 years ago 8 replies

Does anybody know if the UART TX line on the LPC2129 is capable of supplying 2.2mA, as I need it to drive an optocoupler for...

Does anybody know if the UART TX line on the LPC2129 is capable of supplying 2.2mA, as I need it to drive an optocoupler for isolation Cheers Andy


FIX - UART drops characters silently (FIXED - in my case)

Started by ya100a in LPC200012 years ago

Hi I have had problems with the uart dropping bytes on a LPC2364 kit. If I sent 10 bytes to the kit, sometimes only 1-9 bytes would...

Hi I have had problems with the uart dropping bytes on a LPC2364 kit. If I sent 10 bytes to the kit, sometimes only 1-9 bytes would arrive. The problem only existed when both sending and reading from the same uart. I have now found the problem and since I saw a lot of other people having similar problems I thought I would share my findings with you even though you probably not ha...


samplecode from vinehand

Started by mgiaco82 in LPC200013 years ago

@ vinehand Hello I have a question concerning your sample code from the file list. gnuarm_lpc2148_io_uart_timer_irq.zip GNUARM, on...

@ vinehand Hello I have a question concerning your sample code from the file list. gnuarm_lpc2148_io_uart_timer_irq.zip GNUARM, on LPC2148, blinking led, uart polling write, uart IRQ read, timer IRQ Have you ever established any problems with spurious interrupts? ==> Phillips AN10414 Because there is no isr-handler in the sample uart code. Thanks, mathias


How to reliably deal with UART errors

Started by Mike Harrison in LPC200012 years ago 9 replies

I've been having some problems reliably coping with UART receive errors on the LPC2136/01 I'm reading a stream of DMX data ( 250kbits, 8N2, 88uS...

I've been having some problems reliably coping with UART receive errors on the LPC2136/01 I'm reading a stream of DMX data ( 250kbits, 8N2, 88uS break indicating frame sync). The problem seems to be that when the stream is present at startup ( i.e. before the interrupt code is set up), the UART can get itself into a state that I can't recover from, generally permamnet overrun errors. If it ge...


no serial port on my PC

Started by gaetanbarthelemy in LPC200013 years ago 23 replies

Hello guys, I believe that the only way to download a new program into flash is to use the UART or the JTAG. what if I don't have a Serial...

Hello guys, I believe that the only way to download a new program into flash is to use the UART or the JTAG. what if I don't have a Serial port on my computer and that I don't want to use the JTAG connection... I guess that a simple USB to UART conversion will do the job. So my question is: what is it better to use? A external adaptater or an USB to UART bridge such as the CP2102? ...


programming UART with LPC-2294 and Eclipse

Started by jdauchot in LPC200012 years ago

I am having some success in programming a LPC-E2294 demo board using eclipse GNU compiler But I am having problem getting the UART to work...

I am having some success in programming a LPC-E2294 demo board using eclipse GNU compiler But I am having problem getting the UART to work properly. I have got the PLL going but I have no idea what freq is locked on to. I may have problems with the baud rate as get corrupted characters out of the UART The timers and LCD display is working OK Can I use the CPU without the PLL runn...


Multiple UART pins on LPC2368

Started by Mukadder CEYHAN in LPC200010 years ago 3 replies

Hi Everybody, As datasheet of LPC2368 says, there are multiple RX/TX pins sharing the sam= e uart module. So; Can I use these multi-shared...

Hi Everybody, As datasheet of LPC2368 says, there are multiple RX/TX pins sharing the sam= e uart module. So; Can I use these multi-shared uart pins in a Multiplexed manner? For example= UART3 has multiple RX/TX pins , so if i configure uart_init function to us= e these pins=A0 on different channels, is it possible? =20=20=20=20=20=20 ------------------------------------


Software UART

Started by Jacob Oursland in LPC200013 years ago 3 replies

Hi all. I have been working quite unsuccessfully on getting a software UART working on the LPC2106. I get the bytes, but they all return...

Hi all. I have been working quite unsuccessfully on getting a software UART working on the LPC2106. I get the bytes, but they all return as NULLs. Does anyone have a working example of software UART for the LPC21xx? -Jake ------------------------ Yahoo! Groups Sponsor --------------------~--> Get to your groups with one click. Know instantly when new email arrives http://us.click.yah


Problem with UART0 interrupts on LPC2364 and LPC2387

Started by niksaorlic in LPC200011 years ago 3 replies

I am trying to add UART communication to my project and am having some problems. I am using UART interrupts. Here is the UART...

I am trying to add UART communication to my project and am having some problems. I am using UART interrupts. Here is the UART initialization code: PINSEL0 = 0x00000050; U0LCR = 0x83; Fdiv = ( Fpclk / 16 ) / baudrate ; U0DLM = Fdiv / 256; U0DLL = Fdiv % 256; U0LCR = 0x03; U0FCR = 0x07; U0IER = 3; install_irq( UART0_INT, (void *)uart0_irq, HIGHEST_PRIOR...


VICIntEnable for UART and EINTs?

Started by empresst007 in LPC200011 years ago 6 replies

Hi All! I am setting up an interrupt to read encoder signals (EINT0 and EINT1) and then displaying my position on UART. I was able to create...

Hi All! I am setting up an interrupt to read encoder signals (EINT0 and EINT1) and then displaying my position on UART. I was able to create an echo UART, and thanks to Robert, I'm able to read encoder signals. There is an interrupt initialization line of code that prevents transmitting to Terminal through UART1. When the VICIntEnable is commented out, I can send to Terminal. Th...


Need suggestions for a faster UART routine

Started by chet...@gmail.com in LPC200012 years ago 15 replies

Dear Friends, Iam doing a CAN based project using LPC2368 controller wherein I need to send certain CAN data to the UART. Iam using NXP's...

Dear Friends, Iam doing a CAN based project using LPC2368 controller wherein I need to send certain CAN data to the UART. Iam using NXP's Full CAN code as the base code for my project. The CAN to UART code is as follows: //Prints 8byte CAN data to the screen. for(i=1;i > 4 ); Print_4bits_to_Screen( (Temp_Data_Output[


UART MULTIPROCESSOR

Started by Luigi Fazio in LPC200013 years ago 4 replies

Is possible in core ARM a uart comunication in multiprocessor mode as in the 8051 world? Luigi

Is possible in core ARM a uart comunication in multiprocessor mode as in the 8051 world? Luigi


Re: LPC2000 UART drops characters silently?

Started by Leon Heller in LPC200013 years ago

----- Original Message ----- From: "Peter Jakacki" To: Sent: Saturday, July 15, 2006 12:14 PM Subject: Re: [lpc2000] re: LPC2000 UART...

----- Original Message ----- From: "Peter Jakacki" To: Sent: Saturday, July 15, 2006 12:14 PM Subject: Re: [lpc2000] re: LPC2000 UART drops characters silently? > jayasooriah wrote: > > System is LPC2292; XTAL = 14.7456 MHz; PLL disabled; MAM disabled; > > VPBDIV = 1; UART = 8-data, 1-stop, no-parity, FIFO enabled. > > > > Symptom are that for certain


LPC2000 UART Baudrate Calculator

Started by nxp_marketing_usa in LPC200013 years ago 1 reply

A new UART Baudrate Calculator has been posted on the NXP Standard ICs Website. The calculator allows you to enter in the clock rate, the...

A new UART Baudrate Calculator has been posted on the NXP Standard ICs Website. The calculator allows you to enter in the clock rate, the baudrate and the maximum allowed relative error and outputs the UART settings. The calculator works for both the standard UARTs from earlier families and the enhanced UARTs from more recent families. http://goo.gl/RX413


The uart of LPC2366 don't transmit data continuely

Started by Hieagle in LPC20009 years ago 7 replies

Hi, Can someone help me please. I use KEIL uvision and ulink2 to test the uart of lpc2366. There are a data packet of fifteen bytes to...

Hi, Can someone help me please. I use KEIL uvision and ulink2 to test the uart of lpc2366. There are a data packet of fifteen bytes to tranmit by uart of LPC2366 each second. When I use the program below: for(i=0;i


Why is my UART rx interrupt not clearing....

Started by Mike Harrison in LPC200013 years ago 1 reply

Having problems setting up UART receive interrupt on LPC2103 (IAR, using J-Link) VIC is set up OK as int code is executing, but it is not...

Having problems setting up UART receive interrupt on LPC2103 (IAR, using J-Link) VIC is set up OK as int code is executing, but it is not clearing the interrupt, so int code is getting executed continuously, despite no data actually being sent to it. IIR is showing to 0C, i.e. CTI int, but LSR bit 0 is clear, indicating no data.... The int occurs as soon as the UART interrupt is enabled, ...


LPC2148: UART 1 data throughput problem

Started by Wool Gather in LPC20008 years ago 7 replies

Hi all, Thank you so much in advance for any kind of help of suggetions. Here is my problem, Using LPC2148 i am trying to send more then...

Hi all, Thank you so much in advance for any kind of help of suggetions. Here is my problem, Using LPC2148 i am trying to send more then 1MByte of file throught UART1 with some data packet. I got working UART INTRUPT based code from some site which is working fine. Now the problem is that, when i am trying to send file data continuously using UART 1, i am not able to read more than ...


programming via UART canceled at sector 1

Started by Boris Kralik in LPC200013 years ago 16 replies

Hi all. I have a problem with programming via UART on LPC2294 system. I using USB to UART interface with FTDI FT232BM chip. When I check...

Hi all. I have a problem with programming via UART on LPC2294 system. I using USB to UART interface with FTDI FT232BM chip. When I check LPC signature, all is OK, ISP programmer found LPC chip (PartID:84016915 BootLoader:1.61). But when I erasing chip, all is OK, programming sector 0 is OK, on sector 1 chip burner give me message "Canceled, not responding". I am using ./lp2k_pgm , when I tr...