- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Simple trick allows to avoid PSoC Cteator timings limitations in ADC clocking.
1. We need to use external clocking.
2. We need to break direct clock path to ADC, so the Creator will not know about the exact clock frequency.
It could be done with any logic element such as AND, OR, NOT etc.
In my case most suitable was Either Edge Detector.
At my setup with Master Clock 80 MHz, maximum achieved clock to ADC was 26.6 MHz. And it works, giving sample rate ~1.9 Msp/s.
Using this technique and double sampling I could digitize in real time Full HD video with 42 samples per string.
Some pictures attached.
And as usual you'll use it at your own risk.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, odissey1
Both ADCs was set @8 bit. Actual values could be estimated with Rmax, Gmax and Bmax which represents max values on each color.
Also, as you could see, no color distortion occured.
In this setup I guess dynamic range was 7 Bits/color
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have 2 interleaving ADCs or a single one?
What LCD update rate you got?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes two ADC with interleave(double-sampling). LCD works via SPI @40 MHz with 3-5 FPS(depends of graphic volume). LCD out is not the goal of the project. It's just for debug.
It is a prototype for single crystal ambilight like system.