ΣSigmaStudio Ask AI Русский Log in

HardClip parameter traffic

SigmaDSP & SigmaStudio MagicRuB Feb 3, 2011 00:00 3 replies Original on forum ↗
Subscribe
MagicRuB Question
Feb 3, 2011 00:00

SigmaStudio 3.3 and ADAU144x

When changing a value on the Clipper->HardClip->StanardClip the Capture window shows two 8 byte writes with the same data. Is this intentional? If so, do I need to do this too from my uP?

Audio Signal Processors

clip

adau1446

microcontroller

adau1442

hard

adau1445

sigmastudio

SigmaDSP Audio Processors

hardclip

3.3

Show More

ADIApproved Reply
Feb 3, 2011 00:00

When I use a hard clip cell with one channel in, one channel out, I'm seeing a normal 8-byte write; no duplicates.

However, when I grow the algorithm to two channels, I see what you're seeing... A duplicate write to the same address with the same data.

This is definitely not necessary and you shouldn't emulate it in your micro code. I'll report it to the software team. Thanks for pointing it out!

b55fb889352875105c44388b919cdb21.jpg
b55fb889352875105c44388b919cdb21.jpg
b55fb889352875105c44388b919cdb21.jpg-450x36.jpg
b55fb889352875105c44388b919cdb21.jpg-450x36.jpg
d0d5baaccef9d18127dc1c7856a8c042.jpg
d0d5baaccef9d18127dc1c7856a8c042.jpg
d0d5baaccef9d18127dc1c7856a8c042.jpg-450x61.jpg
d0d5baaccef9d18127dc1c7856a8c042.jpg-450x61.jpg
MagicRuB Reply
Feb 3, 2011 00:00

I suppose that leads me to my second question: Does it have to be an 8 byte write?

I see that the export data has those two data fields as two (always consecutive) addresses /w normal 4 byte data. It's treated as if the two fields are one entity when really they're probably two separate consecutive items, like a 2:1 mux. Other than the obvious speed benefit of writing the bigger block, is there any downside to doing two 4 byte transfers like normal?

ADIApproved Reply
Feb 4, 2011 00:00

No, it doesn't have to be 8 bytes. There are 4 bytes for the upper limit and 4 bytes for the lower limit. You can write these independently from each other. However, if you happen to write the first 4 bytes in one audio frame and the second 4 bytes in the following audio frame, you'll have one frame where the audio output might not match your expectations.

The new formatting for the help file, which is currently only being used for new cells but will be used to revise the documentation on all other cells, will make the function and use of each stored parameter more clear.