7 ms·
Pretty much every microSD card has had an ARM cpu core in it since forever. The Bluetooth radio chip in your phone and the RF chip in your car's key fob alread
by ChuckNorris89 6y ago
Pretty much every microSD card has had an ARM cpu core in it since forever.
The Bluetooth radio chip in your phone and the RF chip in your car's key fob already have multicore CPUs inside.
Even your optical mouse has a multicore CPU in it to handle image processing and translate the optical feed into motion packaged into USB HID frames.
Your fast phone charger has a CPU in it to monitor and negociate power delivery to not burn down your house.
Even your basic budget electric toothbrush has a 4-bit CPU inside it made by Swatch.
CPUs cores are in everything these days [happy NSA noises]
- userbinator 6y agoPretty much every microSD card has had an ARM cpu core in it since forever A lot of them use 8051, presumably because it's cheaper and smaller: https://www.bunniestudios.com/blog/?p=3554 https://www.bunniestudios.com/blog/?p=3554
- ChuckNorris89 6y agoThe older ones for sure, but all the modern ones have moved to ARM7-TDMI then to Cortex-Mx cores.
- makomk 6y agoSome of the more, ah, cost-reduced Bluetooth chips have 8051s or all kinds of weird, proprietary processors, presumably because the per-chip licensing fee for ARM is too much at that end of the market or something.
- consp 6y agoI've worked with TI BLE chips which were 8051 variants. Took me back to original CS classes as it is a very simple core with limited registers but can still be used to perform all the bluetooth functions.
- trevyn 6y agoIIRC, the BLE stack on those was a separate (undocumented?) core; the 8051 was for user software that gave high-level commands to the BLE block through magic registers. Still fun to program, for sure.
- bb123 6y agoThis fascinates me. Is there a website anywhere that is collecting these sorts of use cases? It seems truly mind blowing something as simple as an electric toothbrush would have a processor in it.
- lmilcin 6y agoNothing mind blowing. Processor is cheaper than building analog circuitry. Think about your toothbrush. All important timing parameters are configured digitally and you can easily change it. You can technically do the same with resonators but it would take much more board space, be less precise, require inductors which you want to avoid in the circuit, etc.
- amelius 6y agoYou still need to provide the cpu with a clock signal though.
- lmilcin 6y agoNo, not really. The STM32s I use (I mainly work with Cortex-M4) have internal resonators that are enough for just about anything unless you need precise timing. Certainly good enough for toothbrush.
- rcxdude 6y agoyeah, almost all microprocessors in that price/power bracket have on-board oscillators, because it saves power, money, and space if you don't need a precise reference.
- amelius 6y agoHow would you explain this part of your argument then: > You can technically do the same with resonators but it would take much more board space, be less precise, require inductors which you want to avoid in the circuit, etc.
- lmilcin 6y agoI am right now making backlight with RGB LEDs for my monitors. It is going to have Cortex-M4 ARM in it. I put into just about everything I build these days regardless of how small it is.
- unilynx 6y agoNow I'm curious about the things you're building. They wouldn't happen to be on a blog somewhere?
- lmilcin 6y agoNo, I don't have a blog. These are just my private projects that I make for my own use. I am working as a software developer and learning electronics as a hobby. The backlight is going to be a box supplied directly from AC, connecting up to 6 strips of individually addressable WS2812 RGB LEDs, providing up to 10A at 5V (50mA per LED == 200 LEDs at full power). It will be connected using galvanically isolated Full-Speed USB to the PC. For now I will have some pre-programmed sequences but I plan to make a piece of software that will make it possible to match LEDs to the borders of image on the screen though I have no idea how to do that at the moment.
- aftbit 6y agoI've also been playing with WS2812 LEDs as ambient/halo lighting around my monitor. I'm using a cheap ESP-32 dev board to allow control from my phone via WiFi even when my computer is asleep. I went much smaller though - only 16 pixels, powered by an old phone charger. This works for now because my primary use-case is ambient lighting when the room would otherwise be dark. I'm planning to build some larger-scale higher-density light panels to provide more illumination for those dark winter days.
- alexhutcheson 6y agoIs there a specific dev board with a Cortex-M4 that you like to use, or does it vary by project?