Shop OBEX P1 Docs P2 Docs Learn Events
Design Lock? — Parallax Forums

Design Lock?

Is the new chip layout stable to the point that would justify doing preliminary circuit board designs?

I bought Diptrace and took the time to design a board around Chips schematic for the "Hot" P2 a couple of years back when it looked like a release was only months away.

That didn't pan out of course. I don't mind revisions, they are a normal part of any design, but I've gotten to the point that I won't even tell my wife what I'm working on... she just rolls her eyes.

I'm not one of you "Superstars" out here doing the testing of the latest updates to the FPGA design ( I just barely understand most of the conversations... some, not at all!)

About the only thing I am reasonably good at is motion control and circuit board layout. My P1 boards have all worked great. Doing a board design is my own way of learning enough about a chip to be able to use it later.

The P2, offers a few more challenges to layout, but I figure if I can start working on it now... I might actually understand the chip well enough to do an acceptable job by the time hardware is actually available.

I'd like to contribute SOMETHING to the P2. Having a CNC control board ready to put chips on would offer only a small outlet for a few chips, but I'd like my time investment to be meaningful this time.


What's the consensus? Wait? Roll the dice again?

Any guidelines?

Ken B.


«13

Comments

  • cgraceycgracey Posts: 14,155
    If you want to have fun, go ahead and lay out a board, but until we have a working chip, it's not absolutely sure, yet.

    Here is the currently planned pin-out:

    P2_100.png
    1559 x 1579 - 41K
  • what are the pins labeled "VIO_<N>_<N+3>"? Is the voltage of the pins variable and then those VIO pins just output a constant logic high at the configured voltage?
  • cgraceycgracey Posts: 14,155
    DavidZemon wrote: »
    what are the pins labeled "VIO_<N>_<N+3>"? Is the voltage of the pins variable and then those VIO pins just output a constant logic high at the configured voltage?

    Those are the 3.3V power supply inputs for each set of four I/O pins. If you want good ADC quality, give a filtered 3.3V to one of those.
  • cgracey wrote: »
    DavidZemon wrote: »
    what are the pins labeled "VIO_<N>_<N+3>"? Is the voltage of the pins variable and then those VIO pins just output a constant logic high at the configured voltage?

    Those are the 3.3V power supply inputs for each set of four I/O pins. If you want good ADC quality, give a filtered 3.3V to one of those.

    Oh, that makes sense. Very cool :)
  • rjo__rjo__ Posts: 2,114
    The demand for external memory is going to be universal. Hopefully, we will end up with something close to an implementation standard. In my mind, that design element is almost as important as the chip layout. I know it is on the to do list, probably somewhat after USB and before SPIN2.
  • jmgjmg Posts: 15,173
    edited 2016-04-05 05:13
    cgracey wrote: »
    If you want to have fun, go ahead and lay out a board, but until we have a working chip, it's not absolutely sure, yet.

    Here is the currently planned pin-out:

    Have any PCB trial layouts been done with this ?
    I can see the mid-placement of VccIO gives the lowest theoretical paths inside the chip, but it forces traces into pairs, and adds vias, which may raise the system impedances, as well as increasing overall PCB area.

    I think better for 2 or 4 layer PCB layout, is to reshuffle to have 4 signal pins, with alternating VccIO so you have this

    P47
    P46
    P45
    P44
    VIO_44_47
    VDD
    VIO_40_43
    P43
    P42
    P41
    P40

    Here, a single via is used per Byte of IO and the Vdd goes to an internal ring (PCB trace between centre PAD and Pins)
    3 Caps can pack into 3 corners, for Vdd decoupling top side (more can go underneath), and the 4th corner is Xtal priority,
    so Vdd cap there is slightly longer traces.

    8 signal lines can cleanly route to byte wide devices placed nearby.

    If I was doing this pinout, I would also push Static TESn to between 49 & 50, to give XTAL shielding from aggressor P31.


  • My first try at layout for this footprint brings all VIOs and Vdds to vias into the space between the pin pads and the central ground pad. I put all filter caps on the bottom with vias directly into the capacitor pads so they'll fill with solder and reduce impedance. There is room for a .1uF with a .01uF strategy for each power connection. I also filled the ground pad with small vias to a duplicate pad on the bottom of the board for possible hand soldering and low thermal/electrical impedance.

    This leaves all I/O clean to the outside, and the space vacated outside the VIOs and Vdds could allow wider traces or even guard rings for them.

    Love the Xi/Xo on the corner, and the placement of RESn on the opposite corner
  • Thanks for the pin-out Chip. This is the one I was working with.

    It's nice to see comments about the PCB layout be a part of the design process. I suppose the "Big" guys do it as well, but there are a lot of us out here that probably won't contribute anything to the internal design of the P2, but might come up with something that makes sense about it's use out in the world.

    jmg is right, a change of a pin or two could substantially improve ease of use and reliability. If it makes TREMENDOUS amounts of sense... we ( Chip ) should consider these ideas. However.... watching the "Hot" P2 grow in complexity day by day as "Just one more good idea" came into the picture should give all of use pause to think very carefully before making suggestions. Design creep has killed more than one of my own projects. I suspect that others of you out there have experienced the same.

    The ONLY hardware idea I hope Parallax will consider ( and only after the P2 is a functional chip) is the the question of whether one of the cogs and a few of the smart pins might be chopped out and compiled into a small, 6-10 pin microcontroller suitable for embedded designs. Many of my P1 designs use just a single cog. I had to design a PIC into a recent consumer product because pennies were critical. Many consumer product designs are very un-glamorous, but a few thousand (un-glamorous) chips here and there might make sense for long term profitability for Parallax, particularly if the design is mostly complete anyway. ( I don't know enough about the way the chip design process works to even know if this is a valid idea or not. )

    With that said... get the P2 done Chip, in any configuration, pinout or package that makes sense to you. We will deal with changes if necessary. ANY P2 done soon will be better than a PERFECT one in "Just a few more years. If you build it... we will come.

    KB
  • samuellsamuell Posts: 554
    edited 2016-04-08 21:56
    cgracey wrote: »
    If you want to have fun, go ahead and lay out a board, but until we have a working chip, it's not absolutely sure, yet.

    Here is the currently planned pin-out:

    P2_100.png

    Hi Chip,

    I'm not sure if the Vdd pins without matching GND pins next to them would be the best idea, IMHO. That will make it difficult to AC decouple it. Are you relying on the ground pad alone for the ground and then one would use the caps on the back of the PCB for the decoupling? Also, won't that create noise issues on such an high speed design (I normally run from decoupling through vias)?

    Don't take me wrong for the enquiring. I'm sure you've done your research, but I'm curious to why this design.

    To add, one of the reasons I've liked the P1 pinout was that all power pins were complemented. By the way, you will be doing QFN, or also QFP?

    Kind regards, Samuel Lourenço
  • evanhevanh Posts: 15,925
    0.5mm pitch pins. You're talking about something like a 1.25mm gap. That may even work in your favour I believe.
  • cgraceycgracey Posts: 14,155
    samuell wrote: »
    cgracey wrote: »
    If you want to have fun, go ahead and lay out a board, but until we have a working chip, it's not absolutely sure, yet.

    Here is the currently planned pin-out:

    P2_100.png

    Hi Chip,

    I'm not sure if the Vdd pins without matching GND pins next to them would be the best idea, IMHO. That will make it difficult to AC decouple it. Are you relying on the ground pad alone for the ground and then one would use the caps on the back of the PCB for the decoupling? Also, won't that create noise issues on such an high speed design (I normally run from decoupling through vias)?

    Don't take me wrong for the enquiring. I'm sure you've done your research, but I'm curious to why this design.

    To add, one of the reasons I've liked the P1 pinout was that all power pins were complemented. By the way, you will be doing QFN, or also QFP?

    Kind regards, Samuel Lourenço

    Yes, all ground connections are through the thermal pad on the bottom of the package.

    I know it doesn't look the most convenient for decoupling, but a few mm of trace and a via are still much lower impedance than the one mm of bond wire that's already on every pin.
  • evanhevanh Posts: 15,925
    Doh! I was thinking Vdd was Vss.
  • Cluso99Cluso99 Posts: 18,069
    Wasn't the QFP100 using 0.4mm pitch ?

    I was wondering about two suggestions to increase the die space (to get 1MB of hub)

    1. TQFP100 with 0.5mm pitch
    2. TQFP144 with either 0.5mm or 0.4mm pitch

    With a TQFP144 you would have 11 pins per side that could be used for gnd pins (connected to the ground centre pad). This would permit hobbyists to not solder the centre ground pad but still have ground connections via the pins.

    Of course, the TQFP144 would increase the pcb are used quite a bit.
    TQFP100 @ 0.4mm2 12x12mm/14x14mm(outside pins)
    TQFP100 @ 0.5mm2 14x14mm/16x16mm
    TQFP144 @ 0.4mm2 18x18mm/20x20mm (estimated as I didn't find 0.4mm specs)
    TQFP144 @ 0.5mm2 20x20mm/22x22mm

    TQFP144 is quite common. Not sure about something between 100 & 144 pin QFP packages.
  • evanhevanh Posts: 15,925
    Pins cost and die size costs. HubRAM is 35% of the die I think. Doubling HubRAM again would probably double the sell price.
  • cgraceycgracey Posts: 14,155
    The thing is, we need a thermal pad because this chip may take two watts when everything's running. Also, that thermal pad can be exploited for ground connections, allowing fewer pins (only 100) with 0.5mm pitch.
  • jmgjmg Posts: 15,173
    kbash wrote: »
    ... is the the question of whether one of the cogs and a few of the smart pins might be chopped out and compiled into a small, 6-10 pin microcontroller suitable for embedded designs. Many of my P1 designs use just a single cog. I had to design a PIC into a recent consumer product because pennies were critical.
    I'm not sure a P2 would scale down to to 6-10 pins, as it still needs to boot from additional Serial memory.
    That memory alone, can be larger than single chip MCUs, and similar in price.
    A two package solution, is not going to play well in your 'consumer product where pennies are critical' area.

    There are other companies already serving the 6-10-16 pins and 3mm or 4mm package and if you search at Digikey, you find just over 30c in modest volumes gets ADC/UART/SPI/i2c Code in Flash and In Circuit DEBUG, in a 3mm package.
    You can even get 64KF and 4KR in a 3mm QFN package, for a low price.

  • jmgjmg Posts: 15,173
    edited 2016-04-09 06:05
    samuell wrote: »
    I'm not sure if the Vdd pins without matching GND pins next to them would be the best idea, IMHO. That will make it difficult to AC decouple it. Are you relying on the ground pad alone for the ground and then one would use the caps on the back of the PCB for the decoupling? Also, won't that create noise issues on such an high speed design (I normally run from decoupling through vias)?

    I believe on the die, there are matching GND pins next to them, as well as some on-die capacitance.
    Those GND pins bond down to the thermal PAD.
    For the most aggressive decoupling, yes, you would place caps underneath, and probably use 4+ layers.
    There is a reasonable gap between Thermal PAD and Pads on the PCB.
    Some designs use via-in-PAD, where they want shortest possible connection to the ground plane capacitance.
    This also allows smaller, tighter designs.

  • Cluso99Cluso99 Posts: 18,069
    Kbash,
    The P2 will likely never be able to compete on price alone. And it will be worse at the low end.

    However, for less work, the P1 & P2 find niches where they excell in features and development and base cost is not a problem.
  • jmgjmg Posts: 15,173
    Cluso99 wrote: »
    Kbash,
    The P2 will likely never be able to compete on price alone. And it will be worse at the low end.

    However, for less work, the P1 & P2 find niches where they excell in features and development and base cost is not a problem.
    I agree, that in the vanilla MCU space, P2 will not compete on price alone, but there are many other areas besides Vanilla MCU.

    For example Test and measurement and instrumentation designers may be forced to currently use a FPGA to augment their MCU of choice, and the P2 will compete with FPGA on price, where someone needs "smart memory", and/or the Smart Pin Cells.

    If you need memory, FPGAs get costly very quickly.

  • samuellsamuell Posts: 554
    edited 2016-04-09 18:26
    cgracey wrote: »
    The thing is, we need a thermal pad because this chip may take two watts when everything's running. Also, that thermal pad can be exploited for ground connections, allowing fewer pins (only 100) with 0.5mm pitch.
    Hi Chip,

    Any chance that there will be more hobbyist friendly packages for the P2? I mean, with a bigger pitch? On the positive side, QFPs are always much better to solder than QFN's. For instance, I had to use the QFN version of the FT230X, that has a pitch of 0.5mm, and even using stencils to reflow solder those, I never got one right. There are always some pins requiring rework.

    Other package good for the P2 would be a PLCC-100 (with less Vdd pins and more GND pins - pins would have to be rearranged indeed). I know that the package is "ancient" by "modern" standards, but is can be used on a socket and would be the equivalent of the DIP-40 for the P1.

    Kind regards, Samuel Lourenço

  • VonSzarvasVonSzarvas Posts: 3,451
    edited 2016-04-09 18:26
    samuell wrote: »
    Any chance that there will be more hobbyist friendly packages for the P2? I mean, with a bigger pitch?

    I believe it was previously mentioned that the chip would initially be available in one package, and that would seem to still make economic sense.

    To support hobbyist market, you can expect Parallax and/or third parties will make breakout boards available.

    Questions like this can only be answered more finally once the product is actual, but you should have great confidence that options will be available when the time comes!





  • samuellsamuell Posts: 554
    edited 2016-04-09 19:42
    VonSzarvas wrote: »
    I believe it was previously mentioned that the chip would initially be available in one package, and that would seem to still make economic sense.

    To support hobbyist market, you can expect Parallax and/or third parties will make breakout boards available.

    Questions like this can only be answered more finally once the product is actual, but you should have great confidence that options will be available when the time comes!

    I see. However, I also thought of a bigger pitch package for industrial applications. Those are preferred for the heavy use (and abuse) and harsh/corrosive environmental conditions on an industrial setup.

    It makes sense on an initial stage to make the P2 available in one package.

    Kind regards, Samuel Lourenço
  • jmgjmg Posts: 15,173
    samuell wrote: »
    Other package good for the P2 would be a PLCC-100 (with less Vdd pins and more GND pins - pins would have to be rearranged indeed). I know that the package is "ancient" by "modern" standards, but is can be used on a socket and would be the equivalent of the DIP-40 for the P1.
    Wow, that is seriously ancient, I doubt you can actually buy PLCC-100 sockets.....
    We even re-did a PCB design recently, because the higher performance PLCC-44 socket we were using, pushed up in price and became harder to get. If even PLCC-44 is thinning out, PLCC-100 is long dead, and better done as a module.
    samuell wrote: »
    I see. However, I also thought of a bigger pitch package for industrial applications. Those are preferred for the heavy use (and abuse) and harsh/corrosive environmental conditions on an industrial setup.
    Perhaps. There may be a market there, could be looked at in 2017 ?

    Note those users avoid sockets if at all possible, so your plcc-100 is out there.

    I have seen a move for Asian vendors to offer two pitch choices, especially around 64 pins, where 0.4/0.5 and also 0.8 are offered.
    Not sure if those have a GND tab, will look for that next time.

    I think that 0.8mm is driven by wave soldering - checking with Infineon, I can see they mention a 0.8mm at 44,64,80,128 package, but 100 pin is only offered in 0.5 and 0.65

  • PLCC doesn't help hobbyists that much as it still requires a breakout board of some kind.
    I first started using PLCC-68 in a design 26 years ago. Pretty sure they have been around longer than that.
  • evanhevanh Posts: 15,925
    edited 2016-04-10 22:20
    It looks a bit like QFNs suffer from a rigidity problem. They tend to be low pin count parts. The prop2 will be the first I've seen at 100 pins.

    My fav would be a QFP with underside thermal pad. This has the advantages of cheap surface mount but still reworkable and has a little structural give.
  • jmgjmg Posts: 15,173
    evanh wrote: »
    It looks a bit like QFNs suffer from a rigidity problem. They tend to be low pin count parts. The prop2 will be the first I've seen at 100 pins.

    My fav would be a QFP with underside thermal pad. This has the advantages of cheap surface mount but still reworkable and has a little structural give.

    ??
    I think the P2 is QFP with thermal PAD, not QFN.

  • evanhevanh Posts: 15,925
    Excellent
  • cgraceycgracey Posts: 14,155
    jmg wrote: »
    evanh wrote: »
    It looks a bit like QFNs suffer from a rigidity problem. They tend to be low pin count parts. The prop2 will be the first I've seen at 100 pins.

    My fav would be a QFP with underside thermal pad. This has the advantages of cheap surface mount but still reworkable and has a little structural give.

    ??
    I think the P2 is QFP with thermal PAD, not QFN.

    That's right.
  • I did up the P2 for Protel schematic and PCB a while ago and have it designed into a pcb that I just haven't had time to finish. The PCB will be using a BeMicroCV-A9 to emulate the P2 until one day hopefully the chip is ever ever available (there's ALWAYS some little thing being added). I also have a special proto board that fits a particular case I use and to facilitate prototyping with SMD I have a whole range of adaptors that are designed to just sit on top of the matrix board and be soldered through, no pins.

    Anyway, here is a screen shot of the P2 footprint that I did alongside the 80-pin MEC connector from the CVA9. There's also an incomplete P2 prototyping adaptor as well.
    876 x 739 - 10K
    628 x 658 - 20K
Sign In or Register to comment.