With the new P2 Edge has the hubset value changed?
iseries
Posts: 1,492
in Propeller 2
Since the new P2 edge is not connect to a crystal should the XPPPP value always be 0pf?
And all frequency should be ok without fear of jitter.
MIke
Comments
The Xtal pF are not needed anymore, but I doubt you'd notice the difference in a pF setting, as there is a CMOS gate driving XIN.
Yes, 0pF would be the optimal setting.
Mike,
If you're using Spin2 then the preferred way is to use the compile time constants, eg The below will preset to 0 pF:
If you want to do runtime changes with
clkset()
then decoding the compiledclkmode_
constant works out really well for a generic routine to discover board config. Note, it's not_clkmode
norclkmode
. I've got more detail if you're interested.FlexC has the equivalent of the same for board config. Place an
enum
in the top level source file, eg:And FlexC can import the same Spin source for runtime clkset()ing.