Hardware-ize a VST (attempt1)

...and how to do so...
User avatar
antto
KVRAF
2522 posts since 4 Sep, 2006 from 127.0.0.1

Post Sat Jan 04, 2020 5:28 am

well, here we go, waiting for the PCBs and components to arive, no code yet

Image

- cortex M4F, 120MHz 1024K flash, 256K RAM (atsame54n20a)
- PCM3060 stereo audio codec, 96kHz

this is just a test board for now.. because it might not work, it might explode.. who knows

the goal is to port vb303 into this thing
there are many technical unknowns, so i've omitted the sequencer (there's less unknowns there), and i've added the possibility to use the actual original way to obtain the square waveform on this thing, which explains the bunch of components on the left side of the codec.. basically i should be able to run the ramp wave out of one channel, DC coupled, feed it into the magical square waveshaper, and then get the output back into the chip
so i guess this makes it technically a DSP/analog hybrid
the two pots on the left, and the buttons are temporary, for developement and calibration purposes, they will be gone
the other pots and four trimpots are the "parameters", going to ADCs, also the slide switch which is just logic signals (waveform switch)
there's also logic inputs for feeding pitch (6bit), gate/slide/accent from outside, so in theory i could inject those from my x0xb0x sequencer
and there's audio input (mix-in) which also goes into the chip

if this works, there would be a new board, with sequencer and everything
wish me luck :hihi:
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!

irc.freenode.net >>> #kvr

User avatar
antto
KVRAF
2522 posts since 4 Sep, 2006 from 127.0.0.1

Re: Hardware-ize a VST (attempt1)

Post Tue Jan 07, 2020 11:27 am

Image
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!

irc.freenode.net >>> #kvr

User avatar
antto
KVRAF
2522 posts since 4 Sep, 2006 from 127.0.0.1

Re: Hardware-ize a VST (attempt1)

Post Mon Jan 13, 2020 11:56 am

soldering
Image
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!

irc.freenode.net >>> #kvr

User avatar
nix808
KVRAF
4126 posts since 22 Jul, 2006 from Tasmania, Australia

Re: Hardware-ize a VST (attempt1)

Post Mon Jan 13, 2020 2:50 pm

awesome antto!
keep us up to date with the intrinsics,
may the flux capacitor be with u

User avatar
donkey tugger
Boss Lovin' DR
6762 posts since 15 Mar, 2002 from the grimness of yorkshire

Re: Hardware-ize a VST (attempt1)

Post Mon Jan 13, 2020 3:11 pm

antto wrote:
Sat Jan 04, 2020 5:28 am


because it might not work, it might explode.. who knows

:lol: Love it! ..and good luck..

User avatar
antto
KVRAF
2522 posts since 4 Sep, 2006 from 127.0.0.1

Re: Hardware-ize a VST (attempt1)

Post Sat Jan 18, 2020 3:14 am

Image
Image
Image
https://www.youtube.com/watch?v=fhLDsD7NTjY

it's time to try and blink an LED
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!

irc.freenode.net >>> #kvr

User avatar
Distorted Horizon
KVRAF
3429 posts since 17 Jan, 2017 from Planet of cats

Re: Hardware-ize a VST (attempt1)

Post Sat Jan 18, 2020 4:53 am

Nice 1 :clap:

User avatar
justin3am
KVRAF
10984 posts since 7 May, 2006 from Southern California

Re: Hardware-ize a VST (attempt1)

Post Sat Jan 18, 2020 8:28 am

That looks really clean considering you are soldering by hand! Especially those QFN packages. Great work!

xtp
KVRian
876 posts since 4 Jun, 2006

Re: Hardware-ize a VST (attempt1)

Post Wed Jan 22, 2020 8:05 pm

:) Wow . . . Awesome!

I have the shakes too much these days to even consider soldering smd, through-hole is bad enough.

User avatar
antto
KVRAF
2522 posts since 4 Sep, 2006 from 127.0.0.1

Re: Hardware-ize a VST (attempt1)

Post Thu Jan 23, 2020 10:29 am

bluh, it turns out the programmer i bought won't work with this chip in my setup (debian / openocd)
much sux, very meh
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!

irc.freenode.net >>> #kvr

User avatar
nix808
KVRAF
4126 posts since 22 Jul, 2006 from Tasmania, Australia

Re: Hardware-ize a VST (attempt1)

Post Sat Jan 25, 2020 8:22 pm

damn antto,
best made plans of mice and men

can u change chips or programmers- darn

User avatar
antto
KVRAF
2522 posts since 4 Sep, 2006 from 127.0.0.1

Re: Hardware-ize a VST (attempt1)

Post Sun Jan 26, 2020 5:09 am

nah, if i change the chip then i'd have to throw away the board, i bought a different programmer now, waiting for it to arive

meanwhile, another soldering video
https://www.youtube.com/watch?v=1EcXL-3mMHw
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!

irc.freenode.net >>> #kvr

User avatar
antto
KVRAF
2522 posts since 4 Sep, 2006 from 127.0.0.1

Re: Hardware-ize a VST (attempt1)

Post Sat Feb 22, 2020 2:45 am

well, i ordered an inexpensive clone of a programmer from ebay, according to other people, these are usable
however, when i opened it, it is actually not the item from the ebay description, but the picture, which is not a programmer but a usb-to-serial adapter.. so.. 1 month lost :evil:
now i ordered a more legit-looking programmer from poland (not via ebay or anything) grr

so what i learnt: chip vendors will probably not let you have a cheap programmer that also works with other vendors' chips
stlink3(mini) is nice and cheap but is locked to ST chips only
so, before investing money and time into a programmer, read the documents, ask around, ask the vendor

i went for a CMSIS-DAP/DAPlink based programmer.. these should work with any cortex M chip from any vendor, as long as openocd "knows" the chip (afaik)
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!

irc.freenode.net >>> #kvr

kvotchin
KVRist
356 posts since 9 Aug, 2018

Re: Hardware-ize a VST (attempt1)

Post Fri Feb 28, 2020 9:07 pm

So very cool. Keen for more updates! :tu:
babyface pro, i7, 16gb, win10, reaper, ableton

User avatar
antto
KVRAF
2522 posts since 4 Sep, 2006 from 127.0.0.1

Re: Hardware-ize a VST (attempt1)

Post Sat Feb 29, 2020 5:55 am

Image

LED blinking
DAP-based programmer + openOCD + gdb-multiarch + Code::Blocks + arm-none-eabi-gcc
it seems the atmel-start generated code works, at least the clock setup seems to work
i use both external crystals - 12MHz to derive most of the clocks needed internally (120MHz, 96MHz, 12MHz) and 24.576MHz for the audio stuff
now it's time to populate some more things on the board
It doesn't matter how it sounds..
..as long as it has BASS and it's LOUD!

irc.freenode.net >>> #kvr

Return to “DIY: Build it and they will come”