Building a parallel port ICP adapter

Started by "leg.strong" in LPC9007 years ago 13 replies

Hi, everybody! I am trying to build a parallel port ICP adapter. I think it will be quite usefull and low cost. But I can not read data from...

Hi, everybody! I am trying to build a parallel port ICP adapter. I think it will be quite usefull and low cost. But I can not read data from the device(LPC9107), the data line is always high when read. What may be the problem? To get in programming mode the RESET pin has to have a sequence of 7 pulses after the rising edge of VDD and the RST high time must between 1-32us, which is e...


PWM on LPC936

Started by slavkok in LPC9007 years ago 5 replies

Hello.. I Try to setup CCU PWM unit in LPC936 but cant get it working. Timer 0/1 as pwm works great but I need more PWM's The unit is...

Hello.. I Try to setup CCU PWM unit in LPC936 but cant get it working. Timer 0/1 as pwm works great but I need more PWM's The unit is clocked with 18MHz external crystal. So I intend to use CCLK (18MHz) as CCU clk as PLL can't be set correctly with crystal over 16MHz. Or I'm wrong? Pin P2.1 is set as Pushpol output and folowed code should 50%/50% cycle but it's on LOW all the time ...


Is it possible to read hex data back from chip through ISP-ICP bridge?

Started by bestfranksmith in LPC9008 years ago 3 replies

Does anybody know about that? Thank you. ------------------------------------

Does anybody know about that? Thank you. ------------------------------------


Monitor

Started by Alvin Schmitt in LPC9008 years ago 2 replies

Hi - Does anyone know of a debugger monitor for the LPC93x chips? Thanks. Alvin... APSTRON LLC P.O. Box 10336 Blacksburg VA 24062-0336...

Hi - Does anyone know of a debugger monitor for the LPC93x chips? Thanks. Alvin... APSTRON LLC P.O. Box 10336 Blacksburg VA 24062-0336 www.blacksburg.net/~schmitta


LPC938 Baudrate generator

Started by SR in LPC9009 years ago 7 replies

Hi I am using LPC938, I am trying to get the UART's baudrate to 9600 but nothing seems to work..I the following code and all I see on...

Hi I am using LPC938, I am trying to get the UART's baudrate to 9600 but nothing seems to work..I the following code and all I see on hyperterm is just various ASCII characters. EA = 0; TR1 = 0; /* stop timer 1 */ ET1 = 0; /* disable timer 1 interrupt */ TH1 = 0xFC; //(unsigned char) (256 - (clock / (16L * 12L * baudrate))); PCON |= 0x80; /* 0x80=SMOD: set serial baudra...


ISP on LPC936

Started by Sutton Mehaffey in LPC9009 years ago 4 replies

Anyone done ISP on a 936? On the app. note AN10258, there is a statement that says 'To control VDD, a PNP transistor is needed, because P2.3...

Anyone done ISP on a 936? On the app. note AN10258, there is a statement that says 'To control VDD, a PNP transistor is needed, because P2.3 cannot supply enough current for the LPC9xx during programming.' Can I just supply 3.3V all the time to the 936 and not connect P2.3 to my board? Problems with that? Sutton ------------------------------------


read characters from UART and stop if character 'a' occurs

Started by lpc9xxbeginner in LPC9009 years ago 2 replies

Hi, i think it is pretty clear what i want. I want to read characters from the UART and stop reading if the character 'a' occurs. I have...

Hi, i think it is pretty clear what i want. I want to read characters from the UART and stop reading if the character 'a' occurs. I have written a small program, but the program only works the first time. If i call the function a second time, the program doesn't work. My program: int Get_Return_Value() { char character; int i; unsigned int retry; char receive_value[4]="\0"; i=0;...


Using BREAK DETEC with UART, LPC936

Started by abaehne in LPC9009 years ago 2 replies

Hello, I would like to use the BREAK DETEC Flag to handle the following data in the BREAK DETECT ISR. In the NXP User Manual for the LPC936...

Hello, I would like to use the BREAK DETEC Flag to handle the following data in the BREAK DETECT ISR. In the NXP User Manual for the LPC936 I'read that the UART goes in an Idle Mode when an BREAK DETECT occurs and the UART wakes up when a stop bit is read. This could means for me that the first Byte, which comes direkly after the BREAK DETECT, is not in the SBUF because of the Idle Mo...


LPC938 ADC code problems - porting from Keil

Started by evsource_com in LPC9009 years ago 1 reply

Hi, I'm sort of new at the LPC micros, but have some code apparently compiled with the Keil compiler for a lPC938. I've got...

Hi, I'm sort of new at the LPC micros, but have some code apparently compiled with the Keil compiler for a lPC938. I've got everything compiling fine, except for the ADC code. The relevant portions of the code are this: (line 80): res = (XBYTE[AD0DAT0L_ADDR] <


I thing you can help me! My LPC935 don't answer to me!!!

Started by in LPC9009 years ago 1 reply

Hello, I'm a new LPC935 user and for my first application, my microcontroller BUG, where is the problem??? (Sorry for my bad English, I've some...

Hello, I'm a new LPC935 user and for my first application, my microcontroller BUG, where is the problem??? (Sorry for my bad English, I've some difficulties with this language) Explanation: First, I'm developing my program direct in assembler with =B5vision3.=20 It's a easy program to verify if my =B5C do it correctly but I've no output :( The program : org 0000h ljmp start =09 or...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright