Olimex E2294 with ethernet and external memory

Started by suyash in LPC200013 years ago

Hi all I am working on Olimex E2294 board. I want clarification on the following points. 1. How can I program my LPC 2294 chip with the...

Hi all I am working on Olimex E2294 board. I want clarification on the following points. 1. How can I program my LPC 2294 chip with the other serial (RS232)interface present on the board may be with UART1 of LPC2294.(without involving FTDI USB to serial converter,assuming that I managed to give power to the board externally) 2. Is there any way by which I can use the connected S8900A...


olimex 2294 ethernet & external memory.

Started by suyash in LPC200013 years ago

Hi all I am working on Olimex E2294 board. I want clarification on the following points. 1. How can I program my LPC 2294 chip with the...

Hi all I am working on Olimex E2294 board. I want clarification on the following points. 1. How can I program my LPC 2294 chip with the other serial (RS232)interface present on the board may be with UART1 of LPC2294.(without involving FTDI USB to serial converter,assuming I managed to give power to the board externally) 2. Is there any way by which I can use the connected S8900A in m...


Parity as frame-sync - pc-side question

Started by thomas_augustinus in LPC200012 years ago

Hi, I am working on an embedded system based on lpc2103 and have implemented a protocol where the lower layer is based on using the parity...

Hi, I am working on an embedded system based on lpc2103 and have implemented a protocol where the lower layer is based on using the parity bit as frame-sync. The bus is based on can transceivers connected to uart1. My problem is that I don't know how to get going with a pc- application that must listen and transmit on the serial link for monitoring and firmware update. I can reus...


Disabling UART Receive Interrupt

Started by Richard in LPC200014 years ago 5 replies

I am working with a RS485 transceiver that echoes the transmitted data back through the receive channel. When I switch transmission ...

I am working with a RS485 transceiver that echoes the transmitted data back through the receive channel. When I switch transmission direction from receive to transmit I wish to ignore the incoming data as it is just a copy of what is being set. I can't disable the UART1 in the VIC as this would kill all UART operations. So I am trying to disable the RBR interrupt


Prefetch Abort (instruction fetch memory fault)

Started by dimaissaev in LPC200014 years ago

Hello All. I have found that if I try to work with UART1 (RS485) I have interrupt 0x0000 000C (Prefetch Abort). (I set a...

Hello All. I have found that if I try to work with UART1 (RS485) I have interrupt 0x0000 000C (Prefetch Abort). (I set a break point to 0x0000 000C) Is anyone know what mean this interrupt and what that mean? I have a LPC2294 with 1mb 32bit 0ws external


LPC2136 UART1 Hardware Flow Control

Started by uedogan in LPC200014 years ago 2 replies

Hi Experts, i'm currently designing a new project based on the LPC2136. Its my first ARM project (and someone gives me not much...

Hi Experts, i'm currently designing a new project based on the LPC2136. Its my first ARM project (and someone gives me not much time...). I am coming from AVR and 8051 types. In such projects i always implemented RTS/CTS hardware flow control simply by checking the CTS state before sending the next characters (there where no FIFOs). Now,


those crazy interrupts (2138)

Started by WadeA & RebeccaM Smith in LPC200010 years ago 44 replies

As soon as I enable the IRQs, pabort occurs. If I comment out U1Initialize() -- no problem. The code for uart1 is the same for uart0, with...

As soon as I enable the IRQs, pabort occurs. If I comment out U1Initialize() -- no problem. The code for uart1 is the same for uart0, with just the names changed to protect the ignorant. Obviously I am missing something. What it is? VIC assignments: * Addr/Cntl 0 = timer0 * Addr/Cntl 1 = i2c (not enabled) * Addr/Cntl 2 = spi (not enabled) * Addr/Cntl 3 = timer1 (not enabled) * Addr...


Missing THRE Interrupt

Started by johnthomasedwardtimm in LPC200013 years ago 4 replies

I was wondering if anyone has seen the errata on the UART in terms of the hardware race condition that Robert pointed out many posts ago. ...

I was wondering if anyone has seen the errata on the UART in terms of the hardware race condition that Robert pointed out many posts ago. Also, I was wondering if the read-the-IIR-once-and-only-once solution is the workaround. The errata states that reading the IIR will only clear the THRE interrupt on UART1, however, the user's manual states otherwise. I'm waiting to hear back from a...


problem with LPC2148

Started by Sutton Mehaffey in LPC200012 years ago 3 replies

I have a wierd problem that I am having trouble solving. I have a serial display tied to TX1 of a LPC2148. It works great thru UART1. RX is...

I have a wierd problem that I am having trouble solving. I have a serial display tied to TX1 of a LPC2148. It works great thru UART1. RX is not used on this display. Only other connections are +5V and GND. I am also using P1.17-P1.24 as a virtual data bus on the 2148. Whenever I put an address above 0xf on the data bus as an output (switch port to output mode), I get an undesired adj...


NGX Technologies Blueboard

Started by leon Heller in LPC200010 years ago 6 replies

NGX Technologies (Bangolore, India) recently sent me one of their new Blueboard LPC2148 systems for review. The main features are: JTAG...

NGX Technologies (Bangolore, India) recently sent me one of their new Blueboard LPC2148 systems for review. The main features are: JTAG Two DB-9 connectors for UART0 and UART1 USB SD-card Audio amplifier and speaker Eight LEDS driven by a 74HC595 Two pushbuttons (and reset) RTC (external battery) 2x16 character LCD module DAC audio output Potentiometer ...


LPC2366: Question about UART interrupt which goes into DAbt_Handler

Started by abracadalba in LPC200011 years ago 12 replies

Hi to everyone, I'm using LPC2366. My question is about an UART interrupt wich goes into DAbt_Handler. More in detail, a part of my projest...

Hi to everyone, I'm using LPC2366. My question is about an UART interrupt wich goes into DAbt_Handler. More in detail, a part of my projest is to receive data through UART2 and to echo the received data to UART1. Both UARTs are configured @600kBaud. After receiving some characters, I see my application crashing. I Use Keil uVision with GCC. Optimization level is 1. Used prototypes ar...


LPC2294 UART0 (interrupt driven) ARTXv2.0

Started by bahadir_armagan in LPC200012 years ago 2 replies

Hi All, I'm running ARTX kernel and I want to use UART0 to send some data. When I call putchar() it sends the first char and system hangs....

Hi All, I'm running ARTX kernel and I want to use UART0 to send some data. When I call putchar() it sends the first char and system hangs. U0IIR says interrupt pending (bit0=0) and this is THRE interrupt (U0IIR=0xC2). Program does not executes after calling putchar(). Please help, Here is the init, putchar and interrupt vector from serial.c (It was originally for UART1 and I modified it to ...


Uart interrupt problem

Started by cbitsunil in LPC200014 years ago

Hi, Iam working on lpc2214 .Iam using Uart0 and Uart1 in interrupt modes for receiving only. Iam working on GCC compiler.Iam getting...

Hi, Iam working on lpc2214 .Iam using Uart0 and Uart1 in interrupt modes for receiving only. Iam working on GCC compiler.Iam getting only the first character received.The later one is discarded. The same code is working fine with Keil Arm tools.Of course for GNU tools i changed the prototype declaration for interrupt. Where iam exactly going wrong?


UART transmit problem with GNU

Started by jesperkr123 in LPC200014 years ago 3 replies

Hey I'm trying to get the UART0 and UART1 working on my LPC2124 Olimex board. I use the WINARM GNU toolchain. I've wrote a simple...

Hey I'm trying to get the UART0 and UART1 working on my LPC2124 Olimex board. I use the WINARM GNU toolchain. I've wrote a simple code to test the UART. But when i send a byte to my PC, the received byte is wrong. This is my test program: void SetUART(int baud){ unsigned int divisor = pCF / (16 * baud); PINSEL0 |= 0


Really wierd thing - accessing U1IER causes processor reset...!

Started by Mike Harrison in LPC200012 years ago 7 replies

Just been doing much head-scratching over this.... Using LPC2103 with IAR Kickstart & J-link. ARM mode This is my "put a character in the...

Just been doing much head-scratching over this.... Using LPC2103 with IAR Kickstart & J-link. ARM mode This is my "put a character in the Uart1 1 TX buffer" code void u1txbyte(Int32U d) { txsum+=d; FIOSET=expsel; // debug flag U1IER&=0xFD; // disable THRE int FIOCLR=expsel; u1txbuf[u1txinptr++]=d; u1txinptr&=(u1txbufsize-1); if (txbusy==0) U1THR=d; txbusy=1; ...


VPBDIV register

Started by dodge1955 in LPC200013 years ago 9 replies

Can someone help me with this problem? See the code below. I have UART1 set up to print "Hello Test", but I can't get it to work with a 12Mhz...

Can someone help me with this problem? See the code below. I have UART1 set up to print "Hello Test", but I can't get it to work with a 12Mhz clock, which is what is on the Eval boards. I am using currently the Embedded Artists board with the 12Mhz clock. If I set the U1DLL to 0x61, which is a 15Mhz clock, and leave VPBDIV = 0 (1/4 processor clock) it works fine (as in the code


LPC2148 misses SPI0 interrupts if UART interrupts used

Started by l_marmsater in LPC200013 years ago 4 replies

Hi, Here is a gotcha that may cost you some time to find and resolve. If you are using interrupts to handle SPI0 transfers and UART0 or UART1...

Hi, Here is a gotcha that may cost you some time to find and resolve. If you are using interrupts to handle SPI0 transfers and UART0 or UART1 in an LPC2148, you may find that SPI0 interrupts do not always occur. You typically initialize an SPI transfer from the user level, say transmit the first byte of a buffer, and then let the ISR finish the transfer, until all bytes are shifted out ...


UART0 hyperterminal

Started by Shilpa Shilpa in LPC200011 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...


RS485 9 Bit Comms on LPC2148

Started by mhoneywill in LPC200013 years ago 4 replies

Hi, I'm implementing a comms protocol which requires RS485 half duplex comms with a 9 bit data word for the first byte. I'm new to the...

Hi, I'm implementing a comms protocol which requires RS485 half duplex comms with a 9 bit data word for the first byte. I'm new to the LPC214x chips so was wondering if anyone could give me some pointers. My thoughts are described below. Half Duplex Comms It looks like UART0 and UART1 have both FIFO empty and ShiftRegister empty Flags, IF you enable the THRE in


ARM7 with two UARTs with hardware flow control

Started by Sandeep Dhull in LPC20007 years ago 6 replies

I am trying to solve two problems that are related to each other ... * I have been looking for an ARM7 that has two UART modules with full...

I am trying to solve two problems that are related to each other ... * I have been looking for an ARM7 that has two UART modules with full hard= ware flow control. I checked NXP's website, but all I could find was MCUs w= ith say UART1 with hardware flow control, and UART0,2,3 with TX#/RX# lines.= =A0I have to interface with a Bluetooth module and a GSM module, and both n= eed hardware flo...