Anyway, it looks like you don't have to have the exact right frequency for 1080p to work on an HDTV.
But, you probably should pick a VGA mode for computer monitors...
You are talking about Pixel Frequency here ? ( or Line F or Frame F ?)
The only PLL in the Prop2 will be for the main clock. If you want 148.5MHz, you'll need to clock the whole chip at that frequency.
Then how can we use the P2 when multiple clocks are required, exact frequency is required, and there is not common clock divisor?
Consider this example: one cog used for Ethernet (25/50/125 MHz), another cog used for USB (12 MHz). another cog for I2S (11.0592 MHz), another cog for UART (1.8432 MHz), another cog for NTSC (3.595295 MHz), ...
Then how can we use the P2 when multiple clocks are required, exact frequency is required, and there is not common clock divisor?
Consider this example: one cog used for Ethernet (25/50/125 MHz), another cog used for USB (12 MHz). another cog for I2S (11.0592 MHz), another cog for UART (1.8432 MHz), another cog for NTSC (3.595295 MHz), ...
You cannot run GOGS at different frequencies, but in most of your examples a numeric NCO version of that freq will be ok. There is NCO reset to remove sub-freq jitter.
In cases where exact fo is needed, there is Si5351 type parts, those will rely on good external clock feeds to the streamer.
The suggested small fix to PLL M/N will help granularity & give more source choices.
The only PLL in the Prop2 will be for the main clock. If you want 148.5MHz, you'll need to clock the whole chip at that frequency.
On the P1, there was RealRandom.spin for generating true random numbers that used the counters' PLLs. Will there be any way to get true random numbers without external hardware on the P2?
The only PLL in the Prop2 will be for the main clock. If you want 148.5MHz, you'll need to clock the whole chip at that frequency.
On the P1, there was RealRandom.spin for generating true random numbers that used the counters' PLLs. Will there be any way to get true random numbers without external hardware on the P2?
Yes somewhere in this thread it is mentioned. Basically the same way as in the P1. There is a instruction for getrnd?
The only PLL in the Prop2 will be for the main clock. If you want 148.5MHz, you'll need to clock the whole chip at that frequency.
On the P1, there was RealRandom.spin for generating true random numbers that used the counters' PLLs. Will there be any way to get true random numbers without external hardware on the P2?
Yes somewhere in this thread it is mentioned. Basically the same way as in the P1. There is a instruction for getrnd?
But I thought getrnd only read a pseudo-random RNG and not a true RNG with an analog component? Or did I miss something?
Comments
You are talking about Pixel Frequency here ? ( or Line F or Frame F ?)
Then how can we use the P2 when multiple clocks are required, exact frequency is required, and there is not common clock divisor?
Consider this example: one cog used for Ethernet (25/50/125 MHz), another cog used for USB (12 MHz). another cog for I2S (11.0592 MHz), another cog for UART (1.8432 MHz), another cog for NTSC (3.595295 MHz), ...
If the P2 clock speed can approach 200 MHz, we will probably be OK in a lot of cases.
Seems to me, external clock references can be used that way.
In cases where exact fo is needed, there is Si5351 type parts, those will rely on good external clock feeds to the streamer.
The suggested small fix to PLL M/N will help granularity & give more source choices.
On the P1, there was RealRandom.spin for generating true random numbers that used the counters' PLLs. Will there be any way to get true random numbers without external hardware on the P2?
Yes somewhere in this thread it is mentioned. Basically the same way as in the P1. There is a instruction for getrnd?
Enjoy!
Mike
But I thought getrnd only read a pseudo-random RNG and not a true RNG with an analog component? Or did I miss something?
Think the smartpins were involved somehow...
I found by inserting GETRND in between cordic/hub instructions helps "randomize" it further.