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.
iam using pic24f32ka304 controller.to configurre the oscillator he says claculte Tcy and based upon that value claculate the desired on time and load in the ocxr register...i had claulated the tcy .it is 250ns.(2/8MHz)...how to calculate the desired on time based upon this value
iam usiing pic2f32ka304 controller and writing the port initialization program as follows
#include"stdio.h"
#include"stdlib.h"
#include"p24F32KA304.h"
#include"libpic30.h"
void init_port(void);
void main()
{
init_port();
}
void init_port(void)
{
TRISA=0x0004; // set RA2 as an i/p and others...
iam using the ADC ...and also the same reference( fixed voltage reference)..do u mean having the same voltage reference will create the problem...and the problem can be eliminated by increasing the gain
---------- Post added at 09:31 ---------- Previous post was at 09:30 ----------
measuring...
i am using the pic24f32ka304 controller.in my project i am sensing both the voltage and current.and iam sensing the current upto 0.9 A.and when the current is at .9A it will go to another stage....but when iam switching the unit on/off continously ...the unit is sensing the current as .9A...
i want the code ....for how to count the time to disable the interrupts for 5 instructions..
if we want a certain loop to execute it for 2 hours...how should we calculate the time...pls explain me clearly... iam new to embedded programming...
lets assume the oscillator freq..is 8MHZ....
iam...
u can go through the efy magzine...they r conducting the courses in basics of electronics...and in other electronic fields....if u want to know some basics u can go through the electronic devices & circuits by salivahan
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.