This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Review request for a stacking PCB

Hello,

I'm trying to develop a wearable stacking form-factor where number of boards can be assembled in a deck: MCU, sensors, actuators, power supplies, etc. Size of the boards (cards) is kind of important for wearables, so for the proof of concept I've started with a tiny 20x20 mm PCB and nRF52832 QFN48, samples of which were included into DK and PPK (thanks!).

May I ask you to review the preliminary design of the board prototype, please?

The board has 4 layers, 1.6 mm thick.

Antenna

Of course, the most challenging part is the RF. For such a small PCB with number of other boards beneath it I don't expect it performing high, but there're seem not too many options. I've had a chance to evaluate the Johanson 2450AT42E010BE zero clearance antenna on the board of about the same size (the rayBeacon), and it works. With tiny PCB footprint it looks like a clear winner among other possible options. On the dark side, it's tricky to tune and still suffer from narrow band due to very little ground area.

For the first prototype it might be reasonable to start with a printed antenna which I could tune by myself. One option is a monopole trace like that one on the nRF51 smart beacon. However, I've decided to go the harder way and adopted the well known MIFA. As far as I understood how it works, the inductance part of the F antenna is conveniently fixed parallel to the ground plane and seem requires no tuning, and the meandered trace can be easily cut to match the impedance. It's length is 35mm as shown on the picture below. Please also note, there is also one series component.

The antenna questions:

  1. Which one of the three is better - zero clearance chip antenna, monopole trace, the MIFA? Please note, the chip antenna means substantially bigger ground plane.
  2. Any advantages to keep the series component for the trace antenna, or can it be safely dropped?
  3. Should the board size of 20x20 mm be considered as too small for the radio? How much will it help if the board size will be increased to 24x24 mm?
  4. The very end of the meandered trace miss the complimentary ground plane on the top side. Is it an issue?

Of course, any other notes will be appreciated.

Other traces

On the north of the board there are the two Hirose DF40 connectors. Placed on the top and on the bottom sides and linked each other, they're used to attach series of similar boards into a deck and act like a bus. Here is the pinout:

First concern is the NFC. The NFC traces are routed to the pins 29 and 30. Main idea about them is to have a dedicated board for the antenna. It was also planned to put tuning capacitors to the antenna board too. Unfortunately, the traces are walking over SWD traces, in particular SWDCLK and SWDIO. Passing NFC from board to board is also not the best idea either. But what do you think?

Another question is about the pins 40 to 43. Accordingly to the board design the pins must be reserved for SPI. But per section 4.3 GPIO Usage Restrictions they must be low frequency I/O. The nRF52832 doesn't support high-speed SPI, but should I be concerned about using the pins for 8MHz SPI?

Generally speaking, I'm not too happy about the "beard" from those vias around the DF40 - just trying to avoid HDI and keep fabrication cost low. Maybe there is something that I've missed about the connectors, and which terribly breaks the design?

I've attached design files. The silklayer is useless, but the *Fab files have all components and values referenced.

Thank you!

Mishka

rasytack-thirtytwo.zip

  • Hi Andreas,

    thanks a lot for the review! Very appreciate it Metal 

    Going to put viability of the concept to the test and build some hardware.

    Sincerely yours,
    Mishka

  • Hi Mishka,

     

    Happy to help. Let us know if you need further assistance.

     

    Best regards,

    Andreas

  • Hi,

    it was a while since my last message in this thread. For that period I've assembled and tested the prototype - thanks for your support! Unfortunately (and to be honest it was expected), the mechanical stability of the prototype assembly is far from perfect. The DF40 connector can't hold the boards firmly, and the single one standoff is not enough to compensate for that.

    Also, while designing other boards where the module should go, I've figured out the number of signal lines in the socket should be increased. A 40-pins connector would allow to increase it up to 28 I/O thus cover most of the needs, while other 12 pins could be dedicated to ground and four power rails, including battery and VBUS

    Such, the PCB has got complete redesign. The board form-factor is now very close to the TinyDuino which I've discovered shortly after ordering the prototypes (whoa! wish I'd know it before). It has four mounting holes of smaller size. However, the holes make it impossible to fit a PCB trace antenna into the board. To address this the board has got ultra-small Johanson 2450AT07A0100 mid-plane chip antenna, but I'm not quite happy how the waveguide is routed. I'd appreciate if you could take a look at it, please.

    Another concern is the signal routing. To fit the antenna I've turned the nRF52832 by 90º and many signal lines got crossed, notably, the NFC. To prevent crosstalks there is the solid ground on the second layer, while most of the routing is on the top and 3rd layers.

    Also, the design assumes all the boards in the series to have the same interface, so I've put SPI on the pins 20, 22, 23, and 27 of the nRF52832, and the very last one pin may be a no no. Since there's not too much space for maneuvers the backup plan is to drop the SWD SWO support and assign one of SPI pins to the leg 21 / P0.18. Of course, your notes on this (and not only) will be highly appreciated!

    I've attached new gerbers and PDF scheme to this message (thirtytwo-20201224.zip)

    For the quick and rough overview here is the screenshot (red - top layer, magenta - 3rd, green - bottom):

    Thank you in advance, and Merry Christmas!

    Mishka

    thirtytwo-20201224.zip

  • Hi Mishka,

     

    I would say that this looks quite good considering the size of the board, and the challenges that leads to.

     

    The transmission line is fine, it might not be perfectly 50 ohm, but you need to match the antenna anyway, and can correct for the transmission line when doing this. Regardless, this will work just fine. The antenna also is done just as described by the manufacturer, and has the required matching components and grounding.

    With regards to signal routing, you could tidy this up a bit by re-assigning GPIOs (not NFC/SWD) to pins on the same side of the connector, as on the nRF52832. Of course this is only possible if you do not have any assignment requirements for compatibility/the connector. This probably only applies to the NFC and SWD lines though, so it should not be too bad, especially considering the internal plane separating the signal layers.

    Pin 27 (P0.22) is recommended for 'low frequency, standard drive' as certain radio performance parameters can be affected if there is high frequency toggling (>~100kHz) during radio activity. Using it for CSN should probably be better than SCK,MOSI or MISO though. SWO is optional, and entirely up to you to decide whether you need, but it sounds like a safe option. Going with SPI on pin 27 could be fine also, especially if you do not expect a lot of traffic. How much performance is affected when there is SPI traffic during radio on is hard to say, you will just have to test it, you should double-check RX sensitivity and blocking, and TX modulation characteristics and spur.

     

    Other than that this should work fine, as mentioned the design is generally good.

     

    Best regards,
    Andreas

  • Hi Andreas,

    thanks a lot for the detailed response! It's really hard to overestimate how these DevZone reviews are cool!

    You absolutely correctly noticed - the connector pinout is fixed for compatibility with other modules. There are some predefined pins for I2C, SPI, USB, analog pins, and some other stuff. I can mix that in any order at the moment, but the challenge is to fit an arbitrary MCU into the board. The nRF52832 paves the way (I have a dozen of spare ICs in my box so the choice was obvious), but on my todo list I also have the nRF52833, and also thinking about nRF5340 which can be a tough nut to crack.

    The pin 27 (P0.22) is dedicated to the SPI chip select role indeed. There are a number of free pins left in the MCU, but unfortunately all of them are the low-drive pins. It means that in any case at least two low-drive pins must be connected to the DF40 extension socket, and it just happens the SS/CSN is one of them.

    But there is also the pin number 29 (P0.24). Currently it's floating, but I could tie it to the ground from both sides (i.e. connect to both the exposed pad and the outer GND pour) so it could act like a shield for the radio. This won't improve things inside the chip, but maybe somewhat decrease EMI from the traces. How do you think, is it worth it?

    Considering the fact that the pin 27 (P0.22) will be occupied in any case, the Chip Select looks like not the worst option. It seems reasonable to leave it as is, yet this will keep the SWO too. I guess it should be possible to do the blocking analysis by measuring BER with additional nRF52 DK as RF source while doing some SPI activity at the same time. But, unfortunately, I have no spectrum analyzer capable to measure TX spurs at GHz range :-(

    Best regards,
    Mishka

Related