Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
8051 idle mode
The problem seems :
MOV PCON,#01 ;GO BACK TO IDLE MODE AFTER THE INTERRUPT
RETI
on executed mov Pcon,#01 CPU gets into idle mode, therefore RETI won't get executed.
Try this
ORG 0013H ;/INT1 ISR
LCALL INT1_ISR
RETI
MAIN...
power boost 1 volt
Could you please give more details of your design, including cirucit diagram and may be some construction details.
I had built 1.5V to 5V booster with transistors but cannot get more than 20mA.
why 33pf 8051
These capacitors are used to ensure oscillation. The value is NOT critical. Any value from 15pF to 40pF can do (22pF to 30pF recomended). Sometime it works even without capacitors - the stay capacitance is large enough to start oscillation.
The maximum frequency is determined by oscillator clock :
clock/12/2 for standard 8051. Upper limit will be 500kHz with 12MHz clock.
This figure is for square wave of 50% duty cycle. For narrow pulses the maximum input frequency should be lower, estimate by the formula:
clock/12/2/n, where n is...
Re: RTOS question
Whenever any task call delay ticks, it will be blocked and relinguish CPU to other task.
main task 0
start task 1
do something
time delay 20 ticks // relinquish CPU, task1 will get executed
Task 1
x=getkey or some input // loop waiting is not good pratice in RTOS
time...
Re: does anybody have Two transistor sine wave generator cir
There are a series of oscillator design in EPE magazine (1999 july - dec issue?)which might meet you requirement.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.