Video DACs - split from Blog
Cluso99
Posts: 18,069
I only have a very basic understanding of the Video DACs.
Those of you who understand it better please explain a few things to me, as I have a few ideas that may free up more space if my basics are correct.
Then, each Video DAC could probably access any P2 I/O pin because the DAC routing would be restricted to 1 or 2 video dacs.
Obviously, Chip & Beau would need to chime in to say if this is even possible. However, with the savings made in just routing the video dacs the new way freed up so much space, this idea IMHO is likely to free up another large space.
So, could the Video DACs be shared/claimed resources, and would 1 or 2 be enough?
Those of you who understand it better please explain a few things to me, as I have a few ideas that may free up more space if my basics are correct.
- Video DACs will only drive video monitors (or TVs with the appropriate inputs: RGB, YUV...)?
- Are there any other potential uses?
- Is there likely to be any use for more than 1, 2, 3... sets of Video DACs in a P2?
- If the Video DACs were a "claimed" resource, how many Video DACs would be required (1 or 2 or more)?
Then, each Video DAC could probably access any P2 I/O pin because the DAC routing would be restricted to 1 or 2 video dacs.
Obviously, Chip & Beau would need to chime in to say if this is even possible. However, with the savings made in just routing the video dacs the new way freed up so much space, this idea IMHO is likely to free up another large space.
So, could the Video DACs be shared/claimed resources, and would 1 or 2 be enough?
Comments
IIRC Chip said the DAC themselves came almost for free, as they are under the IO areas.
So there is little gain, and these are already in the custom layout, so are 'done'.
The any-any routing was outside the ring, and was significant.
Of course.
I can see waveform/pulse generation, and ATE uses.
Perhaps even Data transmission..
IIRC Chip said FAST DAC was possible for 4 DACS per COG, for a max of 32 DACS (fast), if all COGs enabled theirs.
Mapping was on a '4 of 12' basis, in pin groups.
Not sure on any global sync of 32 FAST DACs, but some WAIT opcodes could manually sync DACs
All chip DACs are available to any COG, on a 16 cycle slower path basis
(I'm guessing ones mapped to Video, need to be unmapped, to use the slower path)
Found some info here :
http://forums.parallax.com/showthread.php/125543-Propeller-II-update-BLOG?p=1223120&viewfull=1#post1223120
If you haven't already, since you have a comms background have a play around with generating and modulating sine waves using the counters coupled to the dacs, You can have dac0 happily outputting video and two phase shifted sine waves on other channels (eg dac 2 and 3), with 9 bit control over each of the amplitude, offset and phase shift. It is simply about three instructions and a constant or two to make all this work.
Or, there is a mode where you can use both counters in a cog to add together before being sent to the dac(s), for modulation of a carrier, etc. I did a quick, successful test of transmitting to AM radio. It will be interesting to see whether we can do this for 27 MHz when we get 160~200 MHz silicon. P2 controlled RC cars here we come
I really would not like to see this. They can be used in combination for some tricks on component displays, and having a P2 able to drive multiple displays may well prove handy.
As already mentioned, you don't have to drive video signals with them either.
I was thinking that we now have a restriction of what pins can be driven by the DACs connected to respective cogs. I was thinking there could be some benefit by tying the DAC/Video generation to the pin matrix (which could provide access to any of the pins) by decoupling the video/dacs from the cogs, and this might free some more dac routing.
Obviously my understanding is flawed. I was just kind of hoping that there could be more dac routing saved if the implementation could be separated differently.
Now that is seriously cool!
Any cog can still drive any pin's DAC with a static value, updated in 16 clocks.
Each cog can drive half a side of the chip's DACs with video- or CTR-generated values which update every clock.
75 ohms is very low-impedance by DAC standards, but it's necessary to drive fast signals accurately.