Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - ericinsomewhere

Pages: [1]
LPC9xx/LPC9xxx / Re: LPC922 & Fash Magic-only writes once
« on: April 06, 2006, 08:49:51 pm »
I have the same problem using LPC922.

I haven't download any code on the LPC922, just checked and changed device configuration only:

- Uncheck "Enable Reset Pin"
- Uncheck "Enable Brownout Detection"
- All other left it as default.

Off-Topic (Read Only) / LPC932A1 vs LPC922
« on: May 13, 2005, 02:48:11 am »
I have a program with the following code to toggle P3.1.

         P3 = P3 | 0x02;
         P3 = P3 & 0xFD;
         P3 = P3 | 0x02;
         P3 = P3 & 0xFD;

And also enable output CPU CLOCK to the pin CLKOUT, P3.0.

Register TRIM and DIVM have been set in power up:

   TRIM = TRIM | 0x40;
   DIVM = 0x00;

I download the same program on LPC932A1 and LPC922, both have the same output on CLKOUT pin.

- On LPC932A1 device, P3.1 toggle in a cycle of CLKOUT, it's fine.
- On LPC922, P3.1 toggle much more slow, around 32 cycle of CLKOUT (I haven't counted the details).

Is it any register to force LPC922 to run on a divided clock cycle? How can I force it to run in full speed, same as LPC932A1?

Anybody can help?


LPC9xx/LPC9xxx / Re: How to connect Flash Magic to LPC922
« on: May 13, 2005, 02:37:37 am »

LPC9xx/LPC9xxx / How to connect Flash Magic to LPC922
« on: May 11, 2005, 01:38:32 am »
I have built a circuit following the app note "" Figure 7, it can program LPC932.

Now I have to switch to LPC922. According to the data sheet of LPC922,  the signals used is PCL and PDA, not TxD and RxD of the app note. How to connect LPC922 to the circuit?

Anybody can help?


Off-Topic (Read Only) / LPC932A1 cannot work
« on: January 11, 2005, 12:21:46 am »
I build a simple program of LPC932A1 to toggle P0 and P1. It work fine on RIDE and Keil. After download to real device using Flash Magic, nothing happen. Anybody can help?

Is it need to set any starting address?

The code is attached here:


//UCFG1 = 0x43
//   .7 WDTE (Watchdog Timer Reset Enable)
//   .6 RPE   (Reset Pin Enable)
//   .5 BOE   (Brownout Detect Enable)
//   .4 WDSE   (Watchdog Safety Enable)
//   .3 reserved
//   .2/1/0   FOSC (011: Internal RC OSC 7.373 +/-2.5%)

void InitIO(void)
   P0M2 = 0xFF;      //All P0 is Push-pull output
   P0M1 = 0x00;

   P1M2 = 0xFF;      //All P1 is Push-pull output
   P1M1 = 0x00;

void main(void)
      P0 = 0xFF;
      P0 = 0x00;
      P1 = 0xFF;
      P1 = 0x00;      

Pages: [1]