UART0 and RTC

Started by liem...@yahoo.com in LPC200010 years ago

I am a newbie in ARM. I make a digital clock project with internal RTC and send with uart0. I have been tested the UART0 without RTC...

I am a newbie in ARM. I make a digital clock project with internal RTC and send with uart0. I have been tested the UART0 without RTC initialitation and works well. but when I init RTC and RTC interrupt UART0 can't work. This is my source code. I use Keil for the compler. Thank you. #include #include unsigned char jam,menit,detik; void update (unsigned char a,unsi


UART0 and UART1 of LPC2148

Started by raju_nem in LPC20008 years ago 1 reply

What is the maximum baudrate (UART0 and UART1) of lpc2148?UART0 DLL AND DLM are 8 bit registers.Thanks...

What is the maximum baudrate (UART0 and UART1) of lpc2148?UART0 DLL AND DLM are 8 bit registers.Thanks inadvance. ------------------------------------


Re: LPC2114 UART1 works but UART0 does not

Started by Tom Walsh in LPC200011 years ago

o...@hotmail.com wrote: > > Hello all > I'm starting a new project with the LPC2114. I just got the first > prototype board and started...

o...@hotmail.com wrote: > > Hello all > I'm starting a new project with the LPC2114. I just got the first > prototype board and started to check out the hardware when I noticed > the UART0 would cause the micro to jump to never never land after > sending a few bytes. ( < 100). > > I commented out my code that sets up the PLL & other memory speed > devices. After doing this UART0 would


LPC21xx and UART0 problem

Started by riccardoventrella in LPC200011 years ago 9 replies

Hi, I'm using a MCB2100 with a LPC2129. I've written a sort of home made printf using the hyperterminal as a debugger window, but up to now I...

Hi, I'm using a MCB2100 with a LPC2129. I've written a sort of home made printf using the hyperterminal as a debugger window, but up to now I used UART1 and all went good. Now I have to port my code on a proprietary board mounting a LPC2194 that has just the UART0 exposed. I've ported the code to the UART0 in this way: ...init stuff PINSEL0 = 0x00000005; /* Enable RxD0 and TxD0 ...


Uart0 and uart1

Started by Pankaj in LPC20008 years ago 6 replies

I am using lpc2148, and uart0 is at 115200 buad rate. i have to use uart0 and uart1 at same point of time, and I am struggling in code. please...

I am using lpc2148, and uart0 is at 115200 buad rate. i have to use uart0 and uart1 at same point of time, and I am struggling in code. please can someone forward me code for both uart at different baud rate ------------------------------------


ISP, UART0, UART1... comm to another cpu

Started by flashzr in LPC20007 years ago 13 replies

Hi, I'm new here and new to LPC2101. I'm reading the PDFs and creating the PCB at the same time, and I need some pointers. I know...

Hi, I'm new here and new to LPC2101. I'm reading the PDFs and creating the PCB at the same time, and I need some pointers. I know that: The chip is programmed through UART0. UART0 has RX/TX only, while UART1 has full modem control lines. My problem is that the LPC will also have to use the UART to communicate with another CPU. The simplest thing would be to use UART1 for that purpo...


UART0 vs UART1

Started by dimaissaev in LPC200013 years ago 5 replies

Hi all. Could anyone explane me what different between UART1 and UART0 (except modem control register in UART1). I...

Hi all. Could anyone explane me what different between UART1 and UART0 (except modem control register in UART1). I can't understant NOTHING! Two equal initialization. Equal ISR but when I try to work with UART1, system hand-up. UART0 working absolutely n


LPC2468 UART0 Exmples???

Started by big_poo69 in LPC20009 years ago 1 reply

Hello all, i have been working on trying to get my UART0 working on my ollimex LPC2468 dev board, however when i run the program it only...

Hello all, i have been working on trying to get my UART0 working on my ollimex LPC2468 dev board, however when i run the program it only shows me rubbish on the pc termeinal (using realterm) here is my code: any suggestions very much appreciated! also if you have ANY code to do with UART0 receiving (from pc to LPC2468) i would love to have a look! i have been stuck on this for 3 we...


UART0 and Printf

Started by jstamos111 in LPC200012 years ago 9 replies

Hey all, I am trying to get UART0 output to display on hyperterminal for a board I made based on the LPC2106 processor. I use the ISP and...

Hey all, I am trying to get UART0 output to display on hyperterminal for a board I made based on the LPC2106 processor. I use the ISP and UART0 to program the board with Philips flash utility, then start hyperterminal with the following settings: 9600 bits/second, 8 databits, no parity, 1 stop bit, and no flow control. I set hyperterminal to listen on the same com port as the one I ...


interrupts + Keil + LPC2294

Started by grodo2k in LPC200012 years ago 4 replies

Hello could someone be so kind and say, what is wrong in following code? Or maybe it is ok, but it doesn't work... I want trigger an...

Hello could someone be so kind and say, what is wrong in following code? Or maybe it is ok, but it doesn't work... I want trigger an interrupt using UART0. I am using Keil. (UART0 is ok, it sends a string from tab). thanks in advance int i,j; char tab[] = "UART0 is working properly"; void UART0INT() __irq { IO0CLR |= 0x20000; //clr P0.17 (it's a LED) for(i=0;i<5;i++)


LPC2138 UART0/1 and modem control

Started by czajniczek in LPC200012 years ago 3 replies

Hi ! I'm about to build a system using LPC2138. It's going to be equipped with RS232C and RS485 ports. As I need full RS232...

Hi ! I'm about to build a system using LPC2138. It's going to be equipped with RS232C and RS485 ports. As I need full RS232 implementation with modem control lines, I will use UART1 for it, and UART0 for RS485 in turn. Unfortunately I'd like to use serial ISP programming, which uses UART0, and I don't like an idea of flashing through R


Problem facing with UART0

Started by seena_ele in LPC200012 years ago 2 replies

hai all I am using UART1 for my application its working but i am having problems with UART0. does any body help me tnk in...

hai all I am using UART1 for my application its working but i am having problems with UART0. does any body help me tnk in advance


spi0 and uart0 may not be used simultaneously?

Started by williewortel in LPC20006 years ago 3 replies

Hi, I had problems with communication through the SPI0 port. Therefore I created a simple test, which sends 0x30 through the uart0, just to...

Hi, I had problems with communication through the SPI0 port. Therefore I created a simple test, which sends 0x30 through the uart0, just to say hello. Then I read something from spi and dump it to uart0. Then I write 0x31 through the uart to let know that the test ends. The problem is that 2nd and 3th character is messed up when SPI read 0. I simply left MISO0 floating or tied to VCC -...


need help, LPC2138 /01 UART0

Started by nelson Zhu in LPC20008 years ago 18 replies

I have a system using LPC2138 /01, UART0 is connected to PC comm port, 9600-8-2-N. UART0 is interrupt driven. We have only one wire for the RS232...

I have a system using LPC2138 /01, UART0 is connected to PC comm port, 9600-8-2-N. UART0 is interrupt driven. We have only one wire for the RS232 line, so we have some circuitry to combine the RX and TX line. I first use JTAG to program our loader into the chip, and the loader talks to PC fine. But when I start to load application program using the loader, it sometimes hangs my program before it f...


MCB2300 Issue with uart0

Started by prab...@yahoo.co.in in LPC20008 years ago

Hi all, i am facing one issue related to uart0 in keil MCB2300 board.i have loaded .hex file into LPC2388 in MCB2300 board.After loading,removed...

Hi all, i am facing one issue related to uart0 in keil MCB2300 board.i have loaded .hex file into LPC2388 in MCB2300 board.After loading,removed jumper int0 and rst(I am assuming these two are only for flashing.Is it correct???).My program ( printing characters on terminal)is not running.After power cycle also its not working. After lot of testing i found that, when powerup,UART0 of MCB2300 sho...


UART0, TC0, PWM & ADC at once on LPC2132

Started by soren_t_hansen in LPC200012 years ago 3 replies

Hi there Im making a system where I'm using all the above mentioned interrupts. I have had the TC0, PWM and the ADC running nicely until...

Hi there Im making a system where I'm using all the above mentioned interrupts. I have had the TC0, PWM and the ADC running nicely until now, but when I add the UART0 the TC0 goes dead (it's running a 1 Khz clock) I want the UART0 to give me interrupts when it receives a byte and only when that occours. When I send data I don't want to receive any


UART0 hyperterminal

Started by Shilpa Shilpa in LPC200010 years ago 21 replies

Hi all, I am working on MCB2130 Evaluation board that has LPC2138 philips microcontroller. The UART0 is been connected to COM0 port and UART1...

Hi all, I am working on MCB2130 Evaluation board that has LPC2138 philips microcontroller. The UART0 is been connected to COM0 port and UART1 is connected to COM1 port.I have configured the UART0 for receiving the characters from the PC end which would be like connecting a cable from the board to COM1 port of one PC opening a hyperterminal and upon the execution of the code you could write some...


Re: LPC210x UART0 Calc

Started by Marcus Andreotti in LPC20007 years ago 1 reply

Thanks for sharing Jason, nice work! Cheers, Marcus On Thu, Nov 4, 2010 at 12:57 PM, Jason wrote: > Just made this nice calculator...

Thanks for sharing Jason, nice work! Cheers, Marcus On Thu, Nov 4, 2010 at 12:57 PM, Jason wrote: > Just made this nice calculator for UART0 for the LPC210x uC family. Works > nice! > > You can goto my blog to download new versions. But i will post one here if > i can. > > http://atomsoft.wordpress.com/2010/11/03/lpc210x-uart0-calc/ > > ------------------------


LPC2138 UART0 Problem (UART1 is OK)

Started by nkni...@yahoo.com in LPC200011 years ago 2 replies

Note: I did scan for similar questions before posting, but then it won't accept my message indicating that I need a subject on my message...which...

Note: I did scan for similar questions before posting, but then it won't accept my message indicating that I need a subject on my message...which I had...so I'm reposting here and not checking the "Scan archives..." box. I am having a problem getting output out of UART0. UART1 works fine. I have checked both with o-scope and see output on Pin 33 (Uart1), but not on pin 19 (uart0). I'm think...


UART0 not working in GCC LPC2138

Started by ravindra_lpc in LPC200011 years ago 3 replies

Hi all , I had used LPC2138 with Keil ARM Tools.Now I want to switch to GCC . All interupts except UART0 are working .Although it is going...

Hi all , I had used LPC2138 with Keil ARM Tools.Now I want to switch to GCC . All interupts except UART0 are working .Although it is going to the service routine each time I send a character frm UART0 but it is not printing the Receive Buffer Register (U0RBR) value .The same code was perfect with Keil ARM Tools. Why this happening? Plz resolve this immediately.Code piece is as f...