Search Engine

Internal Timer

Add Question

94 Threads found on Internal Timer
I see in the attached image timer input frequency is CK_INT or internal CLock 136221. Is internal clock it is refering to is Sysclock or APB1 clock or any other. Please help i cannot get this information in datasheet;136222
hello, read again Susan's response on #3 prescaler set to 1/8 Fosc=8Mhz timer0 will count from 6 to 256 ( because of 8 bits size 256 => 0 !) so TMR0IF flag will be set after 256-6=250 pulses FOSC=8 Mhz internal cycle duration 4/8= 0,5 ?S periode * 8 because divider = 1/8 250* 4/8 * 8 = 250 * 0.5 * 8 = 1000 ?S => 1?S if you are lazy,
PIC32 and most other microprocessor don't have a separate RTC power supply, so the battery consumption will be much higher than with a dedicated RTC. The internal RTC isn't suitable for longer backup periods with a small battery.
Hi dann11, First you should bring up your micro controller, i.e implement necessary system clock(with internal or external oscillator) & look in to necessary peripherals like GPIO, timer, UART, SPI etc... Generally push button is connected to the GPIO, as per the GPIO input high/low you can implement your logic.. Let me know if you any specific
I want to use internal oscillator for all clocks and timers and other operations which bits should I chose? 128976 18F46k22
Hello, I try to use interrupt with pic18f14k50. (RA4 pin as IOC pin). But I cant find where I mistake. Anytime doesnt run part of ioc in interrupt routine. Same time I use timer interrupt for 1us. I use internal oscillator 16Mhz. sbit LED0 at LATC4_bit; sbit LED0_Direction at TRISC4_bit; sbit LED1 at LATC3_bit; sbit LED1_Dir
Hello everyone, I am working on pic18lf24k22. I can measure internal oscillator speed on pin RA6. But I dont know at which pin to measure PLL frequency. Do anyone know ??? Thank you in advance.
You could try to use a 74HC5555, it is a 555 with a internal divider for long time periods. If you set it to 17 bit (131,072) and use a 1 KHz oscillator you would get 2.184 hours, 1.1 KHz would be 1.96 hours. You would use the Q output to drive Bradtherad's decade counter and use the 74HC5555 non-retriggerable mode. Meaning that the 2 hour per
hello, typical reset circuit : 123705 if your power supply takes too long time to reach nominal value .... you can also use internal MCU power timer feature.. to wait correct FOSC..
Hello, I'd like to configure two timers with stmcubemx. I configure timer TIM2 as gated mode with trigger source from TIM3. timer counts impulses from ETR2 external clock. Now I'm not sure how to configure TIM3. I set 'Clock Source' as internal Clock but what should I set as trigger source so that I could recieve PWM (...)
Hi, That's why there are interrupts and internal periferal hardware. I don't know the internals of the 89s52. The easiest way for a 1s pulse is to set up a timer/counter periferal as wave generating mode. Then you should be able to choose frequency and duty cycle. Once set up it needs no additional processing power, and no code. The is a (...)
Basics: 1. set port pin(s) to output mode so you can control the LED 2. configure a timer, TMR1 would be best choice in your application because it has 16 bits so can be used to create longer delays. 3. configure the source to the timer, internal clock or external clock and set the pre-scaler to a suitable divisor. 4. (...)
You should inform what are the main requirements and constraints of this project, namely cost, features, etc... Anyway, I think that you should consider to use a dedicated RTC instead of occasionally synchronize an internal timer of the uC. Let suppose a condition on what the vehicle is parked for long inside a place where GPS signal is not str
Hi to all, I am into a project of "programmable timer" using real time clock with ds1307, for that I am working with Pic16f1847 and using Mikroc pro compiler for programming. I am using 16Mhz internal oscillator for clocking the device. I am using PICKIT3 programmer for building the code. My code is working fine with PIC18f4520 as per my applicatio
I want to create C code for measuring the time of an event without using timers of any particular micro Controller The original question should be reformulated, due to even operating under some RTOS, the system much likely would stay still dependant of an internal timer to supply the tick cadency.
i have used internal watchdog timer of At89c5131 clock at 8Mhz with X2=0; that means peripheral clock= (8/6) MHz .... by setting watch dog counter to maxium setting of 7 ... i.e. 16384*S^2 machine cycles gives watch dog time aprox 3.1 sec where as i want upto 4.5 sec is there any scheme/logic or way to attain that other than external hardware
Hello guys, Im using a pic 12f1822 set up for the internal clock at 1MHZ. So i used this delay code generator, and inserted into my C code, my problem is that i can see on the osciloscope that the clock is kind of drifting in time, i tried changing values around but im now stuc
the timer calculation of 5000 looks correct for a PIC24FJ64GB004 (similar device with USB) I use _CONFIG2(POSCMOD_HS & I2C1SEL_PRI & IOL1WAY_OFF & OSCIOFNC_ON & FCKSM_CSDCMD & FNOSC_PRIPLL & PLL96MHZ_ON & PLLDIV_DIV2 & IESO_OFF) which with an 8MHz crystal gives SYSCLK of 32MHz and to get a 1mSec interrupt the time
Hi, I am using PIC18F65k22 with internal 1MHz frequency. I am using internal RTCC using the LF-INTOSC of the PIC since the small error in the timer is not important my application and also to reduce costs and hardware. When my CPU is running, the RTCC is working accurately. However, when CPU enters the Sleep Mode, the LF-INTOSC (...)
Hey I am trying to start timer on the positive transition from external source like when I push the button, timer start counting. The code I wrote works well with internal instruction clock but not from external source. I am really frustrated for not figure out whats wrong with this. Can someone please help me out. Please?