- Announcement about May 10th, 2018 update and your password.
Assembly - Main RAM access
I'm fairly new to this. I'm sure it's been answered somewhere, but I can't find it.
My ultimate goal is to sample audio input and store it in Main RAM so it can be later used to send to a speaker, saved to SDcard, etc.
I understand how to pass an address to the cog and write a single value back to it. However, what I'm needing is an array of hundreds or thousands of samples. How to I set up an an array in Spin that I can then send the address of to the assembly cog to do this sampling, and how to I address and write the sampled values back to main RAM?