sinara-hw / Fastino

Fast 32-channel, 3MS/s per channel, 16bit DAC EEM card compatible with Zotino
11 stars 2 forks source link

Potential new DAC #87

Closed dtcallcock closed 3 months ago

dtcallcock commented 2 years ago

AD3542R 2ch, 16-bit 15/10 MSPS Dual SPI with DDR

I haven't done a careful side-by-side comparison. But could potentially offer a really nice 4-5x speed bump for Fastino if found suitable.

Chip still in pre-release...

gkasprow commented 2 years ago

Yes, the ADI representative was talking that they are aware of the lack of precise 16bit DACs running at ~10MHz rate.

dtcallcock commented 2 years ago

They promised a product so perhaps this is it.

jordens commented 2 years ago

It's only 7.5 or 5 MS/s if you want to use both channels.

gkasprow commented 2 years ago

Right. The clock can go up to 60MHz in the dual data line, 2 Byte, DDR mode which gives 240Mbit/s data rate and 15MS/s...

dtcallcock commented 2 years ago

Another new 'fast' SPI DAC: AD3552R

Unlike the AD3542R, this one seems to have been released.

DDR quad SPI allows 33 MUPS in 'fast' mode and 22 MUPS in 'precision' mode. The clock can go up to 66MHz on the quad data line, 2 Byte, DDR mode which gives 528Mbit/s data rate and 33MS/s. It's a 2ch chip so obviously halve that if running both channels.

Requires external transimpedence amps.

$40 compared to 2x $10 for pair of AD5542A, so twice the silicon cost but nothing crazy.

Noise seems a bit worse not specced the same way in datasheet so not obvious at a glance how much worse. Needs checking.

Power consumption is about 200mW so 32ch on a Eurocard should be manageable.

dhslichter commented 2 years ago

This is getting fast enough that one might do sinusoidal modulations (e.g. for squeezing, mode-mode coupling, etc) as well as fast transport. Would it make sense to look at trying to harmonize gateware/user API between Ultra-Fastino and Shuttler, to reduce wheel reinvention since probably similar signals and parameterizations would be used?

dtcallcock commented 2 years ago

Ultra-Fastino

Surely it should be called '2Fastino'

gkasprow commented 2 years ago

To implement it we would need much faster FPGA than ICE40. Recently I'm using 35$ ECP5 with 85k LUT in the BGA545 package which has an open-source toolchain and 259IOs. We need 6 lines per DAC, so with 16 DACs, we end up with 96lines. Double EEM would consume another 32 lines (ECP5 has dedicated LVDS banks). We can also use a smaller package.

gkasprow commented 2 years ago

if you want advanced modulation, the gateware should be a combination of Fastino and Phaser. You will need a big FPGA

dhslichter commented 2 years ago

I guess maybe the thing to do would be to have "2Fastino" (2Furiousino?) be a variant on an FMC daughtercard, and run it from the EEM FMC Carrier in the same way as Shuttler. That would cut down on the channel count but still 16 channels is probably doable.

gkasprow commented 2 years ago

FMC Shuttler has 125MS/s DACs already, but they are 14-bit ones. So we have two options:

dhslichter commented 2 years ago

I'm not trying to create more work here, so maybe this isn't a great idea. And I want to keep Shuttler as is because the higher sample rate is important for some of our applications. I was just thinking out loud about, if one were to make a Fastino variant with some of these faster SPI DACs, if it wouldn't make sense to have the design share more platform features with Shuttler (and its modular FMC nature), and thus be able to harness the gateware development for Shuttler as well.

Not trying to rock the boat here!

gkasprow commented 2 years ago

The intention of my comment was a bit different. To decide which way to go, we must first answer the question how much FPGA resources we would need. With EEM FMC carrier we have 100k LC per 16 channels. With ECP5 FPGA and updated Fastino we have 85k LUT. Lattice's LUT is not equal to Xilinx's LC of course. The second question is what use cases do you see for this board that cannot be achieved with Fastino and Shuttler.

dtcallcock commented 2 years ago

The second question is what use cases do you see for this board that cannot be achieved with Fastino and Shuttler.

My thought was that this would be a straightforward replacement for Fastino, as it seems it would really improve its utility for fast-ish transport. Probably best if big Fastino users like @hartytp weigh in on that though.

gkasprow commented 3 months ago

Let's close it. If there is a real need, WUT will design such a board.