Forums Search for: UART1
LPC2138 UART1 problem
inHas anyone come across this problem? UART0 and UART1 are set up identically. 115Kbaud, 8,N,1. No modem features. Both works, but after about...
Has anyone come across this problem? UART0 and UART1 are set up identically. 115Kbaud, 8,N,1. No modem features. Both works, but after about 1 hour, UART1 stops receiving. UART1 still transmits properly. Resetting IC does not get UART1 to work again. Power Cycling does not get UART1 to work again. Replacing the IC, however, does get UART1 to work again, but only for a brief time. Th...
I2C problems when UART1 interrupt enabled
inHi guys,I'm having some problems using I2C whit UART1 interrupt. I have the I2C0 working fine on a NXP LPC2378 and use it to read a serial EEPROM...
Hi guys,I'm having some problems using I2C whit UART1 interrupt. I have the I2C0 working fine on a NXP LPC2378 and use it to read a serial EEPROM from Microchip (24LC512) and my system answers to MODBUS commands over UART1. To improve better communication, I'm intended to use interrupts for the UART1. When I enable the interrupts, the system works fine until I make the first request over UART1. Af...
LPC23xx : Re-config of UART1 is not working
inHi, I made a SDCard bootloader that works well . But if I activate the UART1 in the bootloader to print some debug informations AND my...
Hi, I made a SDCard bootloader that works well . But if I activate the UART1 in the bootloader to print some debug informations AND my application firmware use the UART1, the firmware is blocking ... After some debug , it seems the second configuration of the UART1 (firt is when used in the bootloader) doesn't work. In fact the baud registers are 0 and the LPC blocks when transmitting a...
LPC17xx question - ISR driven Serial possible?
inIs it possible to have a fully ISR driven serial driver on the LPC17xx series of chips? One that would follow this form: serial_putChar(char...
Is it possible to have a fully ISR driven serial driver on the LPC17xx series of chips? One that would follow this form: serial_putChar(char ch){ sendBuffer[in++] = ch; UART1-> IER |= UART_IER_THREINT_EN; } serialISR(){ if(UART1-> IIR & UART_IIR_INTID_THRE){ UART1-> THR = sendBuffer[out++]; if (out == in){ UART1-> IER &= ~UART_IER_THREINT_EN; } } } Or something similar
ISP, UART0, UART1... comm to another cpu
inHi, 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...
UART1 for LPC2148
inI'm having a problem with getting UART1 to work on my Embedded Artists prototype board. I have a serial display that has only 1 serial line. ...
I'm having a problem with getting UART1 to work on my Embedded Artists prototype board. I have a serial display that has only 1 serial line. In other words, you can only transmit to the display. I can't get P0.8 (UART1 TX) to send any data. Here is my setup at 9600. And, another question is 'Do I really need an interrupt just to transmit? It seems like throwing a char out to U1THR shou
LPC2378, UART1 setup problems
inHope someone can help me see what I'm doing wrong. I'm trying to use UART1 with the TX/RX pins on P2.0 and P2.1. Nothing I do seems to work...
Hope someone can help me see what I'm doing wrong. I'm trying to use UART1 with the TX/RX pins on P2.0 and P2.1. Nothing I do seems to work with these pins. If I configure the TX/RX pins on P0.15 and P0.16 UART1 works fine. Here is my pinselect and UART setup code: //PINSEL0 |= 0x40000000; // Enable TxD1 P0.15 //PINSEL1 |= 0x00000001; // Enable RxD1 P0.16 PINSEL4 = 0x0000000a; // En...
LPC2468 UART1 Anomaly
inI am using an IAR LPC2468 development board and the IAR compiler for a company project. Just recently I noticed a strange issue with UART1. On...
I am using an IAR LPC2468 development board and the IAR compiler for a company project. Just recently I noticed a strange issue with UART1. On the LPC2468, UART1 has modem control support but we are not using it. The pin selects use these pins for GPIO. On rare occasions (once every 10 minutes) I receive on the LPC2468 more bytes than I transmit. The extra byte has always been a null charact...
LPC2138 UART0 Problem (UART1 is OK)
inNote: 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 - does not work while UART1 does
inHi, I need someone to be mercy and send me a compiled gcc example of a program to send test chars on uart0 and uar1 for a LPC2138@24MHz. I...
Hi, I need someone to be mercy and send me a compiled gcc example of a program to send test chars on uart0 and uar1 for a LPC2138@24MHz. I cannot think anything wrong with what I do and that basically works for uart1. Uart0 is connected thru an FPGA, Uart1 is directly connected to a serial port. The fpga is programmed to just forward the signals between the LPC2138 and a serial port. O...
help!about UART0 and UART1 of LPC2148
inI want to use both of two UART chanel for my applications.But when I do it!I have some problem! At first I receive data from UART1 then I send...
I want to use both of two UART chanel for my applications.But when I do it!I have some problem! At first I receive data from UART1 then I send data to PC through UART0 !And I have met problem that is:the font of The string I received on PC are wrong!and I can't read anything!Please help me solve that probelm! thanks ------------------------------------
LPC2148 and UART with hardware handshaking
inHello, Is it possible enable TX,RX,CTS and RTS on UART1 on LPC2148 (with HW handshaking) while using the rest of UART1 pins as general...
Hello, Is it possible enable TX,RX,CTS and RTS on UART1 on LPC2148 (with HW handshaking) while using the rest of UART1 pins as general purpose pins? Thanks, Gus
interfacing of lpc2148 with c328r
inhi,has anyone worked on c328r.i m facing problem in synchronizing with camera.i hav connected camera to uart1 port..and simultaneously...
hi,has anyone worked on c328r.i m facing problem in synchronizing with camera.i hav connected camera to uart1 port..and simultaneously checking the camera output from uart0.is any extra caommand need ed wen operating on both the uart's or specifically on uart1. thanks....group. ------------------------------------
lpc2138 uart1 drops interrupts
inHi I have a following problem that I just can't get my head around. I wonder if anyone else experiences this or if I have not stumbled...
Hi I have a following problem that I just can't get my head around. I wonder if anyone else experiences this or if I have not stumbled upon the right errata sheet.... Most of the code is written in Assembly There are 4 IRQ interrupt sources; priority 0 = timer0 priority 1 = timer1 priority 10 = uart0 priority 11 = uart1 uart0 is only used for debugging and interacting with the b...
UART1 RX LPC2148
inI have a problem where my code locks up on receiving a RX interrupt on UART1. I have been transmitting data to a serial display with...
I have a problem where my code locks up on receiving a RX interrupt on UART1. I have been transmitting data to a serial display with no problems, although with interrupts disabled. Anybody see any omissions or problems with this? I didn't include code such as PLL setup, because a lot of other features work. But if anyone needs it, I'll post it. Thanks. Sutton - dodge55 Notes on code ...
Getting lnewlib-lpc (Ver 5a) uart1 interrupts to work with WINARM
inHello, Using the "polled" mode for uart1 works without any problems at all. But now I would like to make the uart interrupt driven. Now when...
Hello, Using the "polled" mode for uart1 works without any problems at all. But now I would like to make the uart interrupt driven. Now when I change the device table to the following, the uart only transmitts ONE character and then hangs... (NOTE: added _int to each of the com1's) const struct device_table_entry *device_table[] = { &com1_int, /* stdin */ &com1_int, /* stdout */...
FIQ Newbie Help needed
inI'm trying to get FIQ interrupt to work on a LPC2148 using Winarm. Uart1 receives ASCII caharcters from a GPS at 19200 baud, and I am trying to...
I'm trying to get FIQ interrupt to work on a LPC2148 using Winarm. Uart1 receives ASCII caharcters from a GPS at 19200 baud, and I am trying to get the FIQ interrupt to run every time there is a data comming into Uart1, but it does not work. I think the problem maybe to do with the FIQ vector address, and I don't know how to point it to 0x0000001C from where the FIQ jumps to. Any help would be gra...
UART1 on LPC2138
inHello, I have a problem that UART1 on LPC2138 is dropping characters.I am communicating with a GPRS modem to send data to a server using AT...
Hello, I have a problem that UART1 on LPC2138 is dropping characters.I am communicating with a GPRS modem to send data to a server using AT commands.I am using RTS ,by writing to the U1MCR resgister,switching it OFF in the ISR if 30 characters queue up and ON in the Getch routine when 2 characters remain to be read.This is not AUTO RTS,since LPC2138 does not support it,only LPC2138/01 does. ...
LPC2138 another try on freertos
inHi all, I am going to try again to port the freertos for this combination: - LPC2138 with just one uart (uart1) readily available (there is a...
Hi all, I am going to try again to port the freertos for this combination: - LPC2138 with just one uart (uart1) readily available (there is a fpga between uart1 and the serial port configured to forward data to the pc). Uart 0 pins are available and can be connected to the fpga as well but not both at the same time. - 24MHz fixed clock (slave from a FX2 chip), I would like to reach 48MH...
Problem with LPC2378 UART
inProblem regarding UART1 in LPC2378. I am using LPC2378 microcontroller. Programming uart1 for communication.=20 Using P2.0 for TXD1 and P2.1...
Problem regarding UART1 in LPC2378. I am using LPC2378 microcontroller. Programming uart1 for communication.=20 Using P2.0 for TXD1 and P2.1 for RXD1. The initialization section of the co= de is given below. Using Crystal clock 12MHz, Baud rate is 9600 bps. PINSEL10 =3D 0X000000000; //To disable the ETM interface. PINSEL4 =3D 0X0000000a; //select TXD1 and RXD1 lines IO0DIR =3D 0...