3 ms·
I mean... a microcontroller has only one 'loop'. If you don't want to 'block' it, you either 1) use external devices, i.e. a synth chip or 2) compose the multip
by virgil_disgr4ce 6y ago
I mean... a microcontroller has only one 'loop'. If you don't want to 'block' it, you either 1) use external devices, i.e. a synth chip or 2) compose the multiple notes you want into one signal. If you're doing PWM only then option 2 will rapidly start to present interesting challenges.
- chabes 6y agoSome MCUs have multiple cores
- makapuf 6y agoBut those dual core are generally way more powerful that a cortex m4 at 100mhz with a dac, where pwm gen is not necessary.
- GeorgeTirebiter 6y agoCounter/Timer peripherals on even low-end chips can help here.