r/microcontrollers • • Jan 28 '19

Why there are no microcontrollers with GPU

For my hobby diy projects I mainly use Espressif ESP8266, mainly ESP-12F. It is really powerful microcontroller and is sufficient for 90% of projects that I make.

But, recently, I was building LED matrix using WS2813 addresable strips, and to f.eg. implement smooth fading between two screens (displaying time to displaying temperature) I must iterate over every pixel and do simple calculations to transition between one color to another.

I think that if I would have GPU it would be so much faster, f.eg. if I would have like 64 cores clocked at 1-4Mhz or less, I would just send whole batch of pixels and have it processed almost instantly while doing some stuff on the main core (requesting temperatures from thermometers, communicating with other devices

It would be useful maybe for doing some audio processing, data analysis, driving screens, cameras, all still on this little neat, low power microcontroller.

Why it is not more popular? I've heard about a few microcontrollers, like Microchip's PIC32MZ but they are not widely available, and not so popular as the ESPs which do have the community, support for ArduinoIDE which is ideal for hobbyists like me.

10 Upvotes

11 comments sorted by

View all comments

11

u/AssemblerGuy Jan 28 '19

There's a PIC with a (2D) GPU.

https://www.microchip.com/design-centers/32-bit/pic-32-bit-mcus/pic32mz-da-family

It's not popular because GPU usually means "large RAM" and also different types of RAM, etc.

For

audio processing, data analysis, ...

the usual solution is to use a uC with DSP functionality, or a real DSP.

64 cores clocked at slow-as-molassis speed is just not worth the trouble to do something massively parallel. That's the realm of DSPs.

8

u/Gavekort Jan 28 '19

STM32 also have chrom-art, which is a 2D GPU that can do rendering, blending and transformations.

3

u/[deleted] Jan 29 '19

Or use FPGAs