With the new P2 Edge has the hubset value changed?
iseries
Posts: 1,512
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:
CON _xinfreq = 20_000_000 _clkfreq = 160_000_000 ...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_clkmodenorclkmode. I've got more detail if you're interested.FlexC has the equivalent of the same for board config. Place an
enumin the top level source file, eg:enum { _xinfreq = 20_000_000, _clkfreq = 160_000_000, };And FlexC can import the same Spin source for runtime clkset()ing.