ok, 24MHz HS xtal for master osc... Not using USB atm...
I'm selecting my OSC as HSPLL with PLL devision 6 and MCU clock devision _2 which acording to the datasheet gets me 48MHz...
Now, i come to checking the setup of TMR1... on the 877A i used one of the PWM's to provide a usable input source... TMR is used to calculate RPM based on software triggerging...
The bit thats confused me is internal clock FOSC...
Is FOSC the 24mhZ HS XTAL
or
Is it the derived 48MHz?
OR
Is it the onboard oscilator?
Selecting clock sources has confused the hell out of me between internal and external clocks... Acording to the datasheet, TMR1 has a 32KHz on chip oscilator... but i can only find reference to adding a 32KHz LP xtal...![]()
![]()
Also, is the TMR1 prescaler, a multiply or devide? Looks like multiply to me...
I'd like tmr1 to have a 32Khz clock from it's internals without having to add on another xtal...
Bookmarks