The data sheet shows it using the pins for the external resonator that my previous reply lists. Why would the data sheet show this if you can't use it?
As Mr. T points out the SOSC is designed for 32KHz operation, so no you can't use 4MHz rez. It's in the datasheet 'SOSC(32KHz) ' on front pages...in the 'pin use' charts sosc(32 KHz)..... NOT listed in the 'clock section' at all,though the diagram does show it.. no specs in the back for SOSC either that I could see.
The easy solution is to just use a real 4MHz xtal as the 'primary' clock. Should be do-able ?
Ttelmah
Joined: 11 Mar 2010 Posts: 19765
Posted: Wed Apr 02, 2025 1:02 am
If you need to run the timer off 4MHz, you can do this _by using an external
clock generator_.
However the whole 'point' of the oscillator available on this is to do things
like handle an RTC using low power. Hence this oscillator is built to use the
least possible power (so you can run it when the main chip is sleeping),
and as such does not have the power to drive a resonator above 32KHz.
As I pointed out the data sheet says that this resonator is designed and
specified to only run very slightly each side of 32768Hz.
It is in the datasheet.
Table 38-17
Parameter 48 Ft1
Secondary Oscillator Input Frequency Range
(oscillator enabled by setting bit T1OSCEN)
32.4 to 33.1 KHz........
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum