Reply by March 22, 20172017-03-22
On Tuesday, October 31, 2006 at 5:27:42 AM UTC+5:30, Will Dean wrote:
> "Brad Smallridge" <bradsmallridge@dslextreme.com> wrote in message > news:12kcsm5kh166g4a@corp.supernews.com... > > > > Pin count and input/output flexibility. > > Pin-count is a good one - I hadn't thought of that. Does the Virtex design > track nicely to the 3M connectors? > > Cheers, > > Will
Reply by Gabor October 31, 20062006-10-31
Brad Smallridge wrote:
[snip]
> > Another vote for National Chips if the highest frequency at SDR is 57MHz. > The Camera Link standard should go to 80MHz. >
Actually 85 MHz. x 7 = 595 Mb/s per link pair. I've used the National chips at this frequency for some time now and have not found that I need to adjust skew, however we generally use fairly expensive cabling to keep the pair-to-pair skew low. I would think the pin count is the only good reason not to use the National chips. Also make sure you have adequate ESD protection. I generally don't like running external cables directly into expensive ball-grid arrays (doubly expensive to repair). Just my 2 cents, Gabor
Reply by Rob October 30, 20062006-10-30
"Will Dean" <will@nospam.demon.co.uk> wrote in message 
news:4546910e$0$631$bed64819@news.gradwell.net...
> "Rob" <robnstef@frontiernet.net> wrote in message > news:iwU0h.4200$Ka1.3743@news01.roc.ny... >> >> I know you addressed this to Brad, but my answer would be all of the >> above. I would counter your question with: if your design necessiates an >> FPGA, and that FPGA is capabable of performing the deserialization, why >> would you use the National chips? > > Because it's easier. Which means that I can do something else, which > perhaps hasn't been done by someone else already...
Setting up the deserilizer within an FPGA, if you can use the mfg's module (which you almost always can when it comes to cameral/channel link), takes about 10 minutes--would you consider that easy? And if by chance you have to build your own, and you understand the hardware, it doesn't take that much longer. And in the end you have the tool in your box you can pull out for the next job (reuse = no time).
> >> Sure, if you have to build your own, it can get tricky with setup/hold >> times, jitter, skew, and clock phasing--but what's life w/o challenges?
> Hmm. There's a hint of 'when did you stop beating your wife?' to that.
I do have a large quantity of white muscle t-shirts with food stains on them!!
> Maybe I can parry by saying that I see the real engineering challenge as > to find the best way to do things, which doesn't necessarly mean > 'gratuitously difficult'. Though I'll concede I do like to go for at > least a little bit of gratuitous difficulty on every new project.
The real benefit, at least in my world (image processing), is that I always have an FPGA on the board which can do the interface; and my company is always looking to cut board costs since they sell 10's and sometimes 100's of thousands of units.
> > If I built my own cameralink, and the camera mysteriously went out of sync > by one pixel every three weeks, I'd really regret it!
I believe statistically speaking it is almost impossible for an FPGA to mysteriously go out of sync--there's always a logical reason. I work with a group that tests these ports by running massive amounts of continuous data through these interfaces--they all end up being solid. I have never run into a mysterious missing pixel. Furthermore, with the FPGA you can automatically adjust for skew in the system. The National chips can't do this. And Brad does bring up another great point about pin count. Take care, Rob
> > Will > >
Reply by Will Dean October 30, 20062006-10-30
"Brad Smallridge" <bradsmallridge@dslextreme.com> wrote in message 
news:12kcsm5kh166g4a@corp.supernews.com...
> > Pin count and input/output flexibility.
Pin-count is a good one - I hadn't thought of that. Does the Virtex design track nicely to the 3M connectors? Cheers, Will
Reply by Will Dean October 30, 20062006-10-30
"Rob" <robnstef@frontiernet.net> wrote in message 
news:iwU0h.4200$Ka1.3743@news01.roc.ny...
> > I know you addressed this to Brad, but my answer would be all of the > above. I would counter your question with: if your design necessiates an > FPGA, and that FPGA is capabable of performing the deserialization, why > would you use the National chips?
Because it's easier. Which means that I can do something else, which perhaps hasn't been done by someone else already...
> Sure, if you have to build your own, it can get tricky with setup/hold > times, jitter, skew, and clock phasing--but what's life w/o challenges?
Hmm. There's a hint of 'when did you stop beating your wife?' to that. Maybe I can parry by saying that I see the real engineering challenge as to find the best way to do things, which doesn't necessarly mean 'gratuitously difficult'. Though I'll concede I do like to go for at least a little bit of gratuitous difficulty on every new project. If I built my own cameralink, and the camera mysteriously went out of sync by one pixel every three weeks, I'd really regret it! Will
Reply by Brad Smallridge October 30, 20062006-10-30
> You already need to use an entire IO tile for each output pair, as you > are using a differential IO standard. As such you have two OSERDES > available for each pair. While you could use them together to get DDR > mode (as you have done), I would suggest using them cascaded in SDR x7 > mode. The slowest speed grade of V4 will easily support 280MHz clock, > and IO, and no additional logic is required to determine pixel > boundary. This will sork up to the max clock rate of the DCM, which is > (IIRC) about 400MHz, or about a 57MHz pixel clock.
I would be willing to give this a try again if you tell me you have had good success with SDR. I believe when I tried SDR, I needed two DCMs to generate the high frequency and was having data corruption on receiving. I might have been doing something wrong. Another vote for National Chips if the highest frequency at SDR is 57MHz. The Camera Link standard should go to 80MHz.
> > > Regards, > Erik. > > --- > Erik Widding > President > Birger Engineering, Inc. > > (mail) 100 Boylston St #1070; Boston, MA 02116 > (voice) 617.695.9233 > (fax) 617.695.9234 > (web) http://www.birger.com >
Reply by Brad Smallridge October 30, 20062006-10-30
>> I was unable, however, to use a double edge clock circuit >> on the output. The OSERDES does not have a 7x option and >> when you try 8x you get 8x data bits no matter how you >> drive the clkdiv input. > > Hi Brad, (You can now spend all evening wondering where I know you > from...)
Mutual client, I suppose.
> I can't shed any light on your Virtex problems, but I am interested as to > what leads you to bother with trying to do CameraLink with an FPGA, rather > than just using the appropriate NatSemi ChannelLink chip (I'm too lazy to > look up the number, but you know the one I mean.)
Pin count and input/output flexibility. I have used the National Chips before.
> When everything about CameraLink is designed around those interface chips, > it has always seemed to me like unnecessarily hard work to reimplement > their behaviour elsewhere. > > Is it cost, space or a sense of adventure which pushes you away from them > in this design?
Yes.
> Cheers, > > Will >
Reply by Erik Widding October 29, 20062006-10-29
Brad Smallridge wrote:
> Say, I was getting good results from a double edge clock > input circuit and a single DCM generating 140 MHz (40MHz > xclk). The trick was to select a shifted output depending > on the fast clock. > > I was unable, however, to use a double edge clock circuit > on the output. The OSERDES does not have a 7x option and > when you try 8x you get 8x data bits no matter how you > drive the clkdiv input. > > Do you have anysuggestions here?
You already need to use an entire IO tile for each output pair, as you are using a differential IO standard. As such you have two OSERDES available for each pair. While you could use them together to get DDR mode (as you have done), I would suggest using them cascaded in SDR x7 mode. The slowest speed grade of V4 will easily support 280MHz clock, and IO, and no additional logic is required to determine pixel boundary. This will sork up to the max clock rate of the DCM, which is (IIRC) about 400MHz, or about a 57MHz pixel clock. Regards, Erik. --- Erik Widding President Birger Engineering, Inc. (mail) 100 Boylston St #1070; Boston, MA 02116 (voice) 617.695.9233 (fax) 617.695.9234 (web) http://www.birger.com
Reply by Rob October 28, 20062006-10-28
Will,

> Is it cost, space or a sense of adventure which pushes you away from them > in this design?
I know you addressed this to Brad, but my answer would be all of the above. I would counter your question with: if your design necessiates an FPGA, and that FPGA is capabable of performing the deserialization, why would you use the National chips? It might be more involved than letting the National chips do it for you; but the big players in the FPGA market have prebuilt modules fitted to the most standard Camera Link/Channel Link type interfaces. Sure, if you have to build your own, it can get tricky with setup/hold times, jitter, skew, and clock phasing--but what's life w/o challenges? Best regards, Rob "Will Dean" <will@nospam.demon.co.uk> wrote in message news:4543c522$0$624$bed64819@news.gradwell.net...
> "Brad Smallridge" <bradsmallridge@dslextreme.com> wrote in message > news:12k72t98o3ahrcc@corp.supernews.com... >> >> I was unable, however, to use a double edge clock circuit >> on the output. The OSERDES does not have a 7x option and >> when you try 8x you get 8x data bits no matter how you >> drive the clkdiv input. > > Hi Brad, (You can now spend all evening wondering where I know you > from...) > > I can't shed any light on your Virtex problems, but I am interested as to > what leads you to bother with trying to do CameraLink with an FPGA, rather > than just using the appropriate NatSemi ChannelLink chip (I'm too lazy to > look up the number, but you know the one I mean.) > > When everything about CameraLink is designed around those interface chips, > it has always seemed to me like unnecessarily hard work to reimplement > their behaviour elsewhere. > > Is it cost, space or a sense of adventure which pushes you away from them > in this design? > > Cheers, > > Will > > >
Reply by Will Dean October 28, 20062006-10-28
"Brad Smallridge" <bradsmallridge@dslextreme.com> wrote in message 
news:12k72t98o3ahrcc@corp.supernews.com...
> > I was unable, however, to use a double edge clock circuit > on the output. The OSERDES does not have a 7x option and > when you try 8x you get 8x data bits no matter how you > drive the clkdiv input.
Hi Brad, (You can now spend all evening wondering where I know you from...) I can't shed any light on your Virtex problems, but I am interested as to what leads you to bother with trying to do CameraLink with an FPGA, rather than just using the appropriate NatSemi ChannelLink chip (I'm too lazy to look up the number, but you know the one I mean.) When everything about CameraLink is designed around those interface chips, it has always seemed to me like unnecessarily hard work to reimplement their behaviour elsewhere. Is it cost, space or a sense of adventure which pushes you away from them in this design? Cheers, Will