Shop OBEX P1 Docs P2 Docs Learn Events
Prop2 Analog Test Chip — Parallax Forums

Prop2 Analog Test Chip

cgraceycgracey Posts: 14,210
edited 2016-05-06 10:47 in Propeller 2
OnSemi is putting us on their May shuttle run for the ONC18 process that the Prop2 is designed in. We were planning on doing this in July, but they got us in earlier.

Tonight I had to divert from the Verilog and make a test chip schematic that Treehouse will lay out in the next week from blocks they've already finished.

The test chip will contain two I/O pins with all the control signals brought to other digital I/O pins. The crystal oscillator pads which contain the RC oscillator, PLL and crystal inverter w/caps is on there, too. The chip also contains the RESET pin, which has a deglitcher and a 20ms one-shot.

We're going to need to use an LQFP-80 package for this, since there is NO logic inside this thing and every internal digital signal is brought to either an INPUT or an OUTPUT pad.

Here's the pinout:

Prop2_Analog_Test_V1.png

It occurred to me to put ~60k-ohm pull-downs on all the input pins, so that we can use the thing without needing to hook it all up. Also, I didn't want those FB0..FB3 lines to float high and blow the fuses.

We'll make a PCB for this to plug into the -A9 board, so that we can confirm the I/O pins work properly under smart pin control.

I suppose these chips will be back in July.
854 x 852 - 24K
«13

Comments

  • Exciting news!
  • Excellent!!!
  • evanhevanh Posts: 16,045
    Early is good. That's a lot of mode pins! I presume the 8-bit DAC is feed from these. What are the CFG pins?
  • Fabulous! :)
  • Oh wow. I didn't anticipate mass testing of this. Very exciting news.
  • VERY GOD NEWS!
  • jmgjmg Posts: 15,175
    cgracey wrote: »
    The crystal oscillator pads which contain the RC oscillator, PLL and crystal inverter w/caps is on there, too. The chip also contains the RESET pin, which has a deglitcher and a 20ms one-shot.

    We're going to need to use an LQFP-80 package for this...

    ? Err, why not use the final package here ? (Exposed Pad TQFP 100?) ?
    This PAD ring is done, that way you can check the down bonds and any Analog Tests will be on the exact same ground plane & bonding as a final device.

  • jmgjmg Posts: 15,175
    cgracey wrote: »
    Prop2 Analog Test Chip...
    The test chip will contain two I/O pins with all the control signals brought to other digital I/O pins. The crystal oscillator pads which contain the RC oscillator, PLL and crystal inverter w/caps is on there, too. The chip also contains the RESET pin, which has a deglitcher and a 20ms one-shot.
    To clarify, this has ADC/DAC but minimal Core Digital functions ? (Smart pins are still in the FPGA )

    The digital input buffers can be/are disabled in Analog Modes ?

    Will this be able to test minimum Iccs of these blocks ? ie unbonded pins default (via reset?) to disabled (and non floating ?)

  • What is the resolution of the prop 2 ADCs? I hope 12-bits or more. For me, this is the deciding factor for investing in the prop 2.
  • cgraceycgracey Posts: 14,210
    tryit wrote: »
    What is the resolution of the prop 2 ADCs? I hope 12-bits or more. For me, this is the deciding factor for investing in the prop 2.

    It's hard to say, until we try it out, but I'm hoping for at least 12 bits. It's delta-sigma, so it may go quite high in resolution. I think it will have very high precision, but probably not as high accuracy.
  • Are you still hoping to run that test chip soon, Chip? That'd give a good clue
  • jmgjmg Posts: 15,175
    There are two parts to delta-sigma - the digital part(s), and the analog part(s).

    When it is all on one die frame, the Analog crosstalk noise depends on what else the Logic is doing, and what loads it drives.
    This is why some MCUs suggest going into IDLE to get the best ADC results.

    eg
    10b ADC with on-chip switches, is only 3.3mV of noise on Vcc/Gnd
    12b needs better than 805uV
    - trying to hit those numbers, on a working MCU, gives an indication of the problem.

    If you externally buffer the SDM output, to clean rails, you can do better.
    Differential In, referenced to an external low noise reference could help too.

    Comes down to what external parts you want to add, to help push down those noise-floors, and what external parts the P2 supports ?
  • cgraceycgracey Posts: 14,210
    jmg wrote: »
    There are two parts to delta-sigma - the digital part(s), and the analog part(s).

    When it is all on one die frame, the Analog crosstalk noise depends on what else the Logic is doing, and what loads it drives.
    This is why some MCUs suggest going into IDLE to get the best ADC results.

    eg
    10b ADC with on-chip switches, is only 3.3mV of noise on Vcc/Gnd
    12b needs better than 805uV
    - trying to hit those numbers, on a working MCU, gives an indication of the problem.

    If you externally buffer the SDM output, to clean rails, you can do better.
    Differential In, referenced to an external low noise reference could help too.

    Comes down to what external parts you want to add, to help push down those noise-floors, and what external parts the P2 supports ?

    Each four I/O pins have their own 3.3V power and ground connections, just so that the analog can be high quality. The only toggling in the ADC is the differential clock signal, which only goes to the edge of the block.
  • cgraceycgracey Posts: 14,210
    Tubular wrote: »
    Are you still hoping to run that test chip soon, Chip? That'd give a good clue

    Yes, there is a May shuttle that we hope to be on.
  • jmgjmg Posts: 15,175
    cgracey wrote: »
    Each four I/O pins have their own 3.3V power and ground connections, just so that the analog can be high quality. The only toggling in the ADC is the differential clock signal, which only goes to the edge of the block.

    Are those isolated leads ? I thought the grounds all bused, and bonded to the inner PAD ring ?
    If the 3v3 pin are separate, they could be separately filtered for better noise floor.

    All this is a good argument for using the same package as the final device for these tests.

    Can the Signa-Delta optionally use external parts, to improve performance - eg an external integrator ?
  • cgraceycgracey Posts: 14,210
    jmg wrote: »
    cgracey wrote: »
    Each four I/O pins have their own 3.3V power and ground connections, just so that the analog can be high quality. The only toggling in the ADC is the differential clock signal, which only goes to the edge of the block.

    Are those isolated leads ? I thought the grounds all bused, and bonded to the inner PAD ring ?
    If the 3v3 pin are separate, they could be separately filtered for better noise floor.

    All this is a good argument for using the same package as the final device for these tests.

    Can the Signa-Delta optionally use external parts, to improve performance - eg an external integrator ?

    The GIO (ground for I/O) connections bond from the die down to the thermal pad on the final chip. They are not electrically connected to other GIO's and GND on the metal layers. They only meet at the low-Z pad.

    The test chip brings out the two I/O pads' GIO and VIO to unique pins, as there is no thermal pad to down-bond to.

    The delta-sigma ADC will work best using its own internal circuit, where parasitics are minimized and everything is tightly controlled.
  • jmgjmg Posts: 15,175
    cgracey wrote: »
    The GIO (ground for I/O) connections bond from the die down to the thermal pad on the final chip. They are not electrically connected to other GIO's and GND on the metal layers. They only meet at the low-Z pad.
    OK, so quietest 'analog' ground, would be a via right under the bond-point ?

    cgracey wrote: »
    The test chip brings out the two I/O pads' GIO and VIO to unique pins, as there is no thermal pad to down-bond to.
    Oh, ok, so the test chip is quite different from the final die, bonding wise.
    I was not expecting that.
    cgracey wrote: »
    The delta-sigma ADC will work best using its own internal circuit, where parasitics are minimized and everything is tightly controlled.
    I guess someone can always use the counters, as SDM-Digital, if they want to externally place Integrator+D.FF, for higher performance ?

  • cgraceycgracey Posts: 14,210
    The delta-sigma ADC is an internal circuit, but you could make an external one by having the pin clock its I/O and output in inverter mode, where the input of the inverter is the adjacent pin.
  • cgracey wrote: »
    It's hard to say, until we try it out, but I'm hoping for at least 12 bits. It's delta-sigma, so it may go quite high in resolution. I think it will have very high precision, but probably not as high accuracy.

    Then I guess that the design is custom made (your own design) and you are not using any predesigned "IP block" from OnSemi or Treehouse otherwise you would have complete specs about the number of bits of resolution, INL, DNL, etc...

    I remember ADC was one of the five requirements from high volume customers. And I suppose that some of them will ask for at least 12 bits while others may not be happy if the ADC have less than 16 (or 20 bits) don't know. Also some of them will don't care about linearity, INL or DNL, while others would need high linearity to use them for precision measurement. Did you gather that information from them before?

    I think is a pitty that we spend so much time on the digital part when maybe the analog part is what makes the propeller different from everything else.
  • cgracey wrote: »
    It's hard to say, until we try it out, but I'm hoping for at least 12 bits. It's delta-sigma, so it may go quite high in resolution. I think it will have very high precision, but probably not as high accuracy.

    I know it's expensive layout-wise to make capacitive structures on ICs, but it may be worth trying to add some on-die capacitors to the power rails of the analog components. Minimizing the impedance of the buffering on the power rails could mean a few more bits of precision (especially when doing digital processing at the same time). Can under-utilized routing layers be re-purposed to form capacitors?
  • cgraceycgracey Posts: 14,210
    That pad layout is quite dense and there's no room for caps. That's not a problem, though, because the switchng currents are extremely low in the ADC, while the continuous current is about 1.5mA.
  • No room for capacitors ?! Paris_Tuileries_Garden_Facepalm_statue.jpg
  • TubularTubular Posts: 4,705
    edited 2016-05-17 23:45
    Well, there must be room for the sigma delta integrating cap, right?

    What size of cap (pF) can you make on the die anyway? I've always assumed since other micros fail to include the crystal caps, that achieving 15-22 pF takes a fair bit of area
  • cgraceycgracey Posts: 14,210
    edited 2016-05-18 00:31
    Tubular wrote: »
    Well, there must be room for the sigma delta integrating cap, right?

    What size of cap (pF) can you make on the die anyway? I've always assumed since other micros fail to include the crystal caps, that achieving 15-22 pF takes a fair bit of area

    Right. Maybe we could get 20pf of bypass in each I/O pad. At 1.5mA, it wouldn't do much. Where caps are needed for the analog sections, there are plenty, per the schematic. There's just no room left for bypass.
  • jmgjmg Posts: 15,175
    Tubular wrote: »
    Well, there must be room for the sigma delta integrating cap, right?

    What size of cap (pF) can you make on the die anyway? I've always assumed since other micros fail to include the crystal caps, that achieving 15-22 pF takes a fair bit of area

    You do not get large caps on-die, but anywhere that metal is widened to lower resistance can give a free cap, and Chip has said they have already done a lot of that.

    The Caps you get on die, are not really going to improve ADC area noise, but they will 'take the edges off' supply inductance effects, with fast clocking edges, and they also help EMC by giving sorter paths for the highest frequency currents.

    Normally, any truly spare space is used as caps, and I'd expect P2 to do the same.

    I think some parts do include bulk MLCC caps on the lead frames, and there you can get >> 1nF
  • cgracey wrote: »
    Right. Maybe we could get 20pf of bypass in each I/O pad. At 1.5mA, it wouldn't do much. Where caps are needed for the analog sections, there are plenty, per the schematic. There's just no room left for bypass.

    20pf bypass is significant at the frequencies where the power/ground pin impedance is large. A quick check with a couple of papers suggests a QFP has a pin impedance on the order of 5nH. If the P2 is running at 100MHz, and you apply the rule of thumb that to make a nice square wave you have harmonics at 100 times the fundamental frequency, the pin impedance is 50 ohms. At these frequencies the 20pF capacitor has an impedance of 5 ohms. If the P2 is running at 200MHz, then the pin is 100ohms and the 20pF cap is 2.5ohms. This may be significant enough to give you some more bits of precision when receiving noise from other parts of the P2.

    Can capacitors be made using two interconnect layers, rather than having one of the plates be the bulk silicon?
  • jmgjmg Posts: 15,175
    Marcus76 wrote: »
    Can capacitors be made using two interconnect layers, rather than having one of the plates be the bulk silicon?
    Of course, anything with parallel surfaces is a capacitor :)
  • Marcus,

    You can apply cap in several different ways .... layer to layer is most common, but fringe capacitance can actually be greater using interdigitated fingers on the same layer, and then taking that interdigitation a step further by applying the same interdigitation top to bottom on successive layers. Staggering of the top to bottom adjacent layers can increase the effect even further. Fringe capacitance will tend to have slightly greater capacitive effects than a standard parallel plate capacitor because of higher densities at the plate boundary edge.
  • jmg wrote: »
    Of course, anything with parallel surfaces is a capacitor :)

    I know, but stuff I read (admittedly with near-zero expertise) seems to imply that IC capacitors are made using the bulk silicon as one of the plates, for some reason. If you have interconnect layers to solve thorny routing problems in certain places, you might have a lot of interconnect area unused in other places. It seems like the caps would be much cheaper layout-wise if that were the case.
  • cgraceycgracey Posts: 14,210
    Highest-density caps can always be made by NMOS devices with source and drain to GND and the gate being the cap node (cap to GND). The complementary arrangement can be made using a PMOS with drain and source to VDD and the gate being the cap node (cap to VDD). Those are the only kinds of caps used in the Prop2. For analog sections where low noise is important, local power supplies are fed via 200-ohm / 16pF filters. They suffer a slight voltage drop under load, but quiet things way down, like the VCO that is the heart of the PLL.
Sign In or Register to comment.