sinara-hw / sinara

Sayma AMC/RTM issue tracker
Other
42 stars 7 forks source link

Sayma: Remove CAL ADC #584

Closed hartytp closed 6 years ago

hartytp commented 6 years ago

While we're thinking about changes to Sayma, does anyone still really want the CAL ADC? Or, can we scrap it?

gkasprow commented 6 years ago

It can be added when needed to the AFE...

hartytp commented 6 years ago

Good point. That might be a better place for it anyway (means that it's easy to fix any issues we find without having to respin Sayma RTM).

dhslichter commented 6 years ago

Agreed that the AFE is the place for it. However, I would like to have it available as an option still, so we should plan for it on the AFE. It can be I2C on the AFE, honestly, super simple to implement.

hartytp commented 6 years ago

@dhslichter

dhslichter commented 6 years ago

I had not realized the power detector had been scrapped; the idea for this ADC would be to monitor power drifts of the AFE output, for example. Anyway, I agree that this all should go in the BaseMod/MixMod discussion, and the point here is that we don't want it on the Sayma RTM board proper.

hartytp commented 6 years ago

@dhslichter anyway, if you do really want to keep the power detector and the ADC, I still don't think there is much point using a 24-bit one as we currently do. A cheap I2C AC on the AFE would do the job just fine...

jbqubit commented 6 years ago

the idea for this ADC would be to monitor power drifts of the AFE output, for example.

AFAIR the rationale for scrapping the power detector is that external power amplifier drift is expected to dominate. Adding ADC on AFE is just a variation on the same theme.

hartytp commented 6 years ago

@jbqubit There are two decoupled issues here:

  1. Do we want a 24-bit multi-channel ADC on Sayma RTM
  2. Do we want a power detector on the AFE

This issue is specifically about (1), (2) should be a separate issue.

My argument is that (1) we do not want a 24-bit ADC on Sayma RTM. I don't think it's that useful (it's very slow and multiplexed between the channels which is annoying) and I do not think that a clear use case for it has been articulated. If we need ADCs to read out signals from the AFE mezzanines, such as power detectors etc, then I think it'd be better to put an ADC on the AFE and route digital signals, rather than routing analog signals around. There should be plenty of GPIO in the next revision for this kind of thing. This also allows us to match the bandwidth/noise of the ADC to the application (e.g. a faster, lower-resolution ADC would be more appropriate for a power detector).

FWIW: (2) for the reasons articulated previously, I still don't think it's particularly useful to have an RF power detector on the AFE. If you want leveling then place a power detector (can be a thumb-nail sized PCB) near the ion trap and connect that to the MSPS ADC on the AFE to do proper in-loop control of the RF amplitude. However, it's not something that I feel that strongly about and I don't want to have a lengthly discussion about a relatively unimportant point; paint the bike sheds fluorescent green if you must, just get the damn thing built!

gkasprow commented 6 years ago

removed.