Comment by ErroneousBosh
8 days ago
It's got a UART, it's got a PWM, it's really fast, and it's got masses of memory. I'd build a really tiny synthesizer, port my Juno 106 plugin's voice engine to it.
But like *really* tiny.
8 days ago
It's got a UART, it's got a PWM, it's really fast, and it's got masses of memory. I'd build a really tiny synthesizer, port my Juno 106 plugin's voice engine to it.
But like *really* tiny.
"Masses" of memory, it does not have. Sufficient to the task for synthesis? Maybe, if you do a fair bit of assembly ..
I don't know anything about synths, but the M0 architecture is designed to run the program out of flash, I think? So 16KB is quite a bit.
1KB is surely enough to store synthesizer patches. Several, probably.
You need a few dozen bytes of storage per voice, like four bytes for the phase accumulator (uint32_t), another four for the current pitch offset that gets added, and so on.
It all adds up, especially if you want to implement a ladder filter properly.
It's got 16kB of flash and 1kB of RAM, that's plenty.
The original Intel 8051 was 4k EROM and 128B of RAM and set the world on fire with its applications.
16kB Flash and 1kB SRAM is plenty.
-------
However, the analog capabilities of this thing are nearly trash. One ADC?? No comparators? No OpAmps? Ehhhhhhhh, this is really bare bones by modern standards.
Modern cheap chips differentiate themselves with how many analog components they stuff into one package so that they are easily used in a wide variety of situations.
The only real feature offered here is size. Which is impressive but definitely limiting compared to the rest of TI's MSPM0 (or even MSP430) lineup.
The best this MSPM0-C seems to be able to do, is ADC input -> PWM output. Which is... the bare minimum necessary for mixed signal control.
Resistor+capacitor for anti aliasing on input, resistor+capacitor (smooth the PWM) + transistor for output, and yeah we have a true system with feedback here. But it won't be as reliable or quick as other tools (comparators, OpAmps, or the like)