| ??? 11/07/00 23:34 Read: times |
#6302 - RE: I got my 89S8252 |
Ofir:
You could see pulses if your scope is too slow. You should always see a sine wave on pin 19 (or 18?) and you should see a different style wave on pin 18 (or 19?). Pin 18 will be a curve up about half way of the peak, downware curve again and then the rest of a sine wave. If you are using a 12 or 11.0592 Xtal you should set your scope for 400nS and 200mV range. You need a scope capable of your crystal speed and you should set it for the x10 probe (less current draw?) as to not upset the crystal oscillation. Thanks for the info here as to the X10 probe to whomever it was provided me with it. Other beginner's advice I can give is: Maybe you don't have the interrupt table vector setup properly. The interrupt vector is a table the processor uses to jump to code from when interrupts occur. The most vital is 0000h memory location which tells your microprocessor where to start execution after a reset signal is applied. A good simple program to start with would look like this: org 0000h ljmp start ; interuppt 0 - cold start (reset) org 003bh ; I use 3b cause I use 8051 check your data sheet the more interupts the more further you need to set back code start: cpl 1.0 ; set port 1 bit 0 for the opposite it is now sjmp start ;repeat forever Scoping out P1.0 should show you square wave outputs, speed depending on crystal and MPU speed. John M. Borchers |
| Topic | Author | Date |
| I got my 89S8252 | 01/01/70 00:00 | |
| RE: I got my 89S8252 | 01/01/70 00:00 | |
RE: I got my 89S8252 | 01/01/70 00:00 |



