NCO settings calculator - Unexpected result
I coded up a calculator to help pick WXPIN and WYPIN settings for NCO Frequency smart pin mode.
Was thinking that the WXPIN setting is totally useless because my calculator was always telling me that the best setting was WXPIN=1.
This is with P2 frequency equals 160 MHz.
But while testing, when I put in 2 MHz for desired frequency, I got 5 for the best WXPIN setting.
See this screenshot for 200 kHz result.
Seems very strange, but maybe correct?