problem in CAN

Started by harisha eh in LPC200013 years ago 7 replies

hello group, Im using lpc2129 in MCB2100 board.im facing problem in CAN(Controller Area Network) communication in hardware.Actually...

hello group, Im using lpc2129 in MCB2100 board.im facing problem in CAN(Controller Area Network) communication in hardware.Actually i connected two MCB2100 board,im just sending char in hypertermial through UART1(but communication between two board is through CAN only).i connected CANL to CANL & CANH to CANH. Transmission is done through push message function in which ...


Framing error on UART1

Started by aethr in LPC200012 years ago

Hi, moved a circuit from a LPC2148 development board to a first prototype circuit and am having a problem with receiving MIDI. On the dev board...

Hi, moved a circuit from a LPC2148 development board to a first prototype circuit and am having a problem with receiving MIDI. On the dev board had no problem, but on my proto am getting a Framing Error (U1LSR = 0xE9). With a scope looked at the incoming pulses on RxD1 and they look ok. PCLK is running at 60MHz, MIDI baud rate is 31250, parity is set 8N1. This results in divisor settings: ...


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...


LPC2292 UART0 problem

Started by mjianjun in LPC200012 years ago 2 replies

Hi all, =20 I am using LPC2292 in my board,I use UART0 connect to other device and ca= n receive data correctly but can not send out data...

Hi all, =20 I am using LPC2292 in my board,I use UART0 connect to other device and ca= n receive data correctly but can not send out data to this device. When I c= onnect board to my PC the data can be sent out correctly. When I change to = UART1 all functions work well. Anyboday met the same problem?? =20 Thanks John _______________________________________________________________...


How careful should you be with reserved bits?

Started by ttl_idiot in LPC20008 years ago 91 replies

Example: UART1 FIFO Control Register (U1FCR - 0xE001 0008) U1FCR |= 0x02; // Hazardous or not? This register's bits 3, 4 and 5 have the...

Example: UART1 FIFO Control Register (U1FCR - 0xE001 0008) U1FCR |= 0x02; // Hazardous or not? This register's bits 3, 4 and 5 have the following description: "Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined." So, the code above could potentially read 1:s for bits 3, 4 and 5, and then write those 1:s back after OR-ing ...


auto flow control on LPC2148

Started by Florent MIGNON in LPC200012 years ago 4 replies

Hello, I'm new on lpc and i want to use auto-RTS and auto-cts flow control on uart1 to communicate with a WT12 (bluetooth chip) which is...

Hello, I'm new on lpc and i want to use auto-RTS and auto-cts flow control on uart1 to communicate with a WT12 (bluetooth chip) which is configured to work with hardware flow control. Regarding the lpc documentation, i understand that i just have to put U1MCR = 0xC0 ( no interrupt is is used) to enable auto-flow control. Is that true. Does it work alone after this configuration? When i ...


Att: NXP_Apps EngineersLPC2468 UART1 Auto Baud Rate with Fractional Divider

Started by winbond2 in LPC200011 years ago 3 replies

With Asia closed for Chinese new year.. I have posted the question to this forum to see if other NXP App's engineers or experienced engineers...

With Asia closed for Chinese new year.. I have posted the question to this forum to see if other NXP App's engineers or experienced engineers can offer there suggestions on an Auto baud rate detect problem. We have a LPC2468 running with a Xtal to suit USB operation, hence we need to use the fractional baud rate generator to meet the minimum


lpc 210x Uart1 modem interface

Started by rohan patil in LPC200014 years ago 3 replies

hi i m final year elect. engg student in my project i m interfcing lg cdma phone with lpc 2106 . this cdma phone has data cable which ...

hi i m final year elect. engg student in my project i m interfcing lg cdma phone with lpc 2106 . this cdma phone has data cable which contains rs 232 converter in it. normal rs 232 drivers such as max 3232 gives inverted outputs & modem interface pins of uart 1 are active low so total system works perfectly but i want to remove that rs 232


PWM & UART at the same time

Started by andypselon in LPC200014 years ago 4 replies

Hallo Da mein englisch nicht sehr gut ist, versuch ichs einfach mal auf deutsch...:-) Plattform: LPC2129 auf dem Olimex-LPC-P212X ...

Hallo Da mein englisch nicht sehr gut ist, versuch ichs einfach mal auf deutsch...:-) Plattform: LPC2129 auf dem Olimex-LPC-P212X Mein Problem: Ich erzeuge an Pin P0.1 per PWM einen Takt. Gleichzeitig m?chte ich die UART1 (P0.8/P0.9) nutzen. PINSEL wurde richtig gesetzt! Beides separat funktioniert wunderbar. Sobald i


FreeRTOS + uIP serial to ethernet and vise versa ???

Started by ech3l0n in LPC200010 years ago 3 replies

I've got FreeRTOS + uIP up and running with serial and ethernet functioning 100%. I've created 2 tasks, 1 for uart and 1 for uIP. How can...

I've got FreeRTOS + uIP up and running with serial and ethernet functioning 100%. I've created 2 tasks, 1 for uart and 1 for uIP. How can I send the data that comes in from my uart1 out to my ethernet port ? Normally I just would do uip_send("Welcome!", 8); and it would send the data to my server no issues as long as I do it from inside the uIP task. I tried that from the uart ta...


LPC1778 problem with low pclk (8Mhz PCLK and 96Mhz CCLK)

Started by dilitiofosforo in LPC20007 years ago

Hello I have a problem to access at timer1 and uart0 connected with APB configured PCLK at 8Mhz. Cpu clock is 96Mhz and sporadic don't start...

Hello I have a problem to access at timer1 and uart0 connected with APB configured PCLK at 8Mhz. Cpu clock is 96Mhz and sporadic don't start timer The interrupt of uart1 actived but reading the U0IIR return 0xCD. If setting PLCK set on 48Mhz all alright. The purpose set on PCLK at 8Mz for setup uart at 5 baud rate. Best regards Andrea ------------------------------------


LPC2148: UART 1 data throughput problem

Started by Wool Gather in LPC20009 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 ...


Hyperterminal Simulator in Keil uVision 3 query

Started by MAYURESH M in LPC20009 years ago

Hello I have written a test code to recieve the test data generated by the mC to the computer using serial port and displaying it on...

Hello I have written a test code to recieve the test data generated by the mC to the computer using serial port and displaying it on hyperterminal. I simulated the code on keil uV3 using the UART1 hyperterminal simulator and it worked fine. My query is that, is there any way by which i can save all the data recieved in the hyperterminal simulator of keil into a text or excel file. Normal windo...


LPC2148 UART1 TTL

Started by Sutton Mehaffey in LPC200012 years ago

Has anyone ever connected up a LPC UART directly to a modem? I have a RJModem made by Multitech, which is TTL. I haven't been able to get it...

Has anyone ever connected up a LPC UART directly to a modem? I have a RJModem made by Multitech, which is TTL. I haven't been able to get it to accept commands when connected up to my 2148. However, commands work fine when I connect it directly to my DB9 connector (thru a RS232 driver). And, I can talk fine from UART to DB9 (thru RS232 driver). But, I don't think I need a driver to conne...


LPC2148 - Does Auto RTS work?

Started by mike_antonca in LPC200012 years ago

Hello all, I've been working on a UART1 driver for the LPC2148 to interface with a Bluetooth tranceiver. This device usually uses...

Hello all, I've been working on a UART1 driver for the LPC2148 to interface with a Bluetooth tranceiver. This device usually uses hardware handshaking, and it looks like the LPC2148 should support this in hardware. I have auto CTS working ok, and auto RTS working sometimes. Alas, having RTS working "sometimes" will not do. Currently, I power down the LPC2148 until the bluetooth tran...


Set RTS pin to high in KeilMCB2300 board with LPC2388

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

Hi all, I am using keil MCB2300 board with LPC2388(144 pin).I want to communicate with external modem through UART1. Currently i am...

Hi all, I am using keil MCB2300 board with LPC2388(144 pin).I want to communicate with external modem through UART1. Currently i am using RX and TX pin.But Modem expecting RTS and DTR pin to be high.If i set RTS and DTR means,Output volatage of RTS and DTR pin is ~ -0.15.Here is my configuartion REG_PINSEL0 |= 0x40000000; /* Enable TxD1 ...


LPC2378 UART 1 problem!!!

Started by DeV in LPC20007 years ago 18 replies

hello all...i own a lpc2378-stk olimex board...im trying to use uart1 to communicate...im having problem in receiving data...wat i want to do...

hello all...i own a lpc2378-stk olimex board...im trying to use uart1 to communicate...im having problem in receiving data...wat i want to do is till valid data is not available the lcd will display "no data"...only wen some data EXCEPT Carriage Return is sent, it will display "data entered"...now once the Carriage Return key is pressed the lcd will display "Carriage Return" till again a new ...


LPC2364 UART3 Issue:

Started by prab...@yahoo.co.in in LPC200010 years ago 13 replies

LPC2364 UART 3Issue: I am using LPC2364 and tested UART0,UART1 with Interrupts. Its working fine.But if i try to test UART3,its not...

LPC2364 UART 3Issue: I am using LPC2364 and tested UART0,UART1 with Interrupts. Its working fine.But if i try to test UART3,its not working(Not receiving data). I have tested UART3 tx part without interrupts based.Its working. But i didn't test RX part without interrupts method.Is there any limitation in LPC2364 uart3 interrupts or RX part. I have also enabled power for UART3 by using PCONP...


Problem with hardware flow control of LPC2210 uart

Started by Luc Steynen in LPC200013 years ago 1 reply

Hi, I am trying to use the auto-cts feature of the LPC2210 cpu, uart1. To enable it, I have to set the CTSen "Auto-CTS control bit", which is...

Hi, I am trying to use the auto-cts feature of the LPC2210 cpu, uart1. To enable it, I have to set the CTSen "Auto-CTS control bit", which is bit 7 in the U1MCR register. But I can not set this bit. It is always read as zero. I can set and read the DTR, RTS and loopback bits in the same register. I have the PINSEL0 bits P0_8 to P0_15 set to 1 to activate the pins as uart handsh


program run on debug but not run on real

Started by zied130187 in LPC20008 years ago 2 replies

hello My friends, i have 2 program CAN an UART each program turn correctly. after i have combined this tow program to send DATA from CAN2...

hello My friends, i have 2 program CAN an UART each program turn correctly. after i have combined this tow program to send DATA from CAN2 to CAN1 then from CAN1 to UART1 after from UART to UART0, finally i send another data from CAN1 to CAN2 and i repeat the work. when i debug the main the program turn without any problem but in real when i press reset the program don't work ! i h...