Is it possible to halt the Sigma DSP core based on a user defined condition? Is there any facility for collecting realtime data that can be analyzed later?
There's no way in the current architectures to initiate a register write from the DSP core itself. That functionality will be available in future hardware generations.
Since the user is abstracted from the assembly code via the SigmaStudio GUI, I don't see why it would be necessary to use breakpoints to halt the core mid-frame.
It is possible, however, to initiate a software mute based on user defined conditions. You just need to use an index-selectable multiplexer as the last step in your signal chain before the outputs. One set of inputs will be the audio signal, the other set will be a DC Source set to zero. You can create some logic and route that signal to the index pin so if the condition is true, the mux will switch to the DC source.
If you have an eval board with digital I/O, you can connect that to a digital audio interface to the PC and record the audio in real-time coming off the board. If you set the audio interface as master and set up the board so that it slaves to the PC, you'll get synchronous, sample-accurate recording of the data coming off the board. This isn't just limited to audio signals - you could record logic signals as well.
Halting the core (and the codec and memory clocks) would be useful in order to inspect some data at the occurance of an anomoly such as the one I'm having. This is not a mute issue.
Also, I was not able to respond to your message via the link provided...
Now I understand your situation. Unfortunately, there's currently no debugging functionality built in to SigmaStudio.
Retrieving data ...