Why can't you use the PLL when using the XINPUT instead of XTAL ?
Bean
Posts: 8,129
We have a 5MHz atomic clock standard at work that I want to use to clock the propeller.
When I specify XINPUT I can't use the PLL to get 80MHz. Is there a reason why this was done ?
For now I am just using XTAL1 even though I am inputting a sine wave into the "XI" pin. It seems to work. Is there anything wrong with doing this ?
Bean
When I specify XINPUT I can't use the PLL to get 80MHz. Is there a reason why this was done ?
For now I am just using XTAL1 even though I am inputting a sine wave into the "XI" pin. It seems to work. Is there anything wrong with doing this ?
Bean
Comments
Bean
If you look at the Propeller datasheet, it's quite explicit about using XIN as the input to the PLL from an external oscillator in the PLL modes. You have to use one of the XTALn modes plus a PLL mode (like XTAL1 + PLL16x). If you use XINPUT, you won't be able to use the PLL. You just have to leave XOUT unconnected and, as you've done, connect your external clock to XIN.
I want to incorporate Date and Time into my prop project/device. But it must hold the the data and time for months and years. The device will be battery operated so, I will use a coin cell to hold power when batteries go low or are being replaced, but I don't want time to be lost. Therefore I will need the prop to enter low power mode when turned off. I understand that if I reduce the clock frequency I will reduce power consumption. But if I normally run s 5.00MHz crystal when the device is on how can I suddenly switch to say a 32KHz crystal for low power mode. I cannot use the internal osc as it is not accurate enough... I am trying to avoid having to use an external RTC chip.