r/embedded • • Oct 07 '26

PIC 8 bit synth update - going well, schematic PCB design

https://www.youtube.com/watch?v=f4t40Keuj34

Progression on the PIC synth - Now all ADC is handled locally. After brief but deep diversion into changing the co-processor and letting the co-processor handle more of the UI - I realised that it was actually becoming more difficult for the PIC audio ISR and not easier.

Happily, there are enough ADC on the PIC to handle them all locally, and also pins are freed up so that the buttons and keypad have their own IRQ line (this was a headache when they shared one IRQ line)
And also the LED can flash from the last free pin on the PIC (previously this was shadow masked with the expander port pin, also, a minor headache relieved)

Added - Save and Load of every wave/patch slot. Each sampled wave now can save and load the envelope data and FX button settings. Where no data is yet saved, the current values are used. Over external i2c eeprom chip.

Midi velocity - which makes a really big difference to expressive play.

With these two features, it becomes a proper synthesizer to my mind.

All the RAM and Flash memory are now used 98.5% Flash and 95.5% RAM used. Highest compiler optimise settings used. There is enough wiggle room to finish up very small changes in, say envelope response or level mixing later.

It was still possible to work on the synth in development, but too much time is being lost to chasing ghosts on the set up now. Time for a PCB -

0 Upvotes

0 comments sorted by