??? 05/27/08 18:51 Read: times |
#155173 - Not getting response from P89LPC9107 |
Hi,
I am using LPC9107 for one of my application to control DC motor (ON/OFF) control through FET. I am using ICP to program the microcontroller. Programmer : USB-ICP from future Designs, Inc. following is the code to check output at pin 0.7 #include <stdio.h> #include "reg9107.h" void main() { TRIM |= 0x40; P0M1 &= 0x7F; P0M2 |= 0x80; EA = 1; P0 = 0x00; while(1); } I am able to program using ICP programmer and flash magic, flash magis says microcontroller is programmed. but when i power up the microcontroller i can not see pin number 0.7 low, it is high. I tried to see clock out but i can not see even clock out too. Please advice. Thanks. |
Topic | Author | Date |
Not getting response from P89LPC9107 | 01/01/70 00:00 | |
Pin connected ? | 01/01/70 00:00 | |
Re: Pin connected? | 01/01/70 00:00 | |
Read the data sheet? | 01/01/70 00:00 | |
Re: Read datasheet | 01/01/70 00:00 | |
Code with comments | 01/01/70 00:00 | |
Interrupts ? | 01/01/70 00:00 | |
RE: Interrupts | 01/01/70 00:00 | |
Check | 01/01/70 00:00 | |
Re: check | 01/01/70 00:00 | |
Not quite | 01/01/70 00:00 | |
Re : check | 01/01/70 00:00 | |
I got it, IDATA length parameter is wrong![]() | 01/01/70 00:00 |