8 ms·
Using a tiny HC32L110 ARM chip
- blamazon 5y agoI've always been impressed by sprite's work. A good example of their skill is contained: "Now obviously, the fact that this gives us only 12 of the 16 pads is a bit of a shame. The only way to get those extra pads is to use an extra-expensive PCB manufacturing process that uses either microvias or can route tracks between the pads... or you could cheap out and do something crazy like dead-bugging the chip." Picture: https://meuk.spritesserver.nl/foto/gallery/image/3939/IMG_3566.JPG https://meuk.spritesserver.nl/foto/gallery/image/3939/IMG_35...
- foldr 5y agoIf the four center pads are GPIOs, then you can put a single 0.45mm via (0.2mm drill) in the middle of them and tie them together. That gives you one extra pad at least. I’ve done this before with JLCPCB’s regular process.
- rasz 5y agoGetting some elm-chan vibes http://elm-chan.org/docs/wire/wiring_e.html http://elm-chan.org/docs/wire/wiring_e.html
- buescher 5y agoThat's very nice dead-bug work. I'm surprised he didn't stake the wires or encapsulate the whole thing in glue, but since he brought everything out to tiny LEDs placed between pads, maybe staking was neither necessary nor convenient.
- throwaway81523 5y agoVery nice, and great that cheap PCB fab can now do small enough lines to reach the individual pads of these chips, at least in the outer ring. Some of them are set up so that the inner pads are grounds anyway, so less important. I wonder if affordable PCB fab will get to the point of being able to do vias under the chip, and traces between pads, as is apparently currently possible with expensive boards. I'm not a hardware guy but this stuff always interests me.
- ncmncm 5y agoSeems like the solder pad for an interior ball could double as the via to an inner PCB layer? Then you only need traces to the outer balls, at the surface.
- throwaway81523 5y agoIt would have to be multiple interior balls since the min via size is larger than the distance between pads. Thus the hope that future cheap board fab can make smaller vias. I also see some parts in 3x3mm QFN packages which is nice and small while still hand workable, but it seems like chip vendors would rather have large numbers of pins. For my own purposes I usually don't want that many and would rather keep the package small.
- ncmncm 5y agoIt doesn't matter if the via size is bigger than the distance between pads, or the ball, if in fact the via does not need to be there. All that does matter is whether the via is bigger than the ball sitting on top of it, and enough so to touch the next ball over.
- Sprite_tm 5y agoNote that for mass production, you can't put a 'standard' via directly under a BGA/WCSP ball, as the via will 'suck away' the BGA ball via capillary action. You'd need to ask the board house to plug the via, which likely brings it into the 'expensive' range of things again.
- ncmncm 5y agoOK, reading more carefully, I see that the actual minimum via diameter on that board process is too big. It is sort of understandable if they need room for the interior plating. That is very tiny!
- dotancohen 5y ago
- ncmncm 5y agoAmazing. I love all posts like this.
- zibzab 5y agoLooks interesting, although I am not sure if it is worth the trouble for hobbyist who can buy similar SOCs in much more friendly packages. A commenter compalined about his "negative and accusatory language". Where does he see that?
- foldr 5y agoI think it's phrases like "some shady Chinese-language Windows-program". There are hints of a certain kind of English language chauvinism throughout the article. It's not surprising that a Chinese product aimed at the Chinese market is documented in Chinese. This doesn't make it obscure or shady. As an imaginative exercise, try replacing 'Chinese' with English/American and see how the article reads.
- Sprite_tm 5y agoFWIW, I'm more concerned with the fact that it's a Windows program (the closed-source-ness and seeming unavailability of the programming protocol makes it shady, imo) rather than it being Chinese. I'll modify the text a bit to reflect that.
- sergiomattei 5y agoI personally read it as less of an English-supremacist stance, more of a general distrust of Chinese institutions.
- ClumsyPilot 5y agoStill seems unfair - surely you shouldn't consider every Chinese company and person an extention of CCP? If one called this program glitchy, sloppily, poorly written, or incomprehensible, we could discuss it in it's merit, and perhaps compare it against it's equivalents. Shady implies criminality, it installs spyware and steals your bitcoins - and thats quite unlikely given how limited the audience of such a tool would be.
- nick__m 5y ago
- antattack 5y agoToo bad that the chip's price is not tiny. $0.5 per HC32L110 seems pretty expensive given that RP2040 is $1. Nonetheless, it is an interesting read. Btw, Is Sprite_tm still working at Espressif? I always wondered why Espressiv have not produced a cut-down, cheaper version of their Extensa or RISC-V based MCU. RP2040 is eating their lunch at the low end.
- throwaway4good 5y agoI think 5 yuan is the sample price. Surely this thing can get very cheap.
- fermuch 5y agoI've been using ESP for a while and they are trying things with RISC, and might eventually be lower cost. Does the rp2040 have wifi and bt?
- antattack 5y agoEspressif problem is that their various mcus are very similar in features and for a long time lacked USB which, for example made a RP2040 great for micropython where as circuitpython (adafruits version of micropython) dropped support for ESP32. Realtek, NordicSemi and rpi seem to be catching up to them in the hobby-space area.
- ncmncm 5y agoAt one time Espressif chips were said to have real problems operating at, and reliably coming out of, extra-low power states. Is that still true?
- antattack 5y agoComing out of low power state (via pin or timer) has never been a problem. Until recently (March 2021) there was a problem turning off the 2.4GHz radio so it actually stopped using power.
- 5y ago
- fps-hero 5y ago> Well... that's not necessarily true. For instance, even the cheapest 2-layer process that JLCPCB offers is capable of 0.127mm tracks spaced 0.127mm apart... which means you can lay down tracks at a minimum of 0.254mm apart. That's good enough to connect to pads with a 0.35mm pitch. The fence post error of PCBs, you need 4x the minimum spacing / trace width to breakout without vias. 1x trace, two spaces, and half a trace on both sides to match your BGA pitch. Best you can do on JLC is a 2 row 0.5mm breakout without resorting to tricks. You really need 0.1mm capability for these tiny pitches. Edit: Just double checked JLC, their 4 layer does offer full 0.09mm capability, which is new! It use to only be the outer layers that could be 0.09mm, and 0.127 on inner layers. You can actually do a proper 0.8mm BGA breakout now, and 1mm pitch is child’s play now, you can fit two traces between vias.
- Sprite_tm 5y agoCan you elaborate that? For each BGA ball, I need one trace width of trace, plus one spacing width to the next trace, right? There's a space on the other side as well, but that's already 'provided' by the trace above. Or do you mean if you want to connect to both the outer as well as the inner layer of balls? Then you'd be right I think, but that was not what I meant; I only calculated the spacing to connect to the outer layer and nothing more.
- fps-hero 5y agoThe best reference I can point to is the Xilinx bga pdf in google. Basically, for given capability (geometry really) there are only certain ways of breaking out pads. You can either fit multiple (luxury of process), one, or zero traces between vias and pads. And as a result of this, you need xTimes PCB layers to effectively breakout BGAs given there ball depth. Simple chip scale bgas can be broken out one layer, but the geometry requires capabilities that only multi layer process provides. The real takeaway is JLCPCB just got a whole lot more competitive with there 6 layer service. 0.2/0.4 vias, 0.1 trace/space is the holy grail. Anything smaller geometry than that you need board house support, and a finely tuned assembly process.
- thrtythreeforty 5y ago
- fps-hero 5y ago> Also note that I only used the small trace size to get to the pads, where it's actually necessary: as any trace that is close to the limits of the board houses capabilities has a chance of not being manufactured correctly, I tried using as little trace length that is minimum-width as possible. I wish we could stop repeating this fallacy. It simply isn’t true. You can specify 100% e-testing if you are that concerned. I’ve had thousands of prototypes PCBs made, and only two failures I can remember, both were from under etching. Never had a NC on a trace running at specified capability.
- Sprite_tm 5y agoYou're probably right if you do professional runs. This is the few-bucks mass-production who-cares-its-cheap-as-borscht-anyway process we're talking about; it usually comes with 50% e-testing and I actually have a panelized PCB with traces very close to the minimum come back with a few of the PCBs crossed out. The question then becomes: what about the traces that just made it? Can I run any current through it, will they deteriorate over time? Hence my choice to (advise to) beef up the traces a bit.
- fps-hero 5y agoIf your getting X’s, why bother? Every PCB place I’ve dealt with tells you test rate and success rate (nominal 95% not factoring in specifics of the PCB). For a prototype run, you are effective guaranteed 4.95x good PCB out of 5 Minimum order. 50% e testing means you still got two out of five.
- TomVDB 5y agoYour “every place” doesn’t fall in the same bin as JLCPCB or PCBWay and similar outfits. I’ve done tons of PCB prototypes at JLCPCB and all you’ll ever receive is blue box, a plastic bag with the PCBs and sometimes a keychain. There’s never a test report. That’s why it $2 for 5 PCB, shipped to you within 48 hours after placing the order.
- baybal2 5y ago